[58487] trunk/dports/python/py25-sip/Portfile
macsforever2000 at macports.org
macsforever2000 at macports.org
Tue Sep 29 10:40:19 PDT 2009
Revision: 58487
http://trac.macports.org/changeset/58487
Author: macsforever2000 at macports.org
Date: 2009-09-29 10:40:15 -0700 (Tue, 29 Sep 2009)
Log Message:
-----------
Changes to make this portfile more like py26-sip.
Modified Paths:
--------------
trunk/dports/python/py25-sip/Portfile
Modified: trunk/dports/python/py25-sip/Portfile
===================================================================
--- trunk/dports/python/py25-sip/Portfile 2009-09-29 16:17:40 UTC (rev 58486)
+++ trunk/dports/python/py25-sip/Portfile 2009-09-29 17:40:15 UTC (rev 58487)
@@ -56,14 +56,16 @@
test.cmd cd siplib && ${pybin} -c 'import sip'
post-destroot {
+ ln -s ${frameworks_dir}/Python.framework/Versions/${pyversion}/bin/sip ${destroot}${prefix}/bin/sip-${pyversion}
+
# Install documentation
xinstall -m 755 -d ${destroot}${prefix}/share/doc
file copy ${worksrcpath}/doc ${destroot}${prefix}/share/doc/${name}
xinstall -m 644 -W ${worksrcpath} ChangeLog LICENSE LICENSE-GPL2.txt LICENSE-GPL3.txt NEWS README \
${destroot}${prefix}/share/doc/${name}
- system "${prefix}/bin/python2.5 ${prefix}/lib/python2.5/compileall.py ${destroot}${prefix}"
- system "${prefix}/bin/python2.5 -O ${prefix}/lib/python2.5/compileall.py ${destroot}${prefix}"
+ system "${prefix}/bin/python${pyversion} ${prefix}/lib/python${pyversion}/compileall.py ${destroot}${prefix}"
+ system "${prefix}/bin/python${pyversion} -O ${prefix}/lib/python${pyversion}/compileall.py ${destroot}${prefix}"
}
livecheck.type regex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090929/fa81fea4/attachment.html>
More information about the macports-changes
mailing list