diff options
author | madpilot <madpilot@FreeBSD.org> | 2014-06-18 03:22:50 +0800 |
---|---|---|
committer | madpilot <madpilot@FreeBSD.org> | 2014-06-18 03:22:50 +0800 |
commit | e66d9c3684fbcc281e504dc15feed5901d961c58 (patch) | |
tree | e848fb28cb7ce7dadb8a7b70e6672b058dff89b7 /games | |
parent | 7e012ee823dc5682686bbb9b3b5b90d08e5aec67 (diff) | |
download | freebsd-ports-gnome-e66d9c3684fbcc281e504dc15feed5901d961c58.tar.gz freebsd-ports-gnome-e66d9c3684fbcc281e504dc15feed5901d961c58.tar.zst freebsd-ports-gnome-e66d9c3684fbcc281e504dc15feed5901d961c58.zip |
Stagify
Approved by: gmarco@gufi.org (maintainer)
Diffstat (limited to 'games')
-rw-r--r-- | games/xtet42/Makefile | 23 | ||||
-rw-r--r-- | games/xtet42/pkg-plist | 6 |
2 files changed, 16 insertions, 13 deletions
diff --git a/games/xtet42/Makefile b/games/xtet42/Makefile index 5b8ffc4f814e..649ca0b61a81 100644 --- a/games/xtet42/Makefile +++ b/games/xtet42/Makefile @@ -3,7 +3,7 @@ PORTNAME= xtet42 PORTVERSION= 2.21 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= games MASTER_SITES= http://utenti.gufi.org/~gmarco/files/distfiles/ @@ -14,22 +14,19 @@ GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-setgid=games USE_XORG= x11 -MAN6= xtet42.6 - -NO_STAGE= yes post-patch: @${REINPLACE_CMD} -e 's,^hiscoredir.*,hiscoredir=${DATADIR},' \ ${WRKSRC}/Makefile.in do-install: - ${MKDIR} ${DATADIR} - @${CHOWN} root:games ${DATADIR} - @${CHMOD} 775 ${DATADIR} - ${INSTALL} -c -m 2755 -g games ${WRKSRC}/xtet42 ${PREFIX}/bin - ${INSTALL} -c -m 664 -g games ${WRKSRC}/xtet42.hiscore ${DATADIR}/.xtet42.hiscore - ${INSTALL} -c -m 664 -g games ${WRKSRC}/xtet42.hiscore.single ${DATADIR}/.xtet42.hiscore.single - ${INSTALL} -c -m 664 -g games /dev/null ${DATADIR}/.xtet42.unlock - ${INSTALL} -c -m 664 -g games /dev/null ${DATADIR}/.xtet42.log - ${INSTALL_MAN} ${WRKSRC}/xtet42.6 ${MANPREFIX}/man/man6 + ${MKDIR} ${STAGEDIR}${DATADIR} + @${CHMOD} 775 ${STAGEDIR}${DATADIR} + @${STRIP_CMD} ${WRKSRC}/xtet42 + ${INSTALL} -c -m 755 ${WRKSRC}/xtet42 ${STAGEDIR}${PREFIX}/bin + ${INSTALL} -c -m 664 ${WRKSRC}/xtet42.hiscore ${STAGEDIR}${DATADIR}/.xtet42.hiscore + ${INSTALL} -c -m 664 ${WRKSRC}/xtet42.hiscore.single ${STAGEDIR}${DATADIR}/.xtet42.hiscore.single + ${INSTALL} -c -m 664 /dev/null ${STAGEDIR}${DATADIR}/.xtet42.unlock + ${INSTALL} -c -m 664 /dev/null ${STAGEDIR}${DATADIR}/.xtet42.log + ${INSTALL_MAN} ${WRKSRC}/xtet42.6 ${STAGEDIR}${MANPREFIX}/man/man6 .include <bsd.port.mk> diff --git a/games/xtet42/pkg-plist b/games/xtet42/pkg-plist index 7ab51b07bd8f..9ad304c2fe29 100644 --- a/games/xtet42/pkg-plist +++ b/games/xtet42/pkg-plist @@ -1,6 +1,12 @@ +man/man6/xtet42.6.gz +@group games +@mode 2755 bin/xtet42 +@mode 664 %%DATADIR%%/.xtet42.hiscore.single %%DATADIR%%/.xtet42.hiscore %%DATADIR%%/.xtet42.unlock %%DATADIR%%/.xtet42.log +@mode 775 +@exec install -d -o root -g games -m 755 %D/%%DATADIR%% @dirrm %%DATADIR%% |