summaryrefslogtreecommitdiff
path: root/lang/python20
diff options
context:
space:
mode:
Diffstat (limited to 'lang/python20')
-rw-r--r--lang/python20/buildlink2.mk23
1 files changed, 23 insertions, 0 deletions
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