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

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

version bump to 2.8.8.0, closes ticket 15768

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.7 KB
Line 
1# $Id: Portfile 37920 2008-06-29 12:36:29Z jwa@macports.org $
2
3PortSystem 1.0
4
5name                    py-wxpython
6version                 2.8.8.0
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 87b974dda37e7ae4ac25a0d0c94ec8a5 \
24    sha1 5b9282e99c0369e6c0b9ea980101cce4cfc33446 \
25    rmd160 9a3c499457e12be9a6cfa8342041d2c91fab05bd
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.