Files
macports-ports/python/py27-wxpython/Portfile
T
2011-10-13 00:24:17 +00:00

54 lines
1.6 KiB
Plaintext

# $Id$
PortSystem 1.0
PortGroup python27 1.0
name py27-wxpython
version 2.8.12.0
categories python graphics
platforms darwin
maintainers 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 402e0b81e06f596d849e221a7a76acc6 \
sha1 f9ce806dcb5517beb6e3d2ee0ecbf8e569b7f8e4 \
rmd160 6420a8e6e59386b344ac058435a4ae6693c2c04b
depends_lib-append port:wxWidgets
worksrcdir ${distname}/wxPython
extract.post_args "| tar -xf - ${worksrcdir} ${distname}/docs"
universal_variant no
# wxWidgets is not 64-bit
supported_archs i386 ppc
build.env UNICODE="1" WXPORT="mac" PATH="${prefix}/lib/wx/config:$env(PATH)"
destroot.env UNICODE="1" WXPORT="mac" PATH="${prefix}/lib/wx/config:$env(PATH)"
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\]+)