From owner-svn-ports-all@FreeBSD.ORG Tue Oct 29 20:34:56 2013 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 623757E1; Tue, 29 Oct 2013 20:34:56 +0000 (UTC) (envelope-from danilo@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 3F09924AA; Tue, 29 Oct 2013 20:34:56 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r9TKYu2c024460; Tue, 29 Oct 2013 20:34:56 GMT (envelope-from danilo@svn.freebsd.org) Received: (from danilo@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r9TKYt2H024458; Tue, 29 Oct 2013 20:34:55 GMT (envelope-from danilo@svn.freebsd.org) Message-Id: <201310292034.r9TKYt2H024458@svn.freebsd.org> From: Danilo Egea Gondolfo Date: Tue, 29 Oct 2013 20:34:55 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r331995 - head/games/antipolix X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Oct 2013 20:34:56 -0000 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 +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 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%%