summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--graphics/netpbm/buildlink3.mk19
1 files changed, 19 insertions, 0 deletions
diff --git a/graphics/netpbm/buildlink3.mk b/graphics/netpbm/buildlink3.mk
new file mode 100644
index 00000000000..ce68bae2615
--- /dev/null
+++ b/graphics/netpbm/buildlink3.mk
@@ -0,0 +1,19 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/01/22 11:02:01 jlam Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+NETPBM_BUILDLINK3_MK:= ${NETPBM_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= netpbm
+.endif
+
+.if !empty(NETPBM_BUILDLINK3_MK:M+)
+BUILDLINK_PACKAGES+= netpbm
+BUILDLINK_DEPENDS.netpbm?= netpbm>=10.11.6
+BUILDLINK_PKGSRCDIR.netpbm?= ../../graphics/netpbm
+
+. include "../../graphics/png/buildlink3.mk"
+. include "../../graphics/tiff/buildlink3.mk"
+.endif # NETPBM_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}