aboutsummaryrefslogtreecommitdiff
path: root/games/xhime
diff options
context:
space:
mode:
authorDanilo Egea Gondolfo <danilo@FreeBSD.org>2013-11-13 15:06:09 +0000
committerDanilo Egea Gondolfo <danilo@FreeBSD.org>2013-11-13 15:06:09 +0000
commitf56a764d85036a4b3a26e753f7a6379cdc66bb3d (patch)
treed628aa33b486d9171aa554b38dff6ea0782f698b /games/xhime
parent2037c0529426e393bea1735b5585ff25dc85914c (diff)
downloadports-f56a764d85036a4b3a26e753f7a6379cdc66bb3d.tar.gz
ports-f56a764d85036a4b3a26e753f7a6379cdc66bb3d.zip
Notes
Diffstat (limited to 'games/xhime')
-rw-r--r--games/xhime/Makefile22
-rw-r--r--games/xhime/pkg-plist6
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%%