1 | # -*- 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 |
---|
2 | # $Id$ |
---|
3 | PortSystem 1.0 |
---|
4 | PortGroup python27 1.0 |
---|
5 | |
---|
6 | name py27-wxpython |
---|
7 | version 2.8.11.0 |
---|
8 | revision 1 |
---|
9 | categories python graphics |
---|
10 | platforms darwin |
---|
11 | maintainers jwa |
---|
12 | description Python interface to the wxWindows cross platform GUI |
---|
13 | long_description wxPython is a GUI toolkit for the Python programming \ |
---|
14 | language. It allows Python programmers to create \ |
---|
15 | programs with a robust, highly functional graphical \ |
---|
16 | user interface, simply and easily. It is implemented \ |
---|
17 | as a Python extension module (native code) that wraps \ |
---|
18 | the popular wxWindows cross platform GUI library, \ |
---|
19 | which is written in C++. |
---|
20 | |
---|
21 | homepage http://www.wxpython.org/ |
---|
22 | master_sites sourceforge:wxpython |
---|
23 | distname wxPython-src-${version} |
---|
24 | use_bzip2 yes |
---|
25 | checksums md5 63f73aae49e530852db56a31b57529fa \ |
---|
26 | sha1 18982edc236a1d87e4eef018928358c925aa5b17 \ |
---|
27 | rmd160 9e93b0acaf85ba1a4be9c324a872037c44a7694a |
---|
28 | |
---|
29 | depends_lib port:wxWidgets |
---|
30 | |
---|
31 | worksrcdir ${distname}/wxPython |
---|
32 | |
---|
33 | extract.post_args "| tar -xf - ${worksrcdir} ${distname}/docs" |
---|
34 | |
---|
35 | universal_variant no |
---|
36 | supported_archs i386 ppc |
---|
37 | |
---|
38 | build.env UNICODE="1" WXPORT="mac" PATH="${prefix}/lib/wx/config:$env(PATH)" |
---|
39 | |
---|
40 | destroot.env UNICODE="1" WXPORT="mac" PATH="${prefix}/lib/wx/config:$env(PATH)" |
---|
41 | |
---|
42 | post-destroot { |
---|
43 | xinstall -d -m 755 ${destroot}${prefix}/share/doc/ |
---|
44 | file copy ${worksrcpath}/docs ${destroot}${prefix}/share/doc/${name} |
---|
45 | file copy ${worksrcpath}/samples \ |
---|
46 | ${destroot}${prefix}/share/doc/${name}/examples |
---|
47 | } |
---|
48 | |
---|
49 | livecheck.type regex |
---|
50 | livecheck.url ${homepage} |
---|
51 | livecheck.regex wxPython (2\\.\[0-9\]+\\.\[0-9\]+\\.\[0-9\]+) |
---|