pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/x11/gnome2-applets During print-PLIST, mark entries re...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/743c7b55c347
branches:  trunk
changeset: 472872:743c7b55c347
user:      jmmv <jmmv%pkgsrc.org@localhost>
date:      Tue Apr 13 12:42:37 2004 +0000

description:
During print-PLIST, mark entries related to the battstat applet as conditional,
using the ${BATTSTAT} variable.

diffstat:

 x11/gnome2-applets/Makefile |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r d070609415ad -r 743c7b55c347 x11/gnome2-applets/Makefile
--- a/x11/gnome2-applets/Makefile       Tue Apr 13 09:59:29 2004 +0000
+++ b/x11/gnome2-applets/Makefile       Tue Apr 13 12:42:37 2004 +0000
@@ -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 @@
 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



Home | Main Index | Thread Index | Old Index