[28404] trunk/dports/python

source_changes at macosforge.org source_changes at macosforge.org
Thu Aug 30 04:04:45 PDT 2007


Revision: 28404
          http://trac.macosforge.org/projects/macports/changeset/28404
Author:   jwa at macports.org
Date:     2007-08-30 04:04:45 -0700 (Thu, 30 Aug 2007)

Log Message:
-----------
seeing that this port is already referred to, it could be a good idea to have it:-), initial at 2.8.4.0

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

Added: trunk/dports/python/py25-wxpython/Portfile
===================================================================
--- trunk/dports/python/py25-wxpython/Portfile	                        (rev 0)
+++ trunk/dports/python/py25-wxpython/Portfile	2007-08-30 11:04:45 UTC (rev 28404)
@@ -0,0 +1,49 @@
+# $Id: Portfile 25909 2007-06-05 07:38:26Z jwa at macports.org $
+
+PortSystem 1.0
+
+name		py25-wxpython
+version		2.8.4.0
+revision	0
+categories	python graphics
+platforms	darwin
+maintainers	mww at macports.org 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 0947c74762d1419f503d19b8b5fe4ac7c81b9cc6
+#patchfiles		patch-config.py
+
+depends_lib	port:python25 \
+    port:wxWidgets
+
+worksrcdir	${distname}/wxPython
+
+extract.post_args	"| tar -xf - ${worksrcdir} ${distname}/docs"
+
+use_configure	no
+
+build.env	UNICODE="1" WXPORT="mac" PATH="${prefix}/lib/wx/config:$env(PATH)"
+build.cmd	${prefix}/bin/python2.5 setup.py
+build.target	build
+
+destroot.env	UNICODE="1" WXPORT="mac" PATH="${prefix}/lib/wx/config:$env(PATH)"
+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
+}

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070830/4d6dfd8c/attachment.html


More information about the macports-changes mailing list