summaryrefslogtreecommitdiff
path: root/wm/metacity
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
commit28e11e9263be3137dcfb6b99426f86edffcc48bd (patch)
tree07e56c4bbb03f48f0e18976c4a983a5d3a8df39e /wm/metacity
parentcab8b290e06888aef7217d4b55c6cd5acbfba522 (diff)
downloadpkgsrc-28e11e9263be3137dcfb6b99426f86edffcc48bd.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/metacity')
-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"