summaryrefslogtreecommitdiff
path: root/math/py-numarray
diff options
context:
space:
mode:
authordrochner <drochner@pkgsrc.org>2004-04-22 15:14:59 +0000
committerdrochner <drochner@pkgsrc.org>2004-04-22 15:14:59 +0000
commit0facb99b3570dee6b9c66e7025e5c0a36db3b68a (patch)
tree2a34e6a2636dcbffb5eb9a59d3632e718fdc186f /math/py-numarray
parentec8a319d3f6eeb857064d7ffc8567c6ccd4910db (diff)
downloadpkgsrc-0facb99b3570dee6b9c66e7025e5c0a36db3b68a.tar.gz
add one
Diffstat (limited to 'math/py-numarray')
-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/+$//}