diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2014-12-03 21:37:50 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2014-12-03 21:37:50 +0800 |
commit | 5c3f24a02c6cb77e1d335bfe4a5252f5c4bde164 (patch) | |
tree | 7148255c97b3c8dc1d5af8526e533c6dd195304b | |
parent | 9b91c99b5b29b5d757b6be1833c8f044b0f93fb8 (diff) | |
download | freebsd-ports-gnome-5c3f24a02c6cb77e1d335bfe4a5252f5c4bde164.tar.gz freebsd-ports-gnome-5c3f24a02c6cb77e1d335bfe4a5252f5c4bde164.tar.zst freebsd-ports-gnome-5c3f24a02c6cb77e1d335bfe4a5252f5c4bde164.zip |
- Switch highscore handling to @sample
-rw-r--r-- | games/xinvaders/Makefile | 3 | ||||
-rw-r--r-- | games/xinvaders/pkg-plist | 10 |
2 files changed, 4 insertions, 9 deletions
diff --git a/games/xinvaders/Makefile b/games/xinvaders/Makefile index 7a4999b88172..74da16909ff9 100644 --- a/games/xinvaders/Makefile +++ b/games/xinvaders/Makefile @@ -34,6 +34,7 @@ post-install: ${STAGEDIR}${PREFIX}/lib/X11/app-defaults/Vaders) (cd ${WRKSRC} && ${INSTALL_DATA} icon.xpm \ ${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}.xpm) - @${MKDIR} ${STAGEDIR}${DATADIR} + ${MKDIR} ${STAGEDIR}/var/games + ${ECHO_CMD} "0" > ${STAGEDIR}/var/games/xinvaders.scores.sample .include <bsd.port.mk> diff --git a/games/xinvaders/pkg-plist b/games/xinvaders/pkg-plist index ba80e1004825..833e9ca6fc84 100644 --- a/games/xinvaders/pkg-plist +++ b/games/xinvaders/pkg-plist @@ -1,12 +1,6 @@ -@group games -@mode 2555 -bin/xinvaders -@mode -@group +@(,games,2555) bin/xinvaders lib/X11/app-defaults/Vaders man/man6/xinvaders.6.gz share/locale/es/LC_MESSAGES/xinvaders.mo share/pixmaps/xinvaders.xpm -@exec if [ ! -e /var/games/xinvaders.scores ]; then echo "0" > /var/games/xinvaders.scores; fi -@exec chmod 0660 /var/games/xinvaders.scores -@exec chgrp games /var/games/xinvaders.scores +@sample(,games,664) /var/games/xinvaders.scores.sample |