diff options
author | jmmv <jmmv@pkgsrc.org> | 2004-05-06 13:47:41 +0000 |
---|---|---|
committer | jmmv <jmmv@pkgsrc.org> | 2004-05-06 13:47:41 +0000 |
commit | 60d202d45775e54490d2580bdcc2b730212d2393 (patch) | |
tree | 0762f5dc1bae33e9a1b16329efe766343836d93e | |
parent | 9db2953fe6e793a496ae0ba05939f1f8a843a686 (diff) | |
download | pkgsrc-60d202d45775e54490d2580bdcc2b730212d2393.tar.gz |
Initial addition. This does not really need to be a buildlink3.mk file (in
the sense that this package does not install any libraries that need to be
buildlinked), but it helps in adding a dependency and, more important, in
handling of PLIST entries during print-PLIST. Using a buildlink3.mk file
is more consistent with other packages than a home-grown mk file.
-rw-r--r-- | graphics/hicolor-icon-theme/buildlink3.mk | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/graphics/hicolor-icon-theme/buildlink3.mk b/graphics/hicolor-icon-theme/buildlink3.mk new file mode 100644 index 00000000000..d10db0d7020 --- /dev/null +++ b/graphics/hicolor-icon-theme/buildlink3.mk @@ -0,0 +1,29 @@ +# $NetBSD: buildlink3.mk,v 1.1 2004/05/06 13:47:41 jmmv Exp $ + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ +HICOLOR_ICON_THEME_BUILDLINK3_MK:= ${HICOLOR_ICON_THEME_BUILDLINK3_MK}+ + +.if !empty(BUILDLINK_DEPTH:M+) +BUILDLINK_DEPENDS+= hicolor-icon-theme +.endif + +BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nhicolor-icon-theme} +BUILDLINK_PACKAGES+= hicolor-icon-theme + +.if !empty(HICOLOR_ICON_THEME_BUILDLINK3_MK:M+) +BUILDLINK_DEPENDS.hicolor-icon-theme+= hicolor-icon-theme>=0.4 +BUILDLINK_PKGSRCDIR.hicolor-icon-theme?=../../graphics/hicolor-icon-theme + +.include "../../mk/bsd.prefs.mk" + +dirs!= ${GREP} "^@dirrm" ${.CURDIR}/../../graphics/hicolor-icon-theme/PLIST | \ + ${CUT} -d ' ' -f 2 +. for d in ${dirs} +PRINT_PLIST_AWK+= /^@dirrm ${d:S/\//\\\//g}$$/ \ + { print "@comment in hicolor-icon-theme: " $$0; next; } +. endfor +. undef d +. undef dirs +.endif # HICOLOR_ICON_THEME_BUILDLINK3_MK + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} |