summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2006-06-17 22:07:33 +0000
committerrillig <rillig@pkgsrc.org>2006-06-17 22:07:33 +0000
commitd47b6923998dbcbe4f33c2d9dc73046e7a622ac9 (patch)
tree80de290f224987e2d1286ec37be8712a9f931a71 /lang
parentf297c3f6357294cf1b5047f01389acfd80b9155d (diff)
downloadpkgsrc-d47b6923998dbcbe4f33c2d9dc73046e7a622ac9.tar.gz
Fixed path to the Python interpreter. Bumped PKGREVISION.
Diffstat (limited to 'lang')
-rw-r--r--lang/python22/Makefile12
1 files changed, 10 insertions, 2 deletions
diff --git a/lang/python22/Makefile b/lang/python22/Makefile
index 81523250d48..a801a1c3899 100644
--- a/lang/python22/Makefile
+++ b/lang/python22/Makefile
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.32 2006/04/13 02:26:54 joerg Exp $
+# $NetBSD: Makefile,v 1.33 2006/06/17 22:07:33 rillig Exp $
#
DISTNAME= Python-2.2.3
PKGNAME= python22-2.2.3
-PKGREVISION= 8
+PKGREVISION= 9
CATEGORIES= lang python
MASTER_SITES= ftp://ftp.python.org/pub/python/2.2.3/
EXTRACT_SUFX= .tgz
@@ -47,6 +47,14 @@ PLIST_SUBST+= PY_VER_SUFFIX=${PY_VER_SUFFIX:Q}
INSTALL_TARGET= altinstall
+SUBST_CLASSES+= py22
+SUBST_STAGE.py22= pre-configure
+SUBST_MESSAGE.py22= Fixing path to the Python interpreter.
+SUBST_FILES.py22= Lib/encodings/rot_13.py
+SUBST_FILES.py22+= Lib/test/test_largefile.py
+SUBST_FILES.py22+= Lib/cgi.py
+SUBST_SED.py22= -e '1s,^\#!.*,\#! ${PREFIX}/bin/python2.2,'
+
post-extract:
${MV} ${WRKSRC}/Tools/scripts/pydoc ${WRKSRC}/Tools/scripts/pydoc${PY_VER_SUFFIX}