[34787] trunk/dports/lang/python23/Portfile

raimue at macports.org raimue at macports.org
Wed Mar 5 08:18:15 PST 2008


Revision: 34787
          http://trac.macosforge.org/projects/macports/changeset/34787
Author:   raimue at macports.org
Date:     2008-03-05 08:18:12 -0800 (Wed, 05 Mar 2008)

Log Message:
-----------
python/python23:
Remove deprecated cd command, closes #14561

Modified Paths:
--------------
    trunk/dports/lang/python23/Portfile

Modified: trunk/dports/lang/python23/Portfile
===================================================================
--- trunk/dports/lang/python23/Portfile	2008-03-05 10:32:29 UTC (rev 34786)
+++ trunk/dports/lang/python23/Portfile	2008-03-05 16:18:12 UTC (rev 34787)
@@ -1,6 +1,7 @@
 # $Id$
 
 PortSystem			1.0
+
 name				python23
 version				2.3.6
 revision                        1
@@ -35,13 +36,12 @@
 }
 
 post-destroot {
-	cd ${destroot}${prefix}
-	file delete bin/python
-	file rename share/man/man1/python.1 share/man/man1/python2.3.1
-	file rename bin/pydoc bin/pydoc2.3
-	file rename bin/idle bin/idle2.3
+	file delete ${destroot}${prefix}/bin/python
+	file rename ${destroot}${prefix}/share/man/man1/python.1 share/man/man1/python2.3.1
+	file rename ${destroot}${prefix}/bin/pydoc bin/pydoc2.3
+	file rename ${destroot}${prefix}/bin/idle bin/idle2.3
 	reinplace "s|${prefix}/bin/python|${prefix}/bin/python2.3|g" \
-		bin/pydoc2.3 bin/idle2.3
+		${destroot}${prefix}/bin/pydoc2.3 ${destroot}${prefix}/bin/idle2.3
 
 	# install select file for python_select
 	xinstall -m 755 -d ${destroot}${prefix}/etc/select/python

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080305/dfc834ca/attachment.html 


More information about the macports-changes mailing list