- preserve highscore file on updates
This commit is contained in:
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
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
PORTNAME= xboing
|
PORTNAME= xboing
|
||||||
PORTVERSION= 2.4
|
PORTVERSION= 2.4
|
||||||
PORTREVISION= 4
|
PORTREVISION= 5
|
||||||
CATEGORIES= games
|
CATEGORIES= games
|
||||||
MASTER_SITES= ${MASTER_SITE_XCONTRIB}
|
MASTER_SITES= ${MASTER_SITE_XCONTRIB}
|
||||||
MASTER_SITE_SUBDIR= games
|
MASTER_SITE_SUBDIR= games
|
||||||
|
@ -28,4 +28,7 @@ OPTIONS_SUB=yes
|
||||||
MAKE_ENV+= WITHOUT_AUDIO=True
|
MAKE_ENV+= WITHOUT_AUDIO=True
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
post-install:
|
||||||
|
${RM} ${STAGEDIR}${PREFIX}/lib/X11/xboing/.xboing.scr
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
bin/xboing
|
bin/xboing
|
||||||
lib/X11/xboing/.xboing.scr
|
|
||||||
lib/X11/xboing/levels/demo.data
|
lib/X11/xboing/levels/demo.data
|
||||||
lib/X11/xboing/levels/editor.data
|
lib/X11/xboing/levels/editor.data
|
||||||
lib/X11/xboing/levels/level01.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/wzzz2.au
|
||||||
%%SOUND%%lib/X11/xboing/sounds/youagod.au
|
%%SOUND%%lib/X11/xboing/sounds/youagod.au
|
||||||
lib/X11/xboing/problems.doc
|
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 chown root:games %D/bin/xboing
|
||||||
@exec chmod 2755 %D/bin/xboing
|
@exec chmod 2755 %D/bin/xboing
|
||||||
@exec touch %D/lib/X11/xboing/.xboing.scr
|
@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 chown root:games %D/lib/X11/xboing/.xboing.scr
|
||||||
@exec chmod 664 %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
|
||||||
|
|
Loading…
Reference in a new issue