[58496] trunk/dports/python/py26-pyqt4/Portfile

macsforever2000 at macports.org macsforever2000 at macports.org
Tue Sep 29 12:53:42 PDT 2009


Revision: 58496
          http://trac.macports.org/changeset/58496
Author:   macsforever2000 at macports.org
Date:     2009-09-29 12:53:41 -0700 (Tue, 29 Sep 2009)
Log Message:
-----------
Changes to make portfile look like py25-pyqt4. Properly place distfile.

Modified Paths:
--------------
    trunk/dports/python/py26-pyqt4/Portfile

Modified: trunk/dports/python/py26-pyqt4/Portfile
===================================================================
--- trunk/dports/python/py26-pyqt4/Portfile	2009-09-29 19:53:03 UTC (rev 58495)
+++ trunk/dports/python/py26-pyqt4/Portfile	2009-09-29 19:53:41 UTC (rev 58496)
@@ -18,6 +18,7 @@
 master_sites	http://www.riverbankcomputing.com/static/Downloads/PyQt4/ \
 		http://pyqwt.sourceforge.net/support/
 distname	PyQt-mac-gpl-${version}
+dist_subdir         python
 
 checksums           md5     35258016c30a80f97689e643fba4704b \
                     sha1    a77ecba115cb94002f6c6cd7dbcfb78e655561d4 \
@@ -43,8 +44,6 @@
 		${worksrcpath}/qmake.conf
 }
 
-use_configure   yes
-
 configure.cmd	"${prefix}/bin/python2.6 configure.py \
 		-g -q ${qt_dir}/bin/qmake \
 		--confirm-license"
@@ -55,13 +54,12 @@
 use_parallel_build yes
 
 test.run	yes
-test.cmd	cd qt && ${prefix}/bin/python2.6 -c 'import PyQt4'
+test.cmd	cd qt && ${prefix}/bin/python${pyversion} -c 'import PyQt4'
 
 post-destroot {
     ln -s ${frameworks_dir}/Python.framework/Versions/${pyversion}/bin/pyrcc4 ${destroot}${prefix}/bin/pyrcc4-${pyversion}
     ln -s ${frameworks_dir}/Python.framework/Versions/${pyversion}/bin/pyuic4 ${destroot}${prefix}/bin/pyuic4-${pyversion}    
-    
-    
+
 	xinstall -m 755 -d ${destroot}${prefix}/share/doc
 	file copy ${worksrcpath}/doc ${destroot}${prefix}/share/doc/${name}
 	file copy ${worksrcpath}/examples \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090929/c6080dac/attachment.html>


More information about the macports-changes mailing list