svn commit: r333697 - head/games/xhime
Danilo Egea Gondolfo
danilo at FreeBSD.org
Wed Nov 13 15:06:10 UTC 2013
Author: danilo
Date: Wed Nov 13 15:06:09 2013
New Revision: 333697
URL: http://svnweb.freebsd.org/changeset/ports/333697
Log:
- Add DOCS and EXAMPLES options
- Add stage support
Modified:
head/games/xhime/Makefile
head/games/xhime/pkg-plist
Modified: head/games/xhime/Makefile
==============================================================================
--- head/games/xhime/Makefile Wed Nov 13 15:01:13 2013 (r333696)
+++ head/games/xhime/Makefile Wed Nov 13 15:06:09 2013 (r333697)
@@ -14,27 +14,21 @@ COMMENT= Resident Himechan for X Window
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>
Modified: head/games/xhime/pkg-plist
==============================================================================
--- head/games/xhime/pkg-plist Wed Nov 13 15:01:13 2013 (r333696)
+++ head/games/xhime/pkg-plist Wed Nov 13 15:06:09 2013 (r333697)
@@ -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
- at dirrm %%EXAMPLESDIR%%
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/rh110.xhm
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%
More information about the svn-ports-head
mailing list