summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrillig <rillig>2006-06-16 23:28:36 +0000
committerrillig <rillig>2006-06-16 23:28:36 +0000
commitb395924fdd0402d15da2accb0b46cf48d61caf95 (patch)
tree2af2cb5314909347b2cd60e80f4c69f98039188f
parent595f8d1470cd6cde2b57cf9fbbb508327772ff53 (diff)
downloadpkgsrc-b395924fdd0402d15da2accb0b46cf48d61caf95.tar.gz
Fixed missing Python interpreter. Bumped PKGREVISION.
-rw-r--r--lang/python20/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/lang/python20/Makefile b/lang/python20/Makefile
index 57376bea551..983741465fb 100644
--- a/lang/python20/Makefile
+++ b/lang/python20/Makefile
@@ -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 @@ MODADD= -I${ZOULARIS}/include -L${ZOULARIS}/lib ${COMPILER_RPATH_FLAG}${ZOULARI
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 | \