summaryrefslogtreecommitdiff
path: root/wm/golem
diff options
context:
space:
mode:
Diffstat (limited to 'wm/golem')
-rw-r--r--wm/golem/Makefile7
-rw-r--r--wm/golem/PLIST8
2 files changed, 7 insertions, 8 deletions
diff --git a/wm/golem/Makefile b/wm/golem/Makefile
index d27767b0d47..7ae6c4a2572 100644
--- a/wm/golem/Makefile
+++ b/wm/golem/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.26 2007/11/17 12:04:14 rillig Exp $
+# $NetBSD: Makefile,v 1.27 2008/04/12 22:43:13 jlam Exp $
#
DISTNAME= golem-0.0.5
@@ -27,12 +27,11 @@ PKG_SUPPORTED_OPTIONS= esound
.include "../../mk/bsd.options.mk"
+PLIST_VARS+= esound
.if !empty(PKG_OPTIONS:Mesound)
CONFIGURE_ARGS+= --enable-sound
-PLIST_SUBST+= NOT_SOUND=
+PLIST.esound= yes
.include "../../audio/esound/buildlink3.mk"
-.else
-PLIST_SUBST+= NOT_SOUND="@comment "
.endif
CFLAGS+= -DPKG_SYSCONFDIR="\"${PKG_SYSCONFDIR}\""
diff --git a/wm/golem/PLIST b/wm/golem/PLIST
index 462e7ff5a99..dc878e17730 100644
--- a/wm/golem/PLIST
+++ b/wm/golem/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2003/05/15 11:19:43 salo Exp $
+@comment $NetBSD: PLIST,v 1.2 2008/04/12 22:43:13 jlam Exp $
bin/golem
bin/golem.install
lib/golem/plugins/animations.so
@@ -9,7 +9,7 @@ lib/golem/plugins/pager.so
lib/golem/plugins/pier.so
lib/golem/plugins/setroot.so
lib/golem/plugins/simple_menus.so
-${NOT_SOUND}lib/golem/plugins/sound.so
+${PLIST.esound}lib/golem/plugins/sound.so
lib/golem/plugins/start_slide.so
lib/golem/plugins/wmclass_defs.so
man/man1/golem.1
@@ -25,7 +25,7 @@ share/golem/plugins/pier/netscape.xpm
share/golem/plugins/pier/rc
share/golem/plugins/setroot/rc
share/golem/plugins/simple_menus/rc
-${NOT_SOUND}share/golem/plugins/sound/rc
+${PLIST.esound}share/golem/plugins/sound/rc
share/golem/plugins/start_slide/README
share/golem/plugins/start_slide/rc
share/golem/plugins/wmclass_defs/rc
@@ -257,7 +257,7 @@ share/golem/themes/twm/topbar.xpm
@dirrm share/golem/themes
@dirrm share/golem/plugins/wmclass_defs
@dirrm share/golem/plugins/start_slide
-${NOT_SOUND}@dirrm share/golem/plugins/sound
+${PLIST.esound}@dirrm share/golem/plugins/sound
@dirrm share/golem/plugins/simple_menus
@dirrm share/golem/plugins/setroot
@dirrm share/golem/plugins/pier