summaryrefslogtreecommitdiff
path: root/x11/gnome2-applets
diff options
context:
space:
mode:
authorjmmv <jmmv>2004-04-13 12:42:37 +0000
committerjmmv <jmmv>2004-04-13 12:42:37 +0000
commit5ef4e705baa744640e31d0fa0b41f60d2e707e0a (patch)
treed58a69a6e3d5d03abae66760fe3cd65eb2adcb43 /x11/gnome2-applets
parentf4e61dbbfb37010b86c86d8b8b3b6e199c141beb (diff)
downloadpkgsrc-5ef4e705baa744640e31d0fa0b41f60d2e707e0a.tar.gz
During print-PLIST, mark entries related to the battstat applet as conditional,
using the ${BATTSTAT} variable.
Diffstat (limited to 'x11/gnome2-applets')
-rw-r--r--x11/gnome2-applets/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/x11/gnome2-applets/Makefile b/x11/gnome2-applets/Makefile
index 55f5c14913a..5b55a3404f4 100644
--- a/x11/gnome2-applets/Makefile
+++ b/x11/gnome2-applets/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.28 2004/04/02 12:18:10 jmmv Exp $
+# $NetBSD: Makefile,v 1.29 2004/04/13 12:42:37 jmmv Exp $
#
DISTNAME= gnome-applets-2.6.0
@@ -62,6 +62,8 @@ CONF_FILES+= ${EGDIR}/sound/events/battstat_applet.soundlist \
PLIST_SUBST+= BATTSTAT="@comment "
.endif
+PRINT_PLIST_AWK+= /battstat/ { print "$${BATTSTAT}"$$0; next; }
+
.include "../../devel/GConf2/schemas.mk"
# This must come after GConf2's schemas.mk because it will modify default