1 | # $Id$ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | PortGroup python26 1.0 |
---|
5 | |
---|
6 | name py26-wxpython-devel |
---|
7 | version 2.9.3.1 |
---|
8 | |
---|
9 | categories python graphics |
---|
10 | platforms darwin |
---|
11 | maintainers gmx.de:christsc |
---|
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 11f5a423c05c43b4ff8c9f11f1986f04 \ |
---|
26 | sha1 0202f64e1e99fb69d22d7be0d38cf7dcf3d80d79 \ |
---|
27 | rmd160 cd19b1d07d39c7918c72cf124f4f5cd48836d781 |
---|
28 | |
---|
29 | depends_lib port:wxWidgets-devel |
---|
30 | |
---|
31 | worksrcdir ${distname}/wxPython |
---|
32 | |
---|
33 | extract.post_args "| tar -xf - ${worksrcdir} ${distname}/docs" |
---|
34 | |
---|
35 | universal_variant no |
---|
36 | |
---|
37 | build.env UNICODE="1" WXPORT="osx_cocoa" PATH="${prefix}/lib/wx/config:$env(PATH)" |
---|
38 | |
---|
39 | destroot.env UNICODE="1" WXPORT="osx_cocoa" PATH="${prefix}/lib/wx/config:$env(PATH)" |
---|
40 | |
---|
41 | if {${os.platform} == "darwin" && ${os.major} >= 10} { |
---|
42 | patchfiles patch-config.py.diff |
---|
43 | } |
---|
44 | |
---|
45 | post-destroot { |
---|
46 | xinstall -d -m 755 ${destroot}${prefix}/share/doc/ |
---|
47 | file copy ${worksrcpath}/docs ${destroot}${prefix}/share/doc/${name} |
---|
48 | file copy ${worksrcpath}/samples \ |
---|
49 | ${destroot}${prefix}/share/doc/${name}/examples |
---|
50 | } |
---|
51 | |
---|
52 | livecheck.type regex |
---|
53 | livecheck.url ${homepage} |
---|
54 | livecheck.regex wxPython(?: | \\(classic\\) )(2\\.\[0-9\]+\\.\[0-9\]+\\.\[0-9\]+) |
---|