[29674] trunk/dports/python

source_changes at macosforge.org source_changes at macosforge.org
Thu Oct 4 12:44:39 PDT 2007


Revision: 29674
          http://trac.macosforge.org/projects/macports/changeset/29674
Author:   mww at macports.org
Date:     2007-10-04 12:44:39 -0700 (Thu, 04 Oct 2007)

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

Modified Paths:
--------------
    trunk/dports/python/py25-bsddb/Portfile
    trunk/dports/python/py25-bz2/Portfile
    trunk/dports/python/py25-curses/Portfile
    trunk/dports/python/py25-gdbm/Portfile

Modified: trunk/dports/python/py25-bsddb/Portfile
===================================================================
--- trunk/dports/python/py25-bsddb/Portfile	2007-10-04 19:33:44 UTC (rev 29673)
+++ trunk/dports/python/py25-bsddb/Portfile	2007-10-04 19:44:39 UTC (rev 29674)
@@ -7,7 +7,7 @@
 version			2.5.1
 categories		python databases
 platforms		darwin
-maintainers		mww at macports.org
+maintainers		mww
 description		Python bindings to the db44 library
 long_description	${description}
 
@@ -31,10 +31,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/py25-bz2/Portfile
===================================================================
--- trunk/dports/python/py25-bz2/Portfile	2007-10-04 19:33:44 UTC (rev 29673)
+++ trunk/dports/python/py25-bz2/Portfile	2007-10-04 19:44:39 UTC (rev 29674)
@@ -7,7 +7,7 @@
 version			2.5.1
 categories		python
 platforms		darwin
-maintainers		mww at macports.org
+maintainers		mww
 description		Python bindings to bzip2
 long_description	${description}
 
@@ -31,10 +31,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/py25-curses/Portfile
===================================================================
--- trunk/dports/python/py25-curses/Portfile	2007-10-04 19:33:44 UTC (rev 29673)
+++ trunk/dports/python/py25-curses/Portfile	2007-10-04 19:44:39 UTC (rev 29674)
@@ -7,7 +7,7 @@
 version			2.5.1
 categories		python
 platforms		darwin
-maintainers		mww at macports.org
+maintainers		mww
 description		Python bindings to ncurses
 long_description	Python modules curses and curses-panel
 
@@ -29,10 +29,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/py25-gdbm/Portfile
===================================================================
--- trunk/dports/python/py25-gdbm/Portfile	2007-10-04 19:33:44 UTC (rev 29673)
+++ trunk/dports/python/py25-gdbm/Portfile	2007-10-04 19:44:39 UTC (rev 29674)
@@ -7,7 +7,7 @@
 version			2.5.1
 categories		python databases
 platforms		darwin
-maintainers		mww at macports.org
+maintainers		mww
 description		Python bindings to the GNU dbm library
 long_description	${description}
 
@@ -28,9 +28,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

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


More information about the macports-changes mailing list