summaryrefslogtreecommitdiff
path: root/graphics/graphviz/buildlink3.mk
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/graphviz/buildlink3.mk')
-rw-r--r--graphics/graphviz/buildlink3.mk26
1 files changed, 26 insertions, 0 deletions
diff --git a/graphics/graphviz/buildlink3.mk b/graphics/graphviz/buildlink3.mk
new file mode 100644
index 00000000000..945f8e77624
--- /dev/null
+++ b/graphics/graphviz/buildlink3.mk
@@ -0,0 +1,26 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/04/17 16:56:10 seb Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+GRAPHVIZ_BUILDLINK3_MK:= ${GRAPHVIZ_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= graphviz
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ngraphviz}
+BUILDLINK_PACKAGES+= graphviz
+
+.if !empty(GRAPHVIZ_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.graphviz+= graphviz>=1.12
+BUILDLINK_PKGSRCDIR.graphviz?= ../../graphics/graphviz
+.endif # GRAPHVIZ_BUILDLINK3_MK
+
+.include "../../graphics/png/buildlink3.mk"
+.include "../../devel/zlib/buildlink3.mk"
+.include "../../graphics/jpeg/buildlink3.mk"
+.include "../../graphics/png/buildlink3.mk"
+.include "../../graphics/freetype2/buildlink3.mk"
+.include "../../x11/tk/buildlink3.mk"
+.include "../../textproc/expat/buildlink3.mk"
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}