summaryrefslogtreecommitdiff
path: root/fonts/Xft2/buildlink3.mk
diff options
context:
space:
mode:
authorrecht <recht@pkgsrc.org>2004-02-03 14:29:29 +0000
committerrecht <recht@pkgsrc.org>2004-02-03 14:29:29 +0000
commit9843bb9f40aac0f9c9ea0cdd8589fc265ef5c32f (patch)
treeda17b82f1113880064b608025526bde85598aae7 /fonts/Xft2/buildlink3.mk
parent3273cf9e682f7367407f012933fbd999408b0a07 (diff)
downloadpkgsrc-9843bb9f40aac0f9c9ea0cdd8589fc265ef5c32f.tar.gz
add buildlink3.mk (needed by graphics/cairo)
noted by xtraeme@
Diffstat (limited to 'fonts/Xft2/buildlink3.mk')
-rw-r--r--fonts/Xft2/buildlink3.mk25
1 files changed, 25 insertions, 0 deletions
diff --git a/fonts/Xft2/buildlink3.mk b/fonts/Xft2/buildlink3.mk
new file mode 100644
index 00000000000..39361325ba1
--- /dev/null
+++ b/fonts/Xft2/buildlink3.mk
@@ -0,0 +1,25 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/02/03 14:29:29 recht Exp $
+#
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+XFT2_BUILDLINK3_MK:= ${XFT2_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= Xft2
+.endif
+
+.if !empty(XFT2_BUILDLINK3_MK:M+)
+BUILDLINK_PACKAGES+= Xft2
+BUILDLINK_DEPENDS.Xft2?= Xft2>=2.1.2nb1
+BUILDLINK_PKGSRCDIR.Xft2?= ../../fonts/Xft2
+
+BUILDLINK_DEPENDS.freetype2= freetype2>=2.0.9
+
+.include "../../devel/zlib/buildlink3.mk"
+.include "../../fonts/fontconfig/buildlink3.mk"
+.include "../../graphics/freetype2/buildlink3.mk"
+.include "../../x11/Xrender/buildlink3.mk"
+
+.endif # XFT2_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}