diff options
author | bapt <bapt@FreeBSD.org> | 2015-09-25 06:26:03 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2015-09-25 06:26:03 +0800 |
commit | e50cde239f4a64644ffc9c65df4ad95b9cc7d5f6 (patch) | |
tree | 50a44c695efe68118ce78ad9a79e7935fb68d260 /games/xboing | |
parent | b9793315f134ff573050cbeabee36de3036d1c3a (diff) | |
download | freebsd-ports-gnome-e50cde239f4a64644ffc9c65df4ad95b9cc7d5f6.tar.gz freebsd-ports-gnome-e50cde239f4a64644ffc9c65df4ad95b9cc7d5f6.tar.zst freebsd-ports-gnome-e50cde239f4a64644ffc9c65df4ad95b9cc7d5f6.zip |
Simplify a bit the plist
Use options helpers
Diffstat (limited to 'games/xboing')
-rw-r--r-- | games/xboing/Makefile | 6 | ||||
-rw-r--r-- | games/xboing/pkg-plist | 10 |
2 files changed, 3 insertions, 13 deletions
diff --git a/games/xboing/Makefile b/games/xboing/Makefile index 9b32ff53af81..bd4bb55486ca 100644 --- a/games/xboing/Makefile +++ b/games/xboing/Makefile @@ -21,11 +21,7 @@ OPTIONS_DEFINE=SOUND OPTIONS_DEFAULT=SOUND OPTIONS_SUB=yes -.include <bsd.port.options.mk> - -.if ${PORT_OPTIONS:MSOUND} -MAKE_ENV+= WITHOUT_AUDIO=True -.endif +SOUND_MAKE_ENV= WITHOUT_AUDIO=True post-install: ${RM} ${STAGEDIR}${PREFIX}/lib/X11/xboing/.xboing.scr diff --git a/games/xboing/pkg-plist b/games/xboing/pkg-plist index c9ee62b020f1..1d0b9c211507 100644 --- a/games/xboing/pkg-plist +++ b/games/xboing/pkg-plist @@ -1,4 +1,4 @@ -bin/xboing +@(root,games,2755) bin/xboing lib/X11/xboing/levels/demo.data lib/X11/xboing/levels/editor.data lib/X11/xboing/levels/level01.data @@ -130,14 +130,8 @@ man/man1/xboing.1.gz %%SOUND%%lib/X11/xboing/sounds/wzzz2.au %%SOUND%%lib/X11/xboing/sounds/youagod.au lib/X11/xboing/problems.doc -@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 +@dir(root,games,775) lib/X11/xboing |