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 | |
---|
4 | PortSystem 1.0 |
---|
5 | PortGroup python26 1.0 |
---|
6 | |
---|
7 | name py26-wxpython |
---|
8 | version 2.8.9.1 |
---|
9 | categories-append graphics |
---|
10 | maintainers jameskyle@ucla.edu |
---|
11 | description Python interface to the wxWindows cross platform GUI |
---|
12 | long_description wxPython is a GUI toolkit for the Python programming \ |
---|
13 | language. It allows Python programmers to create \ |
---|
14 | programs with a robust, highly functional graphical \ |
---|
15 | user interface, simply and easily. It is implemented \ |
---|
16 | as a Python extension module (native code) that wraps \ |
---|
17 | the popular wxWindows cross platform GUI library, \ |
---|
18 | which is written in C++. |
---|
19 | homepage http://www.wxpython.org/ |
---|
20 | |
---|
21 | platforms darwin |
---|
22 | depends_lib port:python26 \ |
---|
23 | port:wxWidgets |
---|
24 | |
---|
25 | master_sites sourceforge:wxpython |
---|
26 | distname wxPython-src-${version} |
---|
27 | use_bzip2 yes |
---|
28 | |
---|
29 | checksums md5 4ad9a64e05529097618c7e48fbb10a84 \ |
---|
30 | sha1 7359af790d58082330c867f5c10f51b6382d9a35 \ |
---|
31 | rmd160 2b193c867a028985f8ead4084a9c1f024a1d37c6 |
---|
32 | |
---|
33 | |
---|
34 | worksrcdir ${distname}/wxPython |
---|
35 | |
---|
36 | extract.post_args "| tar -xf - ${worksrcdir} ${distname}/docs" |
---|
37 | |
---|
38 | build.env CC="gcc-mp-4.3" UNICODE="1" WXPORT="mac" PATH="${python.prefix}/lib/wx/config:$env(PATH)" |
---|
39 | |
---|
40 | destroot.env UNICODE="1" WXPORT="mac" PATH="${python.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.check regex |
---|
50 | livecheck.url ${homepage} |
---|
51 | livecheck.regex wxPython (2\.\[0-9\]+\.\[0-9\]+\.\[0-9\]+) |
---|