diff options
author | danilo <danilo@FreeBSD.org> | 2013-11-13 23:06:09 +0800 |
---|---|---|
committer | danilo <danilo@FreeBSD.org> | 2013-11-13 23:06:09 +0800 |
commit | 0a95d4846612f2b9ee736722ef5d43f891fc5774 (patch) | |
tree | d628aa33b486d9171aa554b38dff6ea0782f698b | |
parent | 80652794e355874403b1a7171f9297d5a67e9e8f (diff) | |
download | freebsd-ports-gnome-0a95d4846612f2b9ee736722ef5d43f891fc5774.tar.gz freebsd-ports-gnome-0a95d4846612f2b9ee736722ef5d43f891fc5774.tar.zst freebsd-ports-gnome-0a95d4846612f2b9ee736722ef5d43f891fc5774.zip |
- Add DOCS and EXAMPLES options
- Add stage support
-rw-r--r-- | games/xhime/Makefile | 22 | ||||
-rw-r--r-- | games/xhime/pkg-plist | 6 |
2 files changed, 12 insertions, 16 deletions
diff --git a/games/xhime/Makefile b/games/xhime/Makefile index 738daad901d0..1cf974dfbfad 100644 --- a/games/xhime/Makefile +++ b/games/xhime/Makefile @@ -14,27 +14,21 @@ COMMENT= Resident Himechan for X Window System WRKSRC= ${WRKDIR}/xhime1.51 USES= imake USE_XORG= x11 xext -MANCOMPRESSED= yes -MANLANG= . ja -MAN6= xhime.6 -NO_CDROM= 'contains commercial character data' +NO_CDROM= Contains commercial character data -NO_STAGE= yes -.include <bsd.port.options.mk> +OPTIONS_DEFINE= DOCS EXAMPLES post-install: - ${STRIP_CMD} ${PREFIX}/bin/xhime + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/xhime ${INSTALL_MAN} ${WRKSRC}/xhime-man.euc \ - ${PREFIX}/man/ja/man6 - ${MV} ${PREFIX}/man/ja/man6/xhime-man.euc ${PREFIX}/man/ja/man6/xhime.6 - ${GZIP_CMD} ${PREFIX}/man/ja/man6/xhime.6 -.if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${PREFIX}/share/doc/ja/xhime + ${STAGEDIR}${PREFIX}/man/ja/man6 + ${MV} ${STAGEDIR}${PREFIX}/man/ja/man6/xhime-man.euc ${STAGEDIR}${PREFIX}/man/ja/man6/xhime.6 + #${GZIP_CMD} ${STAGEDIR}${PREFIX}/man/ja/man6/xhime.6 + @${MKDIR} ${STAGEDIR}${PREFIX}/share/doc/ja/xhime @(cd ${WRKSRC};\ ${INSTALL_DATA} xhime-doc.euc xhime.doc rh110-doc.euc \ - ${PREFIX}/share/doc/ja/xhime; \ + ${STAGEDIR}${PREFIX}/share/doc/ja/xhime; \ ) -.endif .include <bsd.port.mk> diff --git a/games/xhime/pkg-plist b/games/xhime/pkg-plist index 8139a0f74786..a8823c4bc271 100644 --- a/games/xhime/pkg-plist +++ b/games/xhime/pkg-plist @@ -1,7 +1,9 @@ bin/xhime +man/ja/man6/xhime.6.gz +man/man6/xhime.6.gz %%PORTDOCS%%share/doc/ja/xhime/xhime-doc.euc %%PORTDOCS%%share/doc/ja/xhime/xhime.doc %%PORTDOCS%%share/doc/ja/xhime/rh110-doc.euc %%PORTDOCS%%@dirrm share/doc/ja/xhime -%%EXAMPLESDIR%%/rh110.xhm -@dirrm %%EXAMPLESDIR%% +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/rh110.xhm +%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%% |