Date: Sat, 2 Nov 2013 03:17:04 +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: r332443 - head/games/gru Message-ID: <201311020317.rA23H40H082315@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: danilo Date: Sat Nov 2 03:17:03 2013 New Revision: 332443 URL: http://svnweb.freebsd.org/changeset/ports/332443 Log: - Add stage support - Add DOCS option Modified: head/games/gru/Makefile head/games/gru/pkg-plist Modified: head/games/gru/Makefile ============================================================================== --- head/games/gru/Makefile Sat Nov 2 03:08:40 2013 (r332442) +++ head/games/gru/Makefile Sat Nov 2 03:17:03 2013 (r332443) @@ -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> Modified: head/games/gru/pkg-plist ============================================================================== --- head/games/gru/pkg-plist Sat Nov 2 03:08:40 2013 (r332442) +++ head/games/gru/pkg-plist Sat Nov 2 03:17:03 2013 (r332443) @@ -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%%
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311020317.rA23H40H082315>