diff options
author | jlam <jlam> | 2008-04-12 22:42:57 +0000 |
---|---|---|
committer | jlam <jlam> | 2008-04-12 22:42:57 +0000 |
commit | 84db467ec7c8386066718011f8d47775d5608811 (patch) | |
tree | fdd67c81079412bf94013749a954125434a9baca /wm | |
parent | 7082f8c2044621c8641f3c82a2da95c2d442048c (diff) | |
download | pkgsrc-84db467ec7c8386066718011f8d47775d5608811.tar.gz |
Convert to use PLIST_VARS instead of manually passing "@comment "
through PLIST_SUBST to the plist module.
Diffstat (limited to 'wm')
-rw-r--r-- | wm/compiz/Makefile | 12 | ||||
-rw-r--r-- | wm/compiz/PLIST | 10 | ||||
-rw-r--r-- | wm/golem/Makefile | 7 | ||||
-rw-r--r-- | wm/golem/PLIST | 8 |
4 files changed, 17 insertions, 20 deletions
diff --git a/wm/compiz/Makefile b/wm/compiz/Makefile index 2f9e39db597..92930b59907 100644 --- a/wm/compiz/Makefile +++ b/wm/compiz/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.14 2008/03/06 14:53:55 wiz Exp $ +# $NetBSD: Makefile,v 1.15 2008/04/12 22:43:13 jlam Exp $ # DISTNAME= compiz-0.4.0 @@ -29,6 +29,8 @@ PKG_OPTIONS_VAR= PKG_OPTIONS.compiz .include "../../mk/bsd.options.mk" +PLIST_VARS+= ${PKG_SUPPORTED_OPTIONS} + # this is as much as needed for the basic window decorator .include "../../graphics/cairo/buildlink3.mk" .include "../../x11/gtk2/buildlink3.mk" @@ -36,20 +38,16 @@ PKG_OPTIONS_VAR= PKG_OPTIONS.compiz .if !empty(PKG_OPTIONS:Mgnome) CONFIGURE_ARGS+= --enable-librsvg -PLIST_SUBST+= GNOME="" +PLIST.gnome= yes .include "../../x11/gnome-control-center/buildlink3.mk" .include "../../wm/metacity/buildlink3.mk" .include "../../graphics/librsvg/buildlink3.mk" -.else -PLIST_SUBST+= GNOME="@comment " .endif .if !empty(PKG_OPTIONS:Mkde) -PLIST_SUBST+= KDE="" +PLIST.kde= yes .include "../../x11/kdebase3/buildlink3.mk" .include "../../sysutils/dbus-qt3/buildlink3.mk" -.else -PLIST_SUBST+= KDE="@comment " .endif # While we don't use threads, we link against libpthread because diff --git a/wm/compiz/PLIST b/wm/compiz/PLIST index ed0eec9f889..576df02f0a9 100644 --- a/wm/compiz/PLIST +++ b/wm/compiz/PLIST @@ -1,7 +1,7 @@ -@comment $NetBSD: PLIST,v 1.3 2007/09/25 10:54:19 hira Exp $ +@comment $NetBSD: PLIST,v 1.4 2008/04/12 22:43:13 jlam Exp $ bin/compiz bin/gtk-window-decorator -${KDE}bin/kde-window-decorator +${PLIST.kde}bin/kde-window-decorator include/compiz/compiz.h include/compiz/decoration.h lib/compiz/libannotate.la @@ -21,7 +21,7 @@ lib/compiz/libresize.la lib/compiz/librotate.la lib/compiz/libscale.la lib/compiz/libscreenshot.la -${GNOME}lib/compiz/libsvg.la +${PLIST.gnome}lib/compiz/libsvg.la lib/compiz/libswitcher.la lib/compiz/libwater.la lib/compiz/libwobbly.la @@ -29,12 +29,12 @@ lib/compiz/libzoom.la lib/libdecoration.la lib/pkgconfig/compiz.pc lib/pkgconfig/libdecoration.pc -${GNOME}lib/window-manager-settings/libcompiz.la +${PLIST.gnome}lib/window-manager-settings/libcompiz.la share/compiz/freedesktop.png share/compiz/icon.png share/gconf/schemas/compiz.schemas share/gconf/schemas/gwd.schemas -${GNOME}share/gnome/wm-properties/compiz.desktop +${PLIST.gnome}share/gnome/wm-properties/compiz.desktop share/locale/af/LC_MESSAGES/compiz.mo share/locale/ar/LC_MESSAGES/compiz.mo share/locale/bg/LC_MESSAGES/compiz.mo 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 |