mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-12 07:27:57 +00:00
Simplify a bit the plist
Use options helpers
This commit is contained in:
parent
865dad6146
commit
b1b3914915
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=397776
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user