summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordrochner <drochner>2004-04-22 15:14:59 +0000
committerdrochner <drochner>2004-04-22 15:14:59 +0000
commit6db2a50155ccd9181cc65b1009a521d9b02ee17b (patch)
tree2a34e6a2636dcbffb5eb9a59d3632e718fdc186f
parent4d265f5086da31faf84b017e68b8e39cf4a03e46 (diff)
downloadpkgsrc-6db2a50155ccd9181cc65b1009a521d9b02ee17b.tar.gz
add one
-rw-r--r--math/py-numarray/buildlink3.mk20
1 files changed, 20 insertions, 0 deletions
diff --git a/math/py-numarray/buildlink3.mk b/math/py-numarray/buildlink3.mk
new file mode 100644
index 00000000000..c67edf8c1c6
--- /dev/null
+++ b/math/py-numarray/buildlink3.mk
@@ -0,0 +1,20 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/04/22 15:14:59 drochner Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+PY_NUMARRAY_BUILDLINK3_MK:= ${PY_NUMARRAY_BUILDLINK3_MK}+
+
+.include "../../lang/python/pyversion.mk"
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= pynumarray
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Npynumarray}
+BUILDLINK_PACKAGES+= pynumarray
+
+.if !empty(PY_NUMARRAY_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.pynumarray+= ${PYPKGPREFIX}-numarray>=0.9
+BUILDLINK_PKGSRCDIR.pynumarray?= ../../math/py-numarray
+.endif # PY_NUMARRAY_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}