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 /x11/matchbox-panel | |
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 'x11/matchbox-panel')
-rw-r--r-- | x11/matchbox-panel/Makefile | 9 | ||||
-rw-r--r-- | x11/matchbox-panel/PLIST | 6 |
2 files changed, 7 insertions, 8 deletions
diff --git a/x11/matchbox-panel/Makefile b/x11/matchbox-panel/Makefile index 33d1ca83d2f..df9afb62bda 100644 --- a/x11/matchbox-panel/Makefile +++ b/x11/matchbox-panel/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.14 2007/01/26 23:47:33 joerg Exp $ +# $NetBSD: Makefile,v 1.15 2008/04/12 22:43:14 jlam Exp $ # DISTNAME= matchbox-panel-0.9.2 @@ -24,10 +24,9 @@ CONFIGURE_ARGS+= --enable-nls .include "../../mk/bsd.prefs.mk" -.if ${OPSYS} == "DragonFly" -PLIST_SUBST+= COND_APM="@comment " -.else -PLIST_SUBST+= COND_APM="" +PLIST_VARS= apm +.if ${OPSYS} != "DragonFly" +PLIST.apm= yes .endif .include "../../devel/gettext-lib/buildlink3.mk" diff --git a/x11/matchbox-panel/PLIST b/x11/matchbox-panel/PLIST index 729dd9ad4e1..136b2100dc6 100644 --- a/x11/matchbox-panel/PLIST +++ b/x11/matchbox-panel/PLIST @@ -1,12 +1,12 @@ -@comment $NetBSD: PLIST,v 1.3 2006/06/21 22:05:02 joerg Exp $ +@comment $NetBSD: PLIST,v 1.4 2008/04/12 22:43:14 jlam Exp $ bin/matchbox-panel -${COND_APM}bin/mb-applet-battery +${PLIST.apm}bin/mb-applet-battery bin/mb-applet-clock bin/mb-applet-launcher bin/mb-applet-menu-launcher bin/mb-applet-system-monitor bin/mb-applet-xterm-wrapper.sh -${COND_APM}share/applications/mb-applet-battery.desktop +${PLIST.apm}share/applications/mb-applet-battery.desktop share/applications/mb-applet-clock.desktop share/applications/mb-applet-menu-launcher.desktop share/applications/mb-applet-system-monitor.desktop |