pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/python20 Fixed missing Python interpreter. Bumped...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f643d8b9e4ff
branches:  trunk
changeset: 514704:f643d8b9e4ff
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Fri Jun 16 23:28:36 2006 +0000

description:
Fixed missing Python interpreter. Bumped PKGREVISION.

diffstat:

 lang/python20/Makefile |  9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diffs (27 lines):

diff -r 2159f952d537 -r f643d8b9e4ff lang/python20/Makefile
--- a/lang/python20/Makefile    Fri Jun 16 19:15:19 2006 +0000
+++ b/lang/python20/Makefile    Fri Jun 16 23:28:36 2006 +0000
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.30 2006/04/13 02:26:54 joerg Exp $
+# $NetBSD: Makefile,v 1.31 2006/06/16 23:28:36 rillig Exp $
 #
 
 DISTNAME=      Python-2.0.1
 PKGNAME=       python20-2.0.1
-PKGREVISION=   12
+PKGREVISION=   13
 CATEGORIES=    lang python
 MASTER_SITES=  ftp://ftp.python.org/pub/python/2.0.1/
 EXTRACT_SUFX=  .tgz
@@ -47,6 +47,11 @@
 FIX_RPATH+=    MODADD
 .endif
 
+REPLACE_INTERPRETER+=  py
+REPLACE.py.old=                .*python
+REPLACE.py.new=                ${PREFIX}/bin/python2.0
+REPLACE_FILES.py=      Lib/cgi.py
+
 post-install:
        ${CAT} ${PKGDIR}/PLIST.pre >${PLIST_SRC}
        (cd ${PREFIX}; ${FIND} lib/python2.0 -type f -print | \



Home | Main Index | Thread Index | Old Index