summaryrefslogtreecommitdiff
path: root/math/py-fpconst
diff options
context:
space:
mode:
authorrecht <recht@pkgsrc.org>2004-08-13 08:57:14 +0000
committerrecht <recht@pkgsrc.org>2004-08-13 08:57:14 +0000
commit16152f843857a9d77079f78ec4e300bd2724fb93 (patch)
treeff11a6e03d53e3f767a0b172d65f04794a1cb4d5 /math/py-fpconst
parentd29dec38a533952c93150ff5728e82bb1a14ef34 (diff)
downloadpkgsrc-16152f843857a9d77079f78ec4e300bd2724fb93.tar.gz
Add/use buildlink3.mk files.
Diffstat (limited to 'math/py-fpconst')
-rw-r--r--math/py-fpconst/buildlink3.mk20
1 files changed, 20 insertions, 0 deletions
diff --git a/math/py-fpconst/buildlink3.mk b/math/py-fpconst/buildlink3.mk
new file mode 100644
index 00000000000..1bdfe7f8206
--- /dev/null
+++ b/math/py-fpconst/buildlink3.mk
@@ -0,0 +1,20 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/08/13 08:57:14 recht Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+PY_FPCONST_BUILDLINK3_MK:= ${PY_FPCONST_BUILDLINK3_MK}+
+
+.include "../../lang/python/pyversion.mk"
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= py-fpconst
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Npy-fpconst}
+BUILDLINK_PACKAGES+= py-fpconst
+
+.if !empty(PY_FPCONST_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.py-fpconst+= ${PYPKGPREFIX}-fpconst>=0.7.0
+BUILDLINK_PKGSRCDIR.py-fpconst?= ../../math/py-fpconst
+.endif # PY_FPCONST_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}