summaryrefslogtreecommitdiff
path: root/wm
diff options
context:
space:
mode:
authorjmmv <jmmv@pkgsrc.org>2004-05-15 15:21:39 +0000
committerjmmv <jmmv@pkgsrc.org>2004-05-15 15:21:39 +0000
commit4e4a0c0c382ea425acc151a1d621cc47bc771be3 (patch)
tree07e56c4bbb03f48f0e18976c4a983a5d3a8df39e /wm
parent641bcb0b4a48b8d56b3f28319fe76c191c920566 (diff)
downloadpkgsrc-4e4a0c0c382ea425acc151a1d621cc47bc771be3.tar.gz
During print-PLIST in packages using this one, print comments for
directories in share/themes which are created by metacity.
Diffstat (limited to 'wm')
-rw-r--r--wm/metacity/buildlink3.mk11
1 files changed, 10 insertions, 1 deletions
diff --git a/wm/metacity/buildlink3.mk b/wm/metacity/buildlink3.mk
index 2fb609dd483..ecebd4891c5 100644
--- a/wm/metacity/buildlink3.mk
+++ b/wm/metacity/buildlink3.mk
@@ -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 @@ BUILDLINK_PACKAGES+= metacity
.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"