diff --git a/games/xboing/Makefile b/games/xboing/Makefile index e5fa41dd832d..a4e2bf754cae 100644 --- a/games/xboing/Makefile +++ b/games/xboing/Makefile @@ -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 diff --git a/games/xboing/pkg-plist b/games/xboing/pkg-plist index c04ff2fa9108..c9ee62b020f1 100644 --- a/games/xboing/pkg-plist +++ b/games/xboing/pkg-plist @@ -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