b71a1d488b
example MAKE_ENV+=FOO=${BAR} is changed to MAKE_ENV+=FOO=${BAR:Q}. Some other changes are outlined in http://mail-index.netbsd.org/tech-pkg/2005/12/02/0034.html
28 lines
923 B
Makefile
28 lines
923 B
Makefile
# $NetBSD: buildlink3.mk,v 1.2 2005/12/05 20:50:20 rillig 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 dirs
|
|
.endif # HICOLOR_ICON_THEME_BUILDLINK3_MK
|
|
|
|
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
|