summaryrefslogtreecommitdiff
path: root/lang/python
diff options
context:
space:
mode:
Diffstat (limited to 'lang/python')
-rw-r--r--lang/python/DESCR19
-rw-r--r--lang/python/Makefile29
-rw-r--r--lang/python/PLIST2
3 files changed, 50 insertions, 0 deletions
diff --git a/lang/python/DESCR b/lang/python/DESCR
new file mode 100644
index 00000000000..07fd9635e78
--- /dev/null
+++ b/lang/python/DESCR
@@ -0,0 +1,19 @@
+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 provides easy installation of the preferred
+version of python (selected with PYTHON_VERSION_DEFAULT)
+and installs a symbolic link from ${PKGBASE}/bin/python
+to that version.
diff --git a/lang/python/Makefile b/lang/python/Makefile
new file mode 100644
index 00000000000..c0729133aa2
--- /dev/null
+++ b/lang/python/Makefile
@@ -0,0 +1,29 @@
+# $NetBSD: Makefile,v 1.27 2004/02/06 08:37:22 lukem Exp $
+#
+
+DISTNAME= python
+PKGNAME= python-${PYVERSSUFFIX}
+CATEGORIES= lang
+MASTER_SITES= # empty
+DISTFILES= # empty
+
+MAINTAINER= lukem@NetBSD.org
+HOMEPAGE= http://www.python.org/
+COMMENT= The "meta-package" for Python
+
+EXTRACT_ONLY= # empty
+NO_CHECKSUM= yes
+NO_CONFIGURE= yes
+NO_BUILD= yes
+
+# Ensure version of python the user asks for is selected, even
+# if it's not yet installed.
+_PYTHON_VERSION=${PYTHON_VERSION_DEFAULT}
+
+do-install:
+ @${ECHO} "Linking ${PREFIX}/bin/python to ${PYTHONBIN}"
+ @${RM} -f ${PREFIX}/bin/python
+ @${LN} -s ${PYTHONBIN} ${PREFIX}/bin/python
+
+.include "../../lang/python/pyversion.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/lang/python/PLIST b/lang/python/PLIST
new file mode 100644
index 00000000000..2503ce122c7
--- /dev/null
+++ b/lang/python/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2004/02/06 08:37:22 lukem Exp $
+bin/python