[29672] trunk/dports/python

source_changes at macosforge.org source_changes at macosforge.org
Thu Oct 4 10:45:07 PDT 2007


Revision: 29672
          http://trac.macosforge.org/projects/macports/changeset/29672
Author:   mww at macports.org
Date:     2007-10-04 10:45:07 -0700 (Thu, 04 Oct 2007)

Log Message:
-----------
remove 'cd'

Modified Paths:
--------------
    trunk/dports/python/py30-bsddb/Portfile
    trunk/dports/python/py30-bz2/Portfile
    trunk/dports/python/py30-curses/Portfile
    trunk/dports/python/py30-gdbm/Portfile
    trunk/dports/python/py30-sqlite3/Portfile
    trunk/dports/python/py30-zlib/Portfile

Modified: trunk/dports/python/py30-bsddb/Portfile
===================================================================
--- trunk/dports/python/py30-bsddb/Portfile	2007-10-04 17:37:09 UTC (rev 29671)
+++ trunk/dports/python/py30-bsddb/Portfile	2007-10-04 17:45:07 UTC (rev 29672)
@@ -40,10 +40,9 @@
 depends_lib-append	port:db44
 
 configure	{
-	cd ${worksrcpath}
-	reinplace "s|__VERSION__|${version}|g" setup.py
-	reinplace "s|__LIBDIR__|${libdir}|g" setup.py
-	reinplace "s|__INCDIR__|${incdir}|g" setup.py
+	reinplace "s|__VERSION__|${version}|g" ${worksrcpath}/setup.py
+	reinplace "s|__LIBDIR__|${libdir}|g" ${worksrcpath}/setup.py
+	reinplace "s|__INCDIR__|${incdir}|g" ${worksrcpath}/setup.py
 }
 
 livecheck.check	regex

Modified: trunk/dports/python/py30-bz2/Portfile
===================================================================
--- trunk/dports/python/py30-bz2/Portfile	2007-10-04 17:37:09 UTC (rev 29671)
+++ trunk/dports/python/py30-bz2/Portfile	2007-10-04 17:45:07 UTC (rev 29672)
@@ -41,10 +41,9 @@
 depends_lib		port:python25 port:bzip2
 
 configure	{
-	cd ${worksrcpath}
-	reinplace "s|__VERSION__|${version}|g" setup.py
-	reinplace "s|__LIBDIR__|${libdir}|g" setup.py
-	reinplace "s|__INCDIR__|${incdir}|g" setup.py
+	reinplace "s|__VERSION__|${version}|g" ${worksrcpath}/setup.py
+	reinplace "s|__LIBDIR__|${libdir}|g" ${worksrcpath}/setup.py
+	reinplace "s|__INCDIR__|${incdir}|g" ${worksrcpath}/setup.py
 }
 
 livecheck.check	regex

Modified: trunk/dports/python/py30-curses/Portfile
===================================================================
--- trunk/dports/python/py30-curses/Portfile	2007-10-04 17:37:09 UTC (rev 29671)
+++ trunk/dports/python/py30-curses/Portfile	2007-10-04 17:45:07 UTC (rev 29672)
@@ -39,10 +39,9 @@
 depends_lib-append	port:ncursesw
 
 configure	{
-	cd ${worksrcpath}
-	reinplace "s|__VERSION__|${version}|g" setup.py
-	reinplace "s|__LIBDIR__|${prefix}/lib|g" setup.py
-	reinplace "s|__INCDIR__|${prefix}/include|g" setup.py
+	reinplace "s|__VERSION__|${version}|g" ${worksrcpath}/setup.py
+	reinplace "s|__LIBDIR__|${prefix}/lib|g" ${worksrcpath}/setup.py
+	reinplace "s|__INCDIR__|${prefix}/include|g" ${worksrcpath}/setup.py
 }
 
 livecheck.check	regex

Modified: trunk/dports/python/py30-gdbm/Portfile
===================================================================
--- trunk/dports/python/py30-gdbm/Portfile	2007-10-04 17:37:09 UTC (rev 29671)
+++ trunk/dports/python/py30-gdbm/Portfile	2007-10-04 17:45:07 UTC (rev 29672)
@@ -38,9 +38,8 @@
 }
 
 patch {
-	cd ${worksrcpath}
-	reinplace "s|__VERSION__|${version}|g" setup.py
-	reinplace "s|__PREFIX__|${prefix}|g" setup.py
+	reinplace "s|__VERSION__|${version}|g" ${worksrcpath}/setup.py
+	reinplace "s|__PREFIX__|${prefix}|g" ${worksrcpath}/setup.py
 }
 
 livecheck.check	regex

Modified: trunk/dports/python/py30-sqlite3/Portfile
===================================================================
--- trunk/dports/python/py30-sqlite3/Portfile	2007-10-04 17:37:09 UTC (rev 29671)
+++ trunk/dports/python/py30-sqlite3/Portfile	2007-10-04 17:45:07 UTC (rev 29672)
@@ -40,10 +40,9 @@
 depends_lib-append	port:sqlite3
 
 configure	{
-	cd ${worksrcpath}
-	reinplace "s|__VERSION__|${version}|g" setup.py
-	reinplace "s|__LIBDIR__|${libdir}|g" setup.py
-	reinplace "s|__INCDIR__|${incdir}|g" setup.py
+	reinplace "s|__VERSION__|${version}|g" ${worksrcpath}/setup.py
+	reinplace "s|__LIBDIR__|${libdir}|g" ${worksrcpath}/setup.py
+	reinplace "s|__INCDIR__|${incdir}|g" ${worksrcpath}/setup.py
 }
 
 livecheck.check	regex

Modified: trunk/dports/python/py30-zlib/Portfile
===================================================================
--- trunk/dports/python/py30-zlib/Portfile	2007-10-04 17:37:09 UTC (rev 29671)
+++ trunk/dports/python/py30-zlib/Portfile	2007-10-04 17:45:07 UTC (rev 29672)
@@ -38,10 +38,9 @@
 depends_lib-append	port:zlib
 
 configure	{
-	cd ${worksrcpath}
-	reinplace "s|__VERSION__|${version}|g" setup.py
-	reinplace "s|__LIBDIR__|${prefix}/lib|g" setup.py
-	reinplace "s|__INCDIR__|${prefix}/include|g" setup.py
+	reinplace "s|__VERSION__|${version}|g" ${worksrcpath}/setup.py
+	reinplace "s|__LIBDIR__|${prefix}/lib|g" ${worksrcpath}/setup.py
+	reinplace "s|__INCDIR__|${prefix}/include|g" ${worksrcpath}/setup.py
 }
 
 livecheck.check	regex

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


More information about the macports-changes mailing list