Date: Wed, 30 Oct 2013 05:43:06 +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: r332070 - head/games/block Message-ID: <201310300543.r9U5h6Zq028598@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: danilo Date: Wed Oct 30 05:43:05 2013 New Revision: 332070 URL: http://svnweb.freebsd.org/changeset/ports/332070 Log: - Add stage support Modified: head/games/block/Makefile head/games/block/pkg-plist Modified: head/games/block/Makefile ============================================================================== --- head/games/block/Makefile Wed Oct 30 05:37:56 2013 (r332069) +++ head/games/block/Makefile Wed Oct 30 05:43:05 2013 (r332070) @@ -14,21 +14,19 @@ COMMENT= Small text based maze game WRKSRC= ${WRKDIR}/blocks MAKEFILE= makefile ALL_TARGET= block bed -MAN6= block.6 bed.6 -NO_STAGE= yes post-extract: @${RM} -f ${WRKSRC}/block @${RM} -f ${WRKSRC}/bed do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/block ${PREFIX}/bin - ${INSTALL_PROGRAM} ${WRKSRC}/bed ${PREFIX}/bin - ${INSTALL_MAN} ${WRKSRC}/block.6 ${PREFIX}/man/man6 - ${INSTALL_MAN} ${WRKSRC}/bed.6 ${PREFIX}/man/man6 - @${MKDIR} ${PREFIX}/share/block + ${INSTALL_PROGRAM} ${WRKSRC}/block ${STAGEDIR}${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/bed ${STAGEDIR}${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/block.6 ${STAGEDIR}${MAN6PREFIX}/man/man6 + ${INSTALL_MAN} ${WRKSRC}/bed.6 ${STAGEDIR}${MAN6PREFIX}/man/man6 + @${MKDIR} ${STAGEDIR}${DATADIR} .for file in 1 2 3 4 5 6 - ${INSTALL_DATA} ${WRKSRC}/${file}.block ${PREFIX}/share/block/${file}.block + ${INSTALL_DATA} ${WRKSRC}/${file}.block ${STAGEDIR}${DATADIR}/${file}.block .endfor .include <bsd.port.mk> Modified: head/games/block/pkg-plist ============================================================================== --- head/games/block/pkg-plist Wed Oct 30 05:37:56 2013 (r332069) +++ head/games/block/pkg-plist Wed Oct 30 05:43:05 2013 (r332070) @@ -1,9 +1,11 @@ bin/block bin/bed -share/block/1.block -share/block/2.block -share/block/3.block -share/block/4.block -share/block/5.block -share/block/6.block -@dirrm share/block +man/man6/bed.6.gz +man/man6/block.6.gz +%%DATADIR%%/1.block +%%DATADIR%%/2.block +%%DATADIR%%/3.block +%%DATADIR%%/4.block +%%DATADIR%%/5.block +%%DATADIR%%/6.block +@dirrm %%DATADIR%%
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201310300543.r9U5h6Zq028598>