# $Id: Portfile 37920 2008-06-29 12:36:29Z jwa@macports.org $ PortSystem 1.0 name py-wxpython version 2.8.8.0 categories python graphics platforms darwin maintainers mww jwa description Python interface to the wxWindows cross platform GUI long_description wxPython is a GUI toolkit for the Python programming \ language. It allows Python programmers to create \ programs with a robust, highly functional graphical \ user interface, simply and easily. It is implemented \ as a Python extension module (native code) that wraps \ the popular wxWindows cross platform GUI library, \ which is written in C++. homepage http://www.wxpython.org/ master_sites sourceforge:wxpython distname wxPython-src-${version} use_bzip2 yes checksums md5 87b974dda37e7ae4ac25a0d0c94ec8a5 \ sha1 5b9282e99c0369e6c0b9ea980101cce4cfc33446 \ rmd160 9a3c499457e12be9a6cfa8342041d2c91fab05bd #patchfiles patch-config.py depends_lib port:python24 \ port:wxWidgets worksrcdir ${distname}/wxPython extract.post_args "| tar -xf - ${worksrcdir} ${distname}/docs" use_configure no build.env UNICODE="1" WXPORT="mac" PATH="${prefix}/lib/wx-devel/bin:$env(PATH)" build.cmd ${prefix}/bin/python2.4 setup.py build.target build destroot.env UNICODE="1" WXPORT="mac" PATH="${prefix}/lib/wx-devel/bin:$env(PATH)" destroot.cmd ${build.cmd} destroot.destdir --prefix=${prefix} --root=${destroot} post-destroot { xinstall -d -m 755 ${destroot}${prefix}/share/doc/ file copy ${worksrcpath}/docs ${destroot}${prefix}/share/doc/${name} file copy ${worksrcpath}/samples \ ${destroot}${prefix}/share/doc/${name}/examples } livecheck.check regex livecheck.url ${homepage} livecheck.regex wxPython (2\.\[0-9\]+\.\[0-9\]+\.\[0-9\]+)