[29639] trunk/dports/python/py25-zlib/Portfile

source_changes at macosforge.org source_changes at macosforge.org
Thu Oct 4 05:31:08 PDT 2007


Revision: 29639
          http://trac.macosforge.org/projects/macports/changeset/29639
Author:   nox at macports.org
Date:     2007-10-04 05:31:07 -0700 (Thu, 04 Oct 2007)

Log Message:
-----------
py25-zlib: Removed cd calls.

Modified Paths:
--------------
    trunk/dports/python/py25-zlib/Portfile

Modified: trunk/dports/python/py25-zlib/Portfile
===================================================================
--- trunk/dports/python/py25-zlib/Portfile	2007-10-04 12:22:00 UTC (rev 29638)
+++ trunk/dports/python/py25-zlib/Portfile	2007-10-04 12:31:07 UTC (rev 29639)
@@ -27,11 +27,10 @@
 
 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
+configure {
+	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/5b572397/attachment.html


More information about the macports-changes mailing list