summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2021-10-13 19:32:00 +0000
committeradam <adam@pkgsrc.org>2021-10-13 19:32:00 +0000
commite1b0f9f4815e980915470f811ae1221026eaea30 (patch)
treee4bb3880c9df488458b952d4e12de21362b06818 /math
parentec5531ad45e9dc87bd4f487a5c58158506a2ddd2 (diff)
downloadpkgsrc-e1b0f9f4815e980915470f811ae1221026eaea30.tar.gz
py-pythran: add buildlink3.mk
Diffstat (limited to 'math')
-rw-r--r--math/py-pythran/buildlink3.mk16
1 files changed, 16 insertions, 0 deletions
diff --git a/math/py-pythran/buildlink3.mk b/math/py-pythran/buildlink3.mk
new file mode 100644
index 00000000000..7a21fdd2522
--- /dev/null
+++ b/math/py-pythran/buildlink3.mk
@@ -0,0 +1,16 @@
+# $NetBSD: buildlink3.mk,v 1.1 2021/10/13 19:32:00 adam Exp $
+
+BUILDLINK_TREE+= py-pythran
+
+.if !defined(PY_PYTHRAN_BUILDLINK3_MK)
+PY_PYTHRAN_BUILDLINK3_MK:=
+
+.include "../../lang/python/pyversion.mk"
+BUILDLINK_API_DEPENDS.py-pythran+= ${PYPKGPREFIX}-pythran>=0.10.0
+BUILDLINK_PKGSRCDIR.py-pythran?= ../../math/py-pythran
+BUILDLINK_DEPMETHOD.py-pythran?= build
+
+BUILDLINK_CONTENTS_FILTER.py-pythran+= ${EGREP} '(\.h$$|\.hpp$$)'
+.endif # PY_PYTHRAN_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -py-pythran