[50556] trunk/dports/python/py26-pyqt4/Portfile
raimue at macports.org
raimue at macports.org
Sun May 3 12:47:10 PDT 2009
Revision: 50556
http://trac.macports.org/changeset/50556
Author: raimue at macports.org
Date: 2009-05-03 12:47:09 -0700 (Sun, 03 May 2009)
Log Message:
-----------
python/py26-pyqt4:
Add symlinks to ${prefix}/bin, closes #19449 (maintainer timeout)
Modified Paths:
--------------
trunk/dports/python/py26-pyqt4/Portfile
Modified: trunk/dports/python/py26-pyqt4/Portfile
===================================================================
--- trunk/dports/python/py26-pyqt4/Portfile 2009-05-03 16:57:49 UTC (rev 50555)
+++ trunk/dports/python/py26-pyqt4/Portfile 2009-05-03 19:47:09 UTC (rev 50556)
@@ -3,10 +3,10 @@
PortSystem 1.0
name py26-pyqt4
-
version 4.4.4
+revision 1
+categories python devel
platforms macosx
-categories python devel
maintainers saispo
description PyQt4 is a set of Python bindings for the Qt4 toolkit
long_description \
@@ -27,6 +27,7 @@
#patchfiles patch-configure.py
+set pyversion 2.6
set qt_dir ${prefix}/libexec/qt4-mac
pre-configure {
@@ -51,6 +52,10 @@
test.cmd cd qt && ${prefix}/bin/python2.6 -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/20090503/2a0da8cb/attachment.html>
More information about the macports-changes
mailing list