diff options
author | danilo <danilo@FreeBSD.org> | 2013-10-30 13:43:05 +0800 |
---|---|---|
committer | danilo <danilo@FreeBSD.org> | 2013-10-30 13:43:05 +0800 |
commit | 02413cc7e97664281bbe579359d6ad7e2aff7801 (patch) | |
tree | 9a49a2c132266b244ac412ee72dde60cfdf128a3 /games | |
parent | 033714fa6fc5f1274c20cc82411bc63b7f59a3e7 (diff) | |
download | freebsd-ports-gnome-02413cc7e97664281bbe579359d6ad7e2aff7801.tar.gz freebsd-ports-gnome-02413cc7e97664281bbe579359d6ad7e2aff7801.tar.zst freebsd-ports-gnome-02413cc7e97664281bbe579359d6ad7e2aff7801.zip |
- Add stage support
Diffstat (limited to 'games')
-rw-r--r-- | games/block/Makefile | 14 | ||||
-rw-r--r-- | games/block/pkg-plist | 16 |
2 files changed, 15 insertions, 15 deletions
diff --git a/games/block/Makefile b/games/block/Makefile index 9d254c233376..cb245bffdc16 100644 --- a/games/block/Makefile +++ b/games/block/Makefile @@ -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> diff --git a/games/block/pkg-plist b/games/block/pkg-plist index 496c24472d6e..ffae4f686234 100644 --- a/games/block/pkg-plist +++ b/games/block/pkg-plist @@ -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%% |