diff options
-rw-r--r-- | lang/python22/Makefile | 12 |
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} |