summaryrefslogtreecommitdiff
path: root/lang/python15
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2002-09-20 22:33:29 +0000
committerjlam <jlam@pkgsrc.org>2002-09-20 22:33:29 +0000
commit4a6f7d916d97328334a3b5aa2af0d3fc9aba5d52 (patch)
tree17700ee01dde9cff049f11fe3ca3ceb2d61df5d8 /lang/python15
parent8793a1f52073496ec3d4b944bcba8ae3f7345e81 (diff)
downloadpkgsrc-4a6f7d916d97328334a3b5aa2af0d3fc9aba5d52.tar.gz
Add buildlink2.mk file for use by other package Makefiles, and by
python/pyversion.mk in particular.
Diffstat (limited to 'lang/python15')
-rw-r--r--lang/python15/buildlink2.mk23
1 files changed, 23 insertions, 0 deletions
diff --git a/lang/python15/buildlink2.mk b/lang/python15/buildlink2.mk
new file mode 100644
index 00000000000..078a80d2fcf
--- /dev/null
+++ b/lang/python15/buildlink2.mk
@@ -0,0 +1,23 @@
+# $NetBSD: buildlink2.mk,v 1.1 2002/09/20 22:33:29 jlam Exp $
+
+.if !defined(PYTHON15_BUILDLINK2_MK)
+PYTHON15_BUILDLINK2_MK= # defined
+
+BUILDLINK_PACKAGES+= python15
+BUILDLINK_DEPENDS.python15?= python15>=1.5
+BUILDLINK_PKGSRCDIR.python15?= ../../lang/python15
+
+.if defined(BUILDLINK_DEPMETHOD.python)
+BUILDLINK_DEPMETHOD.python15?= ${BUILDLINK_DEPMETHOD.python}
+.endif
+
+EVAL_PREFIX+= BUILDLINK_PREFIX.python15=python15
+BUILDLINK_PREFIX.python15_DEFAULT= ${LOCALBASE}
+BUILDLINK_FILES.python15= include/python1.5/*
+BUILDLINK_FILES.python15+= lib/python1.5/config/libpython1.5.*
+
+BUILDLINK_TARGETS+= python15-buildlink
+
+python15-buildlink: _BUILDLINK_USE
+
+.endif # PYTHON15_BUILDLINK2_MK