summaryrefslogtreecommitdiff
path: root/games/gru/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'games/gru/Makefile')
-rw-r--r--games/gru/Makefile14
1 files changed, 6 insertions, 8 deletions
diff --git a/games/gru/Makefile b/games/gru/Makefile
index 5100ae36b353..a7d2c891a751 100644
--- a/games/gru/Makefile
+++ b/games/gru/Makefile
@@ -16,14 +16,12 @@ MAINTAINER= hym@cocoa.freemail.ne.jp
USE_IMAKE= yes
MAN1= gru.1
-MANCOMPRESSED= no
-do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/gru ${PREFIX}/bin
- @cp ${WRKSRC}/gru.man ${WRKSRC}/gru.1
- @${INSTALL_MAN} ${WRKSRC}/gru.1 ${PREFIX}/man/man1
- @${INSTALL_DATA} ${WRKSRC}/gru.1.html ${PREFIX}/lib/X11/doc/html
- @install -d ${PREFIX}/share/doc/gru_8087
- @install -c -m 444 ${WRKSRC}/README.jp ${PREFIX}/share/doc/gru_8087
+.if !defined(NOPORTDOCS)
+DOCSDIR= ${PREFIX}/share/doc/ja/gru
+post-install:
+ ${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README.jp ${DOCSDIR}
+.endif
.include <bsd.port.mk>