You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
c36a067ba5
git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@73275 d073be05-634f-4543-b044-5fe20cf6d1d6
51 lines
1.5 KiB
Plaintext
51 lines
1.5 KiB
Plaintext
# $Id$
|
|
|
|
PortSystem 1.0
|
|
|
|
name py-wxpython26
|
|
version 2.6.3.3
|
|
categories python graphics
|
|
platforms darwin
|
|
maintainers jwa
|
|
description Python interface to the wxWindows cross platform GUI
|
|
long_description wxPython is a GUI toolkit for the Python programming \
|
|
language. It allows Python programmers to create \
|
|
programs with a robust, highly functional graphical \
|
|
user interface, simply and easily. It is implemented \
|
|
as a Python extension module (native code) that wraps \
|
|
the popular wxWindows cross platform GUI library, \
|
|
which is written in C++.
|
|
|
|
homepage http://www.wxpython.org/
|
|
master_sites sourceforge:wxpython
|
|
distname wxPython-src-${version}
|
|
use_bzip2 yes
|
|
checksums sha1 e55a3a8cfbd1aff394be15297ae205a8c597bed8
|
|
patchfiles patch-config.py.diff
|
|
|
|
depends_lib port:python24 port:wxWidgets26
|
|
|
|
worksrcdir ${distname}/wxPython
|
|
|
|
extract.post_args "| tar -xf - ${worksrcdir} ${distname}/docs"
|
|
|
|
use_configure no
|
|
|
|
build.env WX_CONFIG="${prefix}/bin/wx-config" UNICODE="1" WXPORT="mac"
|
|
build.cmd ${prefix}/bin/python2.4 setup.py
|
|
build.target build
|
|
|
|
destroot.cmd ${build.cmd}
|
|
destroot.destdir --prefix=${prefix} --root=${destroot}
|
|
|
|
post-destroot {
|
|
xinstall -d -m 755 ${destroot}${prefix}/share/doc/
|
|
file copy ${worksrcpath}/docs ${destroot}${prefix}/share/doc/${name}
|
|
file copy ${worksrcpath}/samples \
|
|
${destroot}${prefix}/share/doc/${name}/examples
|
|
}
|
|
|
|
livecheck.type regex
|
|
livecheck.url ${homepage}
|
|
livecheck.regex wxPython (2\.6\.\[0-9\]+\.\[0-9\]+)
|