summaryrefslogtreecommitdiff
path: root/math/qhull/buildlink3.mk
diff options
context:
space:
mode:
authordrochner <drochner>2007-09-19 18:00:54 +0000
committerdrochner <drochner>2007-09-19 18:00:54 +0000
commit0198b99052c79fae0a84ecd954e915e9772e39c4 (patch)
treea9090e9ab981fd8cf057de3d84be8ec8223cdd24 /math/qhull/buildlink3.mk
parent79a09f038f69c7d659611b714a4e58218c58c806 (diff)
downloadpkgsrc-0198b99052c79fae0a84ecd954e915e9772e39c4.tar.gz
import qhull-2003.1, a program/library to calculate convex hulls
(can be used by octave and others)
Diffstat (limited to 'math/qhull/buildlink3.mk')
-rw-r--r--math/qhull/buildlink3.mk19
1 files changed, 19 insertions, 0 deletions
diff --git a/math/qhull/buildlink3.mk b/math/qhull/buildlink3.mk
new file mode 100644
index 00000000000..8f404b2e8f8
--- /dev/null
+++ b/math/qhull/buildlink3.mk
@@ -0,0 +1,19 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2007/09/19 18:00:54 drochner Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+QHULL_BUILDLINK3_MK:= ${QHULL_BUILDLINK3_MK}+
+
+.if ${BUILDLINK_DEPTH} == "+"
+BUILDLINK_DEPENDS+= qhull
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nqhull}
+BUILDLINK_PACKAGES+= qhull
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}qhull
+
+.if ${QHULL_BUILDLINK3_MK} == "+"
+BUILDLINK_API_DEPENDS.qhull+= qhull>=2003.1
+BUILDLINK_PKGSRCDIR.qhull?= ../../math/qhull
+.endif # QHULL_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}