Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Sep 2015 22:26:04 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r397776 - head/games/xboing
Message-ID:  <201509242226.t8OMQ4eW075268@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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
-@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201509242226.t8OMQ4eW075268>