summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
Diffstat (limited to 'lang')
-rw-r--r--lang/python15/buildlink2.mk23
-rw-r--r--lang/python20/buildlink2.mk23
-rw-r--r--lang/python21-pth/buildlink2.mk23
-rw-r--r--lang/python21/buildlink2.mk23
-rw-r--r--lang/python22/buildlink2.mk23
5 files changed, 115 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
diff --git a/lang/python20/buildlink2.mk b/lang/python20/buildlink2.mk
new file mode 100644
index 00000000000..a60f8498f36
--- /dev/null
+++ b/lang/python20/buildlink2.mk
@@ -0,0 +1,23 @@
+# $NetBSD: buildlink2.mk,v 1.1 2002/09/20 22:33:30 jlam Exp $
+
+.if !defined(PYTHON20_BUILDLINK2_MK)
+PYTHON20_BUILDLINK2_MK= # defined
+
+BUILDLINK_PACKAGES+= python20
+BUILDLINK_DEPENDS.python20?= python20>=2.0
+BUILDLINK_PKGSRCDIR.python20?= ../../lang/python20
+
+.if defined(BUILDLINK_DEPMETHOD.python)
+BUILDLINK_DEPMETHOD.python20?= ${BUILDLINK_DEPMETHOD.python}
+.endif
+
+EVAL_PREFIX+= BUILDLINK_PREFIX.python20=python20
+BUILDLINK_PREFIX.python20_DEFAULT= ${LOCALBASE}
+BUILDLINK_FILES.python20= include/python2.0/*
+BUILDLINK_FILES.python20+= lib/python2.0/config/libpython2.0.*
+
+BUILDLINK_TARGETS+= python20-buildlink
+
+python20-buildlink: _BUILDLINK_USE
+
+.endif # PYTHON20_BUILDLINK2_MK
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
diff --git a/lang/python21/buildlink2.mk b/lang/python21/buildlink2.mk
new file mode 100644
index 00000000000..71727e15e54
--- /dev/null
+++ b/lang/python21/buildlink2.mk
@@ -0,0 +1,23 @@
+# $NetBSD: buildlink2.mk,v 1.1 2002/09/20 22:33:31 jlam Exp $
+
+.if !defined(PYTHON21_BUILDLINK2_MK)
+PYTHON21_BUILDLINK2_MK= # defined
+
+BUILDLINK_PACKAGES+= python21
+BUILDLINK_DEPENDS.python21?= python21>=2.1
+BUILDLINK_PKGSRCDIR.python21?= ../../lang/python21
+
+.if defined(BUILDLINK_DEPMETHOD.python)
+BUILDLINK_DEPMETHOD.python21?= ${BUILDLINK_DEPMETHOD.python}
+.endif
+
+EVAL_PREFIX+= BUILDLINK_PREFIX.python21=python21
+BUILDLINK_PREFIX.python21_DEFAULT= ${LOCALBASE}
+BUILDLINK_FILES.python21= include/python2.1/*
+BUILDLINK_FILES.python21+= lib/python2.1/config/libpython2.1.*
+
+BUILDLINK_TARGETS+= python21-buildlink
+
+python21-buildlink: _BUILDLINK_USE
+
+.endif # PYTHON21_BUILDLINK2_MK
diff --git a/lang/python22/buildlink2.mk b/lang/python22/buildlink2.mk
new file mode 100644
index 00000000000..252a751c0d2
--- /dev/null
+++ b/lang/python22/buildlink2.mk
@@ -0,0 +1,23 @@
+# $NetBSD: buildlink2.mk,v 1.1 2002/09/20 22:33:31 jlam Exp $
+
+.if !defined(PYTHON22_BUILDLINK2_MK)
+PYTHON22_BUILDLINK2_MK= # defined
+
+BUILDLINK_PACKAGES+= python22
+BUILDLINK_DEPENDS.python22?= python22>=2.2
+BUILDLINK_PKGSRCDIR.python22?= ../../lang/python22
+
+.if defined(BUILDLINK_DEPMETHOD.python)
+BUILDLINK_DEPMETHOD.python22?= ${BUILDLINK_DEPMETHOD.python}
+.endif
+
+EVAL_PREFIX+= BUILDLINK_PREFIX.python22=python22
+BUILDLINK_PREFIX.python22_DEFAULT= ${LOCALBASE}
+BUILDLINK_FILES.python22= include/python2.2/*
+BUILDLINK_FILES.python22+= lib/python2.2/config/libpython2.2.*
+
+BUILDLINK_TARGETS+= python22-buildlink
+
+python22-buildlink: _BUILDLINK_USE
+
+.endif # PYTHON22_BUILDLINK2_MK