diff options
author | jmmv <jmmv@pkgsrc.org> | 2004-04-13 12:42:37 +0000 |
---|---|---|
committer | jmmv <jmmv@pkgsrc.org> | 2004-04-13 12:42:37 +0000 |
commit | 78d34730ebf512bf0bc7dfddac97bd0f70f1eafe (patch) | |
tree | d58a69a6e3d5d03abae66760fe3cd65eb2adcb43 /x11/gnome2-applets | |
parent | 61dd0711fd8ac375425d5e6086e85f1b4bf568b9 (diff) | |
download | pkgsrc-78d34730ebf512bf0bc7dfddac97bd0f70f1eafe.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/Makefile | 4 |
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 |