summaryrefslogtreecommitdiff
path: root/geography/shapelib/buildlink3.mk
diff options
context:
space:
mode:
Diffstat (limited to 'geography/shapelib/buildlink3.mk')
-rw-r--r--geography/shapelib/buildlink3.mk18
1 files changed, 18 insertions, 0 deletions
diff --git a/geography/shapelib/buildlink3.mk b/geography/shapelib/buildlink3.mk
new file mode 100644
index 00000000000..3be42163a75
--- /dev/null
+++ b/geography/shapelib/buildlink3.mk
@@ -0,0 +1,18 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2005/03/27 21:18:06 wiz Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+SHAPELIB_BUILDLINK3_MK:= ${SHAPELIB_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= shapelib
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nshapelib}
+BUILDLINK_PACKAGES+= shapelib
+
+.if !empty(SHAPELIB_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.shapelib+= shapelib>=1.2.10
+BUILDLINK_PKGSRCDIR.shapelib?= ../../geography/shapelib
+.endif # SHAPELIB_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}