diff options
author | danilo <danilo@FreeBSD.org> | 2013-11-02 11:17:03 +0800 |
---|---|---|
committer | danilo <danilo@FreeBSD.org> | 2013-11-02 11:17:03 +0800 |
commit | 1a2ddd0339a790de2410f41002b395f53640320a (patch) | |
tree | 3b5813987ee69c85fe4e41e58f7e7d80d0e82130 /games/gru | |
parent | 788ca19cf949e736f52b96cfe4e49e0910298b30 (diff) | |
download | freebsd-ports-gnome-1a2ddd0339a790de2410f41002b395f53640320a.tar.gz freebsd-ports-gnome-1a2ddd0339a790de2410f41002b395f53640320a.tar.zst freebsd-ports-gnome-1a2ddd0339a790de2410f41002b395f53640320a.zip |
- Add stage support
- Add DOCS option
Diffstat (limited to 'games/gru')
-rw-r--r-- | games/gru/Makefile | 12 | ||||
-rw-r--r-- | games/gru/pkg-plist | 5 |
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%% |