# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 # $Id$ PortSystem 1.0 PortGroup python26 1.0 name py26-wxpython version 2.8.10.1 categories-append graphics maintainers jameskyle 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/ platforms darwin depends_lib port:python26 \ port:wxWidgets-python master_sites sourceforge:wxpython distname wxPython-src-${version} use_bzip2 yes checksums md5 65d5ef166f23fe8b4c67f58df164f93e \ sha1 6598fbafd979a91f20100171fa23a91779f6dc62 \ rmd160 bb606046d140623041b988e64ab268ced9aa958f worksrcdir ${distname}/wxPython extract.post_args "| tar -xf - ${worksrcdir} ${distname}/docs" patchfiles wxpython28101_gdiwrap.diff patch.pre_args -p1 use_configure no variant carbon conflicts gtk description {use carbon} { build.args "UNICODE=1 WXPORT=mac" destroot.args "UNICODE=1 WXPORT=mac" } variant gtk conflicts carbon description {use gtk} { build.args "UNICODE=1 WXPORT=gtk2" destroot.args "UNICODE=1 WXPORT=gtk2" } if {![variant_isset carbon]} { default_variants-append +gtk } build.cmd ${python.bin} setup.py build.target build destroot.cmd ${build.cmd} destroot.destdir --prefix=${python.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.type regex livecheck.url ${homepage} livecheck.regex wxPython (2\.\[0-9\]+\.\[0-9\]+\.\[0-9\]+)