aboutsummaryrefslogtreecommitdiff
path: root/games/xtet42
diff options
context:
space:
mode:
authorGuido Falsi <madpilot@FreeBSD.org>2014-06-17 19:22:50 +0000
committerGuido Falsi <madpilot@FreeBSD.org>2014-06-17 19:22:50 +0000
commit82c80d4504c924051ff49185a8e08be7f5347ac6 (patch)
treee848fb28cb7ce7dadb8a7b70e6672b058dff89b7 /games/xtet42
parent33030eab09c45c6ac2ed6dc95f52853e1298ed4a (diff)
downloadports-82c80d4504c924051ff49185a8e08be7f5347ac6.tar.gz
ports-82c80d4504c924051ff49185a8e08be7f5347ac6.zip
Stagify
Approved by: gmarco@gufi.org (maintainer)
Notes
Notes: svn path=/head/; revision=358162
Diffstat (limited to 'games/xtet42')
-rw-r--r--games/xtet42/Makefile23
-rw-r--r--games/xtet42/pkg-plist6
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%%