diff options
author | jmmv <jmmv> | 2004-04-13 12:42:37 +0000 |
---|---|---|
committer | jmmv <jmmv> | 2004-04-13 12:42:37 +0000 |
commit | 5ef4e705baa744640e31d0fa0b41f60d2e707e0a (patch) | |
tree | d58a69a6e3d5d03abae66760fe3cd65eb2adcb43 /x11/gnome2-applets | |
parent | f4e61dbbfb37010b86c86d8b8b3b6e199c141beb (diff) | |
download | pkgsrc-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/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 |