summaryrefslogtreecommitdiff
path: root/math/py-Numeric/buildlink3.mk
diff options
context:
space:
mode:
Diffstat (limited to 'math/py-Numeric/buildlink3.mk')
-rw-r--r--math/py-Numeric/buildlink3.mk22
1 files changed, 22 insertions, 0 deletions
diff --git a/math/py-Numeric/buildlink3.mk b/math/py-Numeric/buildlink3.mk
new file mode 100644
index 00000000000..7ef16347341
--- /dev/null
+++ b/math/py-Numeric/buildlink3.mk
@@ -0,0 +1,22 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/02/18 16:02:01 minskim Exp $
+#
+# This Makefile fragment is included by packages that use py23pth-Numeric.
+#
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+PY_NUMERIC_BUILDLINK3_MK:= ${PY_NUMERIC_BUILDLINK3_MK}+
+
+.include "../../lang/python/pyversion.mk"
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= ${PYPKGPREFIX}-Numeric-*
+.endif
+
+.if !empty(PY_NUMERIC_BUILDLINK3_MK:M+)
+BUILDLINK_PACKAGES+= pynumeric
+BUILDLINK_DEPENDS.pynumeric+= ${PYPKGPREFIX}-Numeric-*
+BUILDLINK_PKGSRCDIR.pynumeric?= ../../math/py-Numeric
+
+.endif # PY_NUMERIC_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}