aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authorvs <vs@FreeBSD.org>2005-03-15 01:01:09 +0800
committervs <vs@FreeBSD.org>2005-03-15 01:01:09 +0800
commit90169195683ac7ac57ec39bcf039e29d12f5c26b (patch)
tree5c1bba2b31f4bac865a190c2b81462c090a57ee9 /games
parent95e9eae57d871d5a62360c9d0c0774b0dc030d76 (diff)
downloadfreebsd-ports-gnome-90169195683ac7ac57ec39bcf039e29d12f5c26b.tar.gz
freebsd-ports-gnome-90169195683ac7ac57ec39bcf039e29d12f5c26b.tar.zst
freebsd-ports-gnome-90169195683ac7ac57ec39bcf039e29d12f5c26b.zip
Repackage: Use PLIST_SUB instead of an almost similar alternative plist
Diffstat (limited to 'games')
-rw-r--r--games/xgalaga/Makefile3
-rw-r--r--games/xgalaga/pkg-plist2
-rw-r--r--games/xgalaga/pkg-plist.nosound28
3 files changed, 3 insertions, 30 deletions
diff --git a/games/xgalaga/Makefile b/games/xgalaga/Makefile
index a7a12ffd4499..ac2a11c941f8 100644
--- a/games/xgalaga/Makefile
+++ b/games/xgalaga/Makefile
@@ -26,8 +26,9 @@ CONFIGURE_ARGS= --prefix=${X11BASE}/lib/X11/xgalaga \
.if defined(NOSOUND)
CONFIGURE_ARGS+= --without-sound
-PLIST= ${PKGDIR}/pkg-plist.nosound
+PLIST_SUB= SOUND="@comment "
.else
+PLIST_SUB= SOUND=""
pre-configure:
@${ECHO_CMD} "*****************************************************"
@${ECHO_CMD} "* Note that you can build a version of xgalaga that *"
diff --git a/games/xgalaga/pkg-plist b/games/xgalaga/pkg-plist
index 5d1da3e9dcb0..69280640658e 100644
--- a/games/xgalaga/pkg-plist
+++ b/games/xgalaga/pkg-plist
@@ -1,5 +1,5 @@
bin/xgalaga
-lib/X11/xgalaga/xgal.sndsrv.freebsd
+%%SOUND%%lib/X11/xgalaga/xgal.sndsrv.freebsd
lib/X11/xgalaga/sounds/ddloo.raw
lib/X11/xgalaga/sounds/explode.raw
lib/X11/xgalaga/sounds/explode_big.raw
diff --git a/games/xgalaga/pkg-plist.nosound b/games/xgalaga/pkg-plist.nosound
deleted file mode 100644
index 1908de8e926d..000000000000
--- a/games/xgalaga/pkg-plist.nosound
+++ /dev/null
@@ -1,28 +0,0 @@
-bin/xgalaga
-lib/X11/xgalaga/sounds/ddloo.raw
-lib/X11/xgalaga/sounds/explode.raw
-lib/X11/xgalaga/sounds/explode_big.raw
-lib/X11/xgalaga/sounds/firetorp.raw
-lib/X11/xgalaga/sounds/shield.raw
-lib/X11/xgalaga/sounds/smart.raw
-lib/X11/xgalaga/sounds/torphit.raw
-lib/X11/xgalaga/sounds/warp.raw
-lib/X11/xgalaga/levels/level1.xgl
-lib/X11/xgalaga/levels/level2.xgl
-lib/X11/xgalaga/levels/level3.xgl
-lib/X11/xgalaga/levels/level4.xgl
-lib/X11/xgalaga/levels/level5.xgl
-lib/X11/xgalaga/levels/level6.xgl
-lib/X11/xgalaga/levels/level7.xgl
-lib/X11/xgalaga/levels/level8.xgl
-lib/X11/xgalaga/levels/level9.xgl
-lib/X11/xgalaga/levels/level10.xgl
-lib/X11/xgalaga/levels/level11.xgl
-lib/X11/xgalaga/levels/level12.xgl
-lib/X11/xgalaga/levels/level13.xgl
-lib/X11/xgalaga/levels/level14.xgl
-lib/X11/xgalaga/levels/level15.xgl
-lib/X11/xgalaga/scores
-@dirrm lib/X11/xgalaga/levels
-@dirrm lib/X11/xgalaga/sounds
-@dirrm lib/X11/xgalaga