[19425] trunk/dports/python

source_changes at macosforge.org source_changes at macosforge.org
Wed Sep 6 20:44:39 PDT 2006


Revision: 19425
Author:   markd at macports.org
Date:     2006-09-06 20:44:37 -0700 (Wed, 06 Sep 2006)

Log Message:
-----------
Ticket 8480.  New port.

Added Paths:
-----------
    trunk/dports/python/py-pyqt3/
    trunk/dports/python/py-pyqt3/Portfile

Added: trunk/dports/python/py-pyqt3/Portfile
===================================================================
--- trunk/dports/python/py-pyqt3/Portfile	                        (rev 0)
+++ trunk/dports/python/py-pyqt3/Portfile	2006-09-07 03:44:37 UTC (rev 19425)
@@ -0,0 +1,44 @@
+# $Id: $
+
+PortSystem      1.0
+name		    py-pyqt3
+version		    3.16
+platforms       macosx
+categories	    python devel
+maintainers	    darwinports at opendarwin.org
+description	 PyQt is a set of Python bindings for the Qt toolkit
+long_description PyQt is a set of Python bindings for the Qt toolkit. The bindings \
+                 are implemented as a set of Python modules: qt, qtcanvas, qtgl, \
+                 qtnetwork, qtsql, qttable, qtui and qtxml, and contains 300 \
+                 classes and over 5,750 functions and methods.
+homepage         http://www.riverbankcomputing.co.uk/pyqt/index.php
+master_sites	http://www.riverbankcomputing.com/Downloads/PyQt3/GPL/
+distname        PyQt-mac-gpl-${version}
+
+checksums	    md5 46deec16bad11e3f216b19fd5e3d1f9b
+
+depends_lib     port:py-sip \
+                port:qt3-mac
+                
+patchfiles      patch-configure.py             
+
+pre-configure   {
+                    file copy -force ${prefix}/share/qt3/mkspecs/macx-g++/qmake.conf \
+                        ${worksrcpath}/qmake.conf
+                        
+                    reinplace "s|-bundle|-bundle -flat_namespace -undefined suppress|" \
+                        ${worksrcpath}/qmake.conf
+                }
+
+configure.cmd   "echo yes | ${prefix}/bin/python configure.py \
+                     -g ${prefix}/include/qt3 -q ${prefix} -y qt-mt"
+configure.pre_args
+
+post-destroot {
+	               xinstall -m 755 -d ${destroot}/${prefix}/share/doc
+	               file copy ${worksrcpath}/doc ${destroot}/${prefix}/share/doc/${name}
+	               file copy ${worksrcpath}/examples2 ${destroot}/${prefix}/share/doc/${name}
+	               file copy ${worksrcpath}/examples3 ${destroot}/${prefix}/share/doc/${name}
+	               xinstall -m 644 -W ${worksrcpath} ChangeLog LICENSE NEWS README THANKS \
+		              ${destroot}${prefix}/share/doc/${name}
+              }

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20060906/423b00a1/attachment.html


More information about the macports-changes mailing list