1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00

- preserve highscore file on updates

This commit is contained in:
Dirk Meyer 2014-03-30 18:24:30 +00:00
parent fcea89c874
commit 0c7a73bea1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=349664
2 changed files with 10 additions and 5 deletions

View File

@ -3,7 +3,7 @@
PORTNAME= xboing
PORTVERSION= 2.4
PORTREVISION= 4
PORTREVISION= 5
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_XCONTRIB}
MASTER_SITE_SUBDIR= games
@ -28,4 +28,7 @@ OPTIONS_SUB=yes
MAKE_ENV+= WITHOUT_AUDIO=True
.endif
post-install:
${RM} ${STAGEDIR}${PREFIX}/lib/X11/xboing/.xboing.scr
.include <bsd.port.mk>

View File

@ -1,5 +1,4 @@
bin/xboing
lib/X11/xboing/.xboing.scr
lib/X11/xboing/levels/demo.data
lib/X11/xboing/levels/editor.data
lib/X11/xboing/levels/level01.data
@ -131,11 +130,14 @@ man/man1/xboing.1.gz
%%SOUND%%lib/X11/xboing/sounds/wzzz2.au
%%SOUND%%lib/X11/xboing/sounds/youagod.au
lib/X11/xboing/problems.doc
@dirrm lib/X11/xboing/levels
%%SOUND%%@dirrm lib/X11/xboing/sounds
@dirrm lib/X11/xboing
@exec chown root:games %D/bin/xboing
@exec chmod 2755 %D/bin/xboing
@exec touch %D/lib/X11/xboing/.xboing.scr
@exec chown root:games %D/lib/X11/xboing
@exec chmod 775 %D/lib/X11/xboing
@exec chown root:games %D/lib/X11/xboing/.xboing.scr
@exec chmod 664 %D/lib/X11/xboing/.xboing.scr
@unexec if test ! -s %D/lib/X11/xboing/.xboing.scr ; then rm -f %D/lib/X11/xboing/.xboing.scr ; fi
%%SOUND%%@dirrm lib/X11/xboing/sounds
@dirrm lib/X11/xboing/levels
@dirrm lib/X11/xboing