[47939] trunk/dports/python/py26-wxpython/Portfile
snc at macports.org
snc at macports.org
Tue Mar 10 11:14:30 PDT 2009
Revision: 47939
http://trac.macports.org/changeset/47939
Author: snc at macports.org
Date: 2009-03-10 11:14:30 -0700 (Tue, 10 Mar 2009)
Log Message:
-----------
cleaned up by mimicking py25-wxpython
Modified Paths:
--------------
trunk/dports/python/py26-wxpython/Portfile
Modified: trunk/dports/python/py26-wxpython/Portfile
===================================================================
--- trunk/dports/python/py26-wxpython/Portfile 2009-03-10 18:07:08 UTC (rev 47938)
+++ trunk/dports/python/py26-wxpython/Portfile 2009-03-10 18:14:30 UTC (rev 47939)
@@ -35,9 +35,15 @@
extract.post_args "| tar -xf - ${worksrcdir} ${distname}/docs"
-build.env CC="gcc-mp-4.3" UNICODE="1" WXPORT="mac" PATH="${python.prefix}/lib/wx/config:$env(PATH)"
+use_configure no
+build.env UNICODE="1" WXPORT="mac" PATH="${prefix}/lib/wx/config:$env(PATH)"
+build.cmd ${prefix}/bin/python2.6 setup.py
+build.target build
+
destroot.env UNICODE="1" WXPORT="mac" PATH="${python.prefix}/lib/wx/config:$env(PATH)"
+destroot.cmd ${build.cmd}
+destroot.destdir --prefix=${prefix} --root=${destroot}
post-destroot {
xinstall -d -m 755 ${destroot}${prefix}/share/doc/
@@ -47,5 +53,5 @@
}
livecheck.check regex
-livecheck.url ${homepage}
+livecheck.url ${homepage}
livecheck.regex wxPython (2\.\[0-9\]+\.\[0-9\]+\.\[0-9\]+)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090310/e8c8f0eb/attachment-0001.html>
More information about the macports-changes
mailing list