diff options
author | jmmv <jmmv> | 2004-05-06 14:00:27 +0000 |
---|---|---|
committer | jmmv <jmmv> | 2004-05-06 14:00:27 +0000 |
commit | 5234c09f10560e2d51661fb54a97f59395c0f35b (patch) | |
tree | 39dd3f1e4762724b782133bd1192f729ddf12e14 | |
parent | 744946a01f7fc13fd71695c0f16d97b49e193e88 (diff) | |
download | pkgsrc-5234c09f10560e2d51661fb54a97f59395c0f35b.tar.gz |
Add some PRINT_PLIST_AWK magic so that packages using this buildlink3.mk
file get the right comments in generated PLISTs. (I'm not aware of packages
actually needing this, but will help in catching 'bugs' in the future, i.e,
"cannot remove non-empty directory foobar").
-rw-r--r-- | graphics/gnome-icon-theme/buildlink3.mk | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/graphics/gnome-icon-theme/buildlink3.mk b/graphics/gnome-icon-theme/buildlink3.mk index ca5f99c18cb..107a9e0c5c3 100644 --- a/graphics/gnome-icon-theme/buildlink3.mk +++ b/graphics/gnome-icon-theme/buildlink3.mk @@ -1,4 +1,4 @@ -# $NetBSD: buildlink3.mk,v 1.1 2004/04/01 18:29:19 jmmv Exp $ +# $NetBSD: buildlink3.mk,v 1.2 2004/05/06 14:00:27 jmmv Exp $ BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ GNOME_ICON_THEME_BUILDLINK3_MK:= ${GNOME_ICON_THEME_BUILDLINK3_MK}+ @@ -13,9 +13,21 @@ BUILDLINK_PACKAGES+= gnome-icon-theme .if !empty(GNOME_ICON_THEME_BUILDLINK3_MK:M+) BUILDLINK_DEPENDS.gnome-icon-theme+= gnome-icon-theme>=1.2.0 BUILDLINK_PKGSRCDIR.gnome-icon-theme?= ../../graphics/gnome-icon-theme + +. include "../../mk/bsd.prefs.mk" + +dirs!= ${GREP} "^@dirrm" ${.CURDIR}/../../graphics/gnome-icon-theme/PLIST | \ + ${CUT} -d ' ' -f 2 +. for d in ${dirs} +PRINT_PLIST_AWK+= /^@dirrm ${d:S/\//\\\//g}$$/ \ + { print "@comment in gnome-icon-theme: " $$0; next; } +. endfor +. undef d +. undef dirs .endif # GNOME_ICON_THEME_BUILDLINK3_MK .include "../../devel/gettext-lib/buildlink3.mk" +.include "../../graphics/hicolor-icon-theme/buildlink3.mk" .include "../../lang/perl5/buildlink3.mk" BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} |