aboutsummaryrefslogtreecommitdiffstats
path: root/games/gru
diff options
context:
space:
mode:
Diffstat (limited to 'games/gru')
-rw-r--r--games/gru/Makefile12
-rw-r--r--games/gru/pkg-plist5
2 files changed, 7 insertions, 10 deletions
diff --git a/games/gru/Makefile b/games/gru/Makefile
index 21ae0d80e996..6a9274a3b286 100644
--- a/games/gru/Makefile
+++ b/games/gru/Makefile
@@ -13,16 +13,12 @@ COMMENT= Gru makes your eyes happy
USES= imake
USE_XORG= x11 xext xmu xpm xaw xt sm ice
-MAN1= gru.1
+OPTIONS_DEFINE= DOCS
-NO_STAGE= yes
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MDOCS}
DOCSDIR= ${PREFIX}/share/doc/ja/gru
+
post-install:
- ${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/README.jp ${DOCSDIR}
-.endif
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README.jp ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
diff --git a/games/gru/pkg-plist b/games/gru/pkg-plist
index e25526421f2e..d1de988b3e1f 100644
--- a/games/gru/pkg-plist
+++ b/games/gru/pkg-plist
@@ -1,3 +1,4 @@
bin/gru
-%%PORTDOCS%%share/doc/ja/gru/README.jp
-%%PORTDOCS%%@dirrm share/doc/ja/gru
+man/man1/gru.1.gz
+%%PORTDOCS%%%%DOCSDIR%%/README.jp
+%%PORTDOCS%%@dirrmtry %%DOCSDIR%%