pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/wm/metacity During print-PLIST in packages using this ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6f8e80073d11
branches:  trunk
changeset: 475417:6f8e80073d11
user:      jmmv <jmmv%pkgsrc.org@localhost>
date:      Sat May 15 15:21:39 2004 +0000

description:
During print-PLIST in packages using this one, print comments for
directories in share/themes which are created by metacity.

diffstat:

 wm/metacity/buildlink3.mk |  11 ++++++++++-
 1 files changed, 10 insertions(+), 1 deletions(-)

diffs (25 lines):

diff -r 0d16fd52c670 -r 6f8e80073d11 wm/metacity/buildlink3.mk
--- a/wm/metacity/buildlink3.mk Sat May 15 15:07:58 2004 +0000
+++ b/wm/metacity/buildlink3.mk Sat May 15 15:21:39 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.5 2004/04/01 18:35:20 jmmv Exp $
+# $NetBSD: buildlink3.mk,v 1.6 2004/05/15 15:21:39 jmmv Exp $
 
 BUILDLINK_DEPTH:=              ${BUILDLINK_DEPTH}+
 METACITY_BUILDLINK3_MK:=       ${METACITY_BUILDLINK3_MK}+
@@ -13,6 +13,15 @@
 .if !empty(METACITY_BUILDLINK3_MK:M+)
 BUILDLINK_DEPENDS.metacity+=   metacity>=2.8.0
 BUILDLINK_PKGSRCDIR.metacity?= ../../wm/metacity
+
+dirs!= ${GREP} "^@dirrm share/themes" ${.CURDIR}/../../wm/metacity/PLIST | \
+       ${CUT} -d ' ' -f 2
+.  for d in ${dirs}
+PRINT_PLIST_AWK+=      /^@dirrm ${d:S/\//\\\//g}$$/ \
+                       { print "@comment in metacity: " $$0; next; }
+.  endfor
+.  undef d
+.  undef dirs
 .endif # METACITY_BUILDLINK3_MK
 
 .include "../../devel/gettext-lib/buildlink3.mk"



Home | Main Index | Thread Index | Old Index