Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Nov 2013 15:06:10 +0000 (UTC)
From:      Danilo Egea Gondolfo <danilo@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r333697 - head/games/xhime
Message-ID:  <201311131506.rADF6AmT072902@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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
-@dirrm %%EXAMPLESDIR%%
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/rh110.xhm
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311131506.rADF6AmT072902>