summaryrefslogtreecommitdiff
path: root/lang/python24/buildlink3.mk
diff options
context:
space:
mode:
authorrecht <recht@pkgsrc.org>2004-12-05 23:27:28 +0000
committerrecht <recht@pkgsrc.org>2004-12-05 23:27:28 +0000
commitbd1aff620ab62de3bba3c8498274a2189da32f71 (patch)
tree9f319c0581efe31f259b01ed518b81b6ec9b7476 /lang/python24/buildlink3.mk
parent915afb153f7d7777b30397ac9476ff4815aaf37b (diff)
downloadpkgsrc-bd1aff620ab62de3bba3c8498274a2189da32f71.tar.gz
initial import of Python 2.4
Python is an interpreted, interactive, object-oriented programming language that combines remarkable power with very clear syntax. For an introduction to programming in Python you are referred to the Python Tutorial. The Python Library Reference documents built-in and standard types, constants, functions and modules. Finally, the Python Reference Manual describes the syntax and semantics of the core language in (perhaps too) much detail. Python's basic power can be extended with your own modules written in C or C++. On most systems such modules may be dynamically loaded. Python is also adaptable as an exten- sion language for existing applications. See the internal documentation for hints. This package has been compiled without support for threads.
Diffstat (limited to 'lang/python24/buildlink3.mk')
-rw-r--r--lang/python24/buildlink3.mk27
1 files changed, 27 insertions, 0 deletions
diff --git a/lang/python24/buildlink3.mk b/lang/python24/buildlink3.mk
new file mode 100644
index 00000000000..69720862c16
--- /dev/null
+++ b/lang/python24/buildlink3.mk
@@ -0,0 +1,27 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2004/12/05 23:27:45 recht Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+PYTHON24_BUILDLINK3_MK:= ${PYTHON24_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= python24
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Npython24}
+BUILDLINK_PACKAGES+= python24
+
+.if !empty(PYTHON24_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.python24+= python24>=2.4
+BUILDLINK_PKGSRCDIR.python24?= ../../lang/python24
+
+.if defined(BUILDLINK_DEPMETHOD.python)
+BUILDLINK_DEPMETHOD.python24?= ${BUILDLINK_DEPMETHOD.python}
+.endif
+
+BUILDLINK_INCDIRS.python24+= include/python2.4
+BUILDLINK_LIBDIRS.python24+= lib/python2.4/config
+BUILDLINK_TRANSFORM+= l:python:python2.4
+
+.endif # PYTHON24_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}