summaryrefslogtreecommitdiff
path: root/lang/python/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lang/python/Makefile')
-rw-r--r--lang/python/Makefile29
1 files changed, 29 insertions, 0 deletions
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"