source: trunk/dports/python/py26-wxpython/Portfile @ 50984

Last change on this file since 50984 was 50984, checked in by and.damore@…, 10 years ago

Maintainer email change, second batch, mail without @macports.org domain are put in domain:user form.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.1 KB
Line 
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: Portfile 50984 2009-05-14 21:08:43Z and.damore@macports.org $
3
4PortSystem          1.0
5PortGroup           python26 1.0
6
7name                py26-wxpython
8version             2.8.9.1
9categories-append   graphics
10maintainers         ucla.edu:jameskyle
11description         Python interface to the wxWindows cross platform GUI
12long_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++.
19homepage            http://www.wxpython.org/
20
21platforms           darwin
22depends_lib         port:python26 \
23                    port:wxWidgets
24
25master_sites        sourceforge:wxpython
26distname            wxPython-src-${version}
27use_bzip2           yes
28
29checksums           md5 4ad9a64e05529097618c7e48fbb10a84 \
30                    sha1 7359af790d58082330c867f5c10f51b6382d9a35 \
31                    rmd160 2b193c867a028985f8ead4084a9c1f024a1d37c6
32
33
34worksrcdir          ${distname}/wxPython
35
36extract.post_args   "| tar -xf - ${worksrcdir} ${distname}/docs"
37
38use_configure       no
39
40build.env           UNICODE="1" WXPORT="mac" PATH="${prefix}/lib/wx/config:$env(PATH)"
41build.cmd           ${prefix}/bin/python2.6 setup.py
42build.target        build
43
44destroot.env        UNICODE="1" WXPORT="mac" PATH="${python.prefix}/lib/wx/config:$env(PATH)"
45destroot.cmd        ${build.cmd}
46destroot.destdir    --prefix=${prefix} --root=${destroot}
47
48post-destroot {
49    xinstall -d -m 755 ${destroot}${prefix}/share/doc/
50    file copy ${worksrcpath}/docs ${destroot}${prefix}/share/doc/${name}
51    file copy ${worksrcpath}/samples \
52    ${destroot}${prefix}/share/doc/${name}/examples
53}
54
55livecheck.check    regex
56livecheck.url      ${homepage}
57livecheck.regex    wxPython (2\.\[0-9\]+\.\[0-9\]+\.\[0-9\]+)
Note: See TracBrowser for help on using the repository browser.