summaryrefslogtreecommitdiff
path: root/lang/python20
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2006-06-16 23:28:36 +0000
committerrillig <rillig@pkgsrc.org>2006-06-16 23:28:36 +0000
commitf095b1336d36b57019f3fae0f82e5aa1462d6064 (patch)
tree2af2cb5314909347b2cd60e80f4c69f98039188f /lang/python20
parent191a9b0688ea5e38f897125328e2a7c9ab00d4bf (diff)
downloadpkgsrc-f095b1336d36b57019f3fae0f82e5aa1462d6064.tar.gz
Fixed missing Python interpreter. Bumped PKGREVISION.
Diffstat (limited to 'lang/python20')
-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 | \