svn commit: r397776 - head/games/xboing

Baptiste Daroussin bapt at FreeBSD.org
Thu Sep 24 22:26:04 UTC 2015


Author: bapt
Date: Thu Sep 24 22:26:03 2015
New Revision: 397776
URL: https://svnweb.freebsd.org/changeset/ports/397776

Log:
  Simplify a bit the plist
  Use options helpers

Modified:
  head/games/xboing/Makefile
  head/games/xboing/pkg-plist

Modified: head/games/xboing/Makefile
==============================================================================
--- head/games/xboing/Makefile	Thu Sep 24 22:19:58 2015	(r397775)
+++ head/games/xboing/Makefile	Thu Sep 24 22:26:03 2015	(r397776)
@@ -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

Modified: head/games/xboing/pkg-plist
==============================================================================
--- head/games/xboing/pkg-plist	Thu Sep 24 22:19:58 2015	(r397775)
+++ head/games/xboing/pkg-plist	Thu Sep 24 22:26:03 2015	(r397776)
@@ -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
- at exec chown root:games %D/bin/xboing
- at exec chmod 2755 %D/bin/xboing
 @exec touch %D/lib/X11/xboing/.xboing.scr
- at exec chown root:games %D/lib/X11/xboing
- at 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
- at dirrm lib/X11/xboing/levels
- at dirrm lib/X11/xboing
+ at dir(root,games,775) lib/X11/xboing


More information about the svn-ports-head mailing list