summaryrefslogtreecommitdiff
path: root/lang/python21-pth
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/python21-pth
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/python21-pth')
-rw-r--r--lang/python21-pth/buildlink2.mk23
1 files changed, 23 insertions, 0 deletions
diff --git a/lang/python21-pth/buildlink2.mk b/lang/python21-pth/buildlink2.mk
new file mode 100644
index 00000000000..dd06aeb20d4
--- /dev/null
+++ b/lang/python21-pth/buildlink2.mk
@@ -0,0 +1,23 @@
+# $NetBSD: buildlink2.mk,v 1.1 2002/09/20 22:33:30 jlam Exp $
+
+.if !defined(PYTHON21_BUILDLINK2_MK)
+PYTHON21_BUILDLINK2_MK= # defined
+
+BUILDLINK_PACKAGES+= python21-pth
+BUILDLINK_DEPENDS.python21-pth?= python21-pth>=2.1
+BUILDLINK_PKGSRCDIR.python21-pth?= ../../lang/python21-pth
+
+.if defined(BUILDLINK_DEPMETHOD.python)
+BUILDLINK_DEPMETHOD.python21-pth?= ${BUILDLINK_DEPMETHOD.python}
+.endif
+
+EVAL_PREFIX+= BUILDLINK_PREFIX.python21-pth=python21-pth
+BUILDLINK_PREFIX.python21-pth_DEFAULT= ${LOCALBASE}
+BUILDLINK_FILES.python21-pth= include/python2p1/*
+BUILDLINK_FILES.python21-pth+= lib/python2p1/config/libpython2p1.*
+
+BUILDLINK_TARGETS+= python21-pth-buildlink
+
+python21-pth-buildlink: _BUILDLINK_USE
+
+.endif # PYTHON21_BUILDLINK2_MK