source: trunk/dports/python/py25-wxpython/Portfile @ 29789

Last change on this file since 29789 was 29789, checked in by ryandesign@…, 13 years ago

Set svn:keywords of all portfiles to Id as per current requirements

  • Property svn:keywords set to Id
File size: 1.6 KB
Line 
1# $Id: Portfile 29789 2007-10-10 07:16:12Z ryandesign@macports.org $
2
3PortSystem 1.0
4
5name            py25-wxpython
6version         2.8.6.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       sha1 da2ba5b10d708af9a4735df2ab988af32e367e64
24#patchfiles             patch-config.py
25
26depends_lib     port:python25 \
27    port:wxWidgets
28
29worksrcdir      ${distname}/wxPython
30
31extract.post_args       "| tar -xf - ${worksrcdir} ${distname}/docs"
32
33use_configure   no
34
35build.env       UNICODE="1" WXPORT="mac" PATH="${prefix}/lib/wx/config:$env(PATH)"
36build.cmd       ${prefix}/bin/python2.5 setup.py
37build.target    build
38
39destroot.env    UNICODE="1" WXPORT="mac" PATH="${prefix}/lib/wx/config:$env(PATH)"
40destroot.cmd    ${build.cmd}
41destroot.destdir        --prefix=${prefix} --root=${destroot}
42
43post-destroot {
44    xinstall -d -m 755 ${destroot}${prefix}/share/doc/
45    file copy ${worksrcpath}/docs ${destroot}${prefix}/share/doc/${name}
46    file copy ${worksrcpath}/samples \
47        ${destroot}${prefix}/share/doc/${name}/examples
48}
49
50livecheck.check regex
51livecheck.url   ${homepage}
52livecheck.regex wxPython (2\.\[0-9\]+\.\[0-9\]+\.\[0-9\]+)
Note: See TracBrowser for help on using the repository browser.