Date: Tue, 29 Oct 2013 20:34:55 +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: r331995 - head/games/antipolix Message-ID: <201310292034.r9TKYt2H024458@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: danilo Date: Tue Oct 29 20:34:55 2013 New Revision: 331995 URL: http://svnweb.freebsd.org/changeset/ports/331995 Log: - Add stage support - Add DOCS and EXAMPLES options Modified: head/games/antipolix/Makefile head/games/antipolix/pkg-plist Modified: head/games/antipolix/Makefile ============================================================================== --- head/games/antipolix/Makefile Tue Oct 29 20:32:51 2013 (r331994) +++ head/games/antipolix/Makefile Tue Oct 29 20:34:55 2013 (r331995) @@ -17,23 +17,21 @@ USES= imake USE_XORG= x11 NO_INSTALL_MANPAGES= yes -NO_STAGE= yes -.include <bsd.port.options.mk> +OPTIONS_DEFINE= DOCS EXAMPLES + pre-build: @${TOUCH} ${WRKSRC}/client.man ${WRKSRC}/server.man do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/client ${PREFIX}/bin/antipolix-client - ${INSTALL_PROGRAM} ${WRKSRC}/server ${PREFIX}/bin/antipolix-server - @${MKDIR} ${PREFIX}/share/examples/antipolix - ${INSTALL_DATA} ${WRKSRC}/.motd ${PREFIX}/share/examples/antipolix/dot.motd.sample - ${INSTALL_DATA} ${WRKSRC}/.players ${PREFIX}/share/examples/antipolix/dot.players.sample - ${INSTALL_DATA} ${WRKSRC}/.server_defaults ${PREFIX}/share/examples/antipolix/dot.server_defaults.sample -.if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${PREFIX}/share/doc/antipolix + ${INSTALL_PROGRAM} ${WRKSRC}/client ${STAGEDIR}${PREFIX}/bin/antipolix-client + ${INSTALL_PROGRAM} ${WRKSRC}/server ${STAGEDIR}${PREFIX}/bin/antipolix-server + @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/.motd ${STAGEDIR}${EXAMPLESDIR}/dot.motd.sample + ${INSTALL_DATA} ${WRKSRC}/.players ${STAGEDIR}${EXAMPLESDIR}/dot.players.sample + ${INSTALL_DATA} ${WRKSRC}/.server_defaults ${STAGEDIR}${EXAMPLESDIR}/dot.server_defaults.sample + @${MKDIR} ${STAGEDIR}${DOCSDIR} .for file in ANTIPOLIX_RULES CLIENT_USE COPYRIGHT SERVER_USE - ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/antipolix + ${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR} .endfor -.endif .include <bsd.port.mk> Modified: head/games/antipolix/pkg-plist ============================================================================== --- head/games/antipolix/pkg-plist Tue Oct 29 20:32:51 2013 (r331994) +++ head/games/antipolix/pkg-plist Tue Oct 29 20:34:55 2013 (r331995) @@ -1,11 +1,11 @@ bin/antipolix-client bin/antipolix-server -%%PORTDOCS%%share/doc/antipolix/ANTIPOLIX_RULES -%%PORTDOCS%%share/doc/antipolix/CLIENT_USE -%%PORTDOCS%%share/doc/antipolix/COPYRIGHT -%%PORTDOCS%%share/doc/antipolix/SERVER_USE -share/examples/antipolix/dot.motd.sample -share/examples/antipolix/dot.players.sample -share/examples/antipolix/dot.server_defaults.sample -%%PORTDOCS%%@dirrm share/doc/antipolix -@dirrm share/examples/antipolix +%%PORTDOCS%%%%DOCSDIR%%/ANTIPOLIX_RULES +%%PORTDOCS%%%%DOCSDIR%%/CLIENT_USE +%%PORTDOCS%%%%DOCSDIR%%/COPYRIGHT +%%PORTDOCS%%%%DOCSDIR%%/SERVER_USE +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/dot.motd.sample +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/dot.players.sample +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/dot.server_defaults.sample +%%PORTEXAMPLES%%@dirrmtry %%EXAMPLESDIR%% +%%PORTDOCS%%@dirrmtry %%DOCSDIR%%
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201310292034.r9TKYt2H024458>