source: trunk/dports/python/py-wxpython/Portfile @ 38508

Last change on this file since 38508 was 38508, checked in by jwa@…, 11 years ago

version bump to 2.8.8.1

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.7 KB
Line 
1# $Id: Portfile 38508 2008-07-23 12:24:31Z jwa@macports.org $
2
3PortSystem 1.0
4
5name                    py-wxpython
6version                 2.8.8.1
7categories              python graphics
8platforms               darwin
9maintainers             mww jwa
10description             Python interface to the wxWindows cross platform GUI
11long_description        wxPython is a GUI toolkit for the Python programming \
12    language. It allows Python programmers to create \
13    programs with a robust, highly functional graphical \
14    user interface, simply and easily. It is implemented \
15    as a Python extension module (native code) that wraps \
16    the popular wxWindows cross platform GUI library, \
17    which is written in C++.
18
19homepage                http://www.wxpython.org/
20master_sites    sourceforge:wxpython
21distname                wxPython-src-${version}
22use_bzip2               yes
23checksums       md5 867370c65d6878939eecf96b6ffd6ef8 \
24    sha1 96027778c9d8dbfbc08a1aecb2dbe358b947b897 \
25    rmd160 4ee33e256cc0d8caae1676b023db0b56fa435ba7
26
27#patchfiles             patch-config.py
28
29depends_lib             port:python24 \
30    port:wxWidgets
31
32worksrcdir              ${distname}/wxPython
33
34extract.post_args       "| tar -xf - ${worksrcdir} ${distname}/docs"
35
36use_configure   no
37
38build.env               UNICODE="1" WXPORT="mac" PATH="${prefix}/lib/wx-devel/bin:$env(PATH)"
39build.cmd               ${prefix}/bin/python2.4 setup.py
40build.target    build
41
42destroot.env    UNICODE="1" WXPORT="mac" PATH="${prefix}/lib/wx-devel/bin:$env(PATH)"
43destroot.cmd    ${build.cmd}
44destroot.destdir        --prefix=${prefix} --root=${destroot}
45
46post-destroot {
47    xinstall -d -m 755 ${destroot}${prefix}/share/doc/
48    file copy ${worksrcpath}/docs ${destroot}${prefix}/share/doc/${name}
49    file copy ${worksrcpath}/samples \
50        ${destroot}${prefix}/share/doc/${name}/examples
51}
52
53livecheck.check regex
54livecheck.url   ${homepage}
55livecheck.regex wxPython (2\.\[0-9\]+\.\[0-9\]+\.\[0-9\]+)
Note: See TracBrowser for help on using the repository browser.