summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--games/gru/Makefile14
-rw-r--r--games/gru/pkg-plist4
2 files changed, 8 insertions, 10 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>
diff --git a/games/gru/pkg-plist b/games/gru/pkg-plist
index d6089ce3da11..e25526421f2e 100644
--- a/games/gru/pkg-plist
+++ b/games/gru/pkg-plist
@@ -1,3 +1,3 @@
bin/gru
-share/doc/gru_8087/README.jp
-@dirrm share/doc/gru_8087
+%%PORTDOCS%%share/doc/ja/gru/README.jp
+%%PORTDOCS%%@dirrm share/doc/ja/gru