[47929] trunk/dports/python

snc at macports.org snc at macports.org
Tue Mar 10 07:48:05 PDT 2009


Revision: 47929
          http://trac.macports.org/changeset/47929
Author:   snc at macports.org
Date:     2009-03-10 07:48:04 -0700 (Tue, 10 Mar 2009)
Log Message:
-----------
created py26-wxpython, ticket #18561

Added Paths:
-----------
    trunk/dports/python/py26-wxpython/
    trunk/dports/python/py26-wxpython/Portfile

Added: trunk/dports/python/py26-wxpython/Portfile
===================================================================
--- trunk/dports/python/py26-wxpython/Portfile	                        (rev 0)
+++ trunk/dports/python/py26-wxpython/Portfile	2009-03-10 14:48:04 UTC (rev 47929)
@@ -0,0 +1,51 @@
+# -*- 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
+# $Id$
+
+PortSystem          1.0
+PortGroup           python26 1.0
+
+name                py26-wxpython
+version             2.8.9.1
+categories-append   graphics
+maintainers         jameskyle at ucla.edu
+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/
+
+platforms           darwin
+depends_lib         port:python26 \
+                    port:wxWidgets
+
+master_sites        sourceforge:wxpython
+distname            wxPython-src-${version}
+use_bzip2           yes
+
+checksums           md5 4ad9a64e05529097618c7e48fbb10a84 \
+                    sha1 7359af790d58082330c867f5c10f51b6382d9a35 \
+                    rmd160 2b193c867a028985f8ead4084a9c1f024a1d37c6
+
+
+worksrcdir          ${distname}/wxPython
+
+extract.post_args   "| tar -xf - ${worksrcdir} ${distname}/docs"
+
+build.env           CC="gcc-mp-4.3" UNICODE="1" WXPORT="mac" PATH="${python.prefix}/lib/wx/config:$env(PATH)"
+
+destroot.env        UNICODE="1" WXPORT="mac" PATH="${python.prefix}/lib/wx/config:$env(PATH)"
+
+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.check    regex
+livecheck.url    ${homepage}
+livecheck.regex    wxPython (2\.\[0-9\]+\.\[0-9\]+\.\[0-9\]+)


Property changes on: trunk/dports/python/py26-wxpython/Portfile
___________________________________________________________________
Added: svn:keywords
   + Id
Added: svn:eol-style
   + native
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090310/d2ab6ec5/attachment.html>


More information about the macports-changes mailing list