summaryrefslogtreecommitdiff
path: root/math
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
commit97e5756142ac4bed61d24b795e42664972542e48 (patch)
tree2a34e6a2636dcbffb5eb9a59d3632e718fdc186f /math
parent57549cfb1375feae887b385702edd38df7a12171 (diff)
downloadpkgsrc-97e5756142ac4bed61d24b795e42664972542e48.tar.gz
add one
Diffstat (limited to 'math')
-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/+$//}