summaryrefslogtreecommitdiff
path: root/graphics/png
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/png')
-rw-r--r--graphics/png/buildlink3.mk21
1 files changed, 21 insertions, 0 deletions
diff --git a/graphics/png/buildlink3.mk b/graphics/png/buildlink3.mk
new file mode 100644
index 00000000000..0b9894da10b
--- /dev/null
+++ b/graphics/png/buildlink3.mk
@@ -0,0 +1,21 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/01/03 23:06:44 jlam Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+PNG_BUILDLINK3_MK:= ${PNG_BUILDLINK3_MK}+
+
+.if !empty(PNG_BUILDLINK3_MK:M\+)
+BUILDLINK_DEPENDS.png?= png>=1.2.4
+BUILDLINK_PKGSRCDIR.png?= ../../graphics/png
+.endif # PNG_BUILDLINK3_MK
+
+.if !empty(BUILDLINK_DEPTH:M\+)
+BUILDLINK_DEPENDS+= png
+.endif
+
+.if !empty(PNG_BUILDLINK3_MK:M\+)
+BUILDLINK_PACKAGES+= png
+
+. include "../../devel/zlib/buildlink3.mk"
+.endif # PNG_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:C/\+$//}