[100357] trunk/dports/python/py-pygtk/Portfile
ryandesign at macports.org
ryandesign at macports.org
Sun Dec 9 02:29:03 PST 2012
Revision: 100357
https://trac.macports.org/changeset/100357
Author: ryandesign at macports.org
Date: 2012-12-09 02:29:03 -0800 (Sun, 09 Dec 2012)
Log Message:
-----------
py-pygtk: use 'ln -s' instead of 'file link -symbolic'; use python.prefix instead of assuming what is is (#37255)
Modified Paths:
--------------
trunk/dports/python/py-pygtk/Portfile
Modified: trunk/dports/python/py-pygtk/Portfile
===================================================================
--- trunk/dports/python/py-pygtk/Portfile 2012-12-09 07:44:19 UTC (rev 100356)
+++ trunk/dports/python/py-pygtk/Portfile 2012-12-09 10:29:03 UTC (rev 100357)
@@ -7,6 +7,7 @@
set my_name pygtk
name py-${my_name}
version 2.22.0
+revision 1
set branch [join [lrange [split ${version} .] 0 1] .]
python.versions 25 26 27
@@ -69,8 +70,7 @@
xinstall -m 0644 -W ${worksrcpath} AUTHORS COPYING ChangeLog NEWS README \
${destroot}${docdir}
xinstall -d ${destroot}${prefix}/share/gtk-doc/html
- file link -symbolic ${destroot}${prefix}/share/${my_name}${python.branch} \
- ../Library/Frameworks/Python.framework/Versions/${python.branch}/share/${my_name}
+ ln -s ${python.prefix}/share/${my_name} ${destroot}${prefix}/share/${my_name}${python.branch}
# devhelp requires gtk-doc directory name and .devhelp file name (less the .devhelp) to match
file rename ${destroot}${python.prefix}/share/gtk-doc/html/${my_name}/${my_name}.devhelp \
${destroot}${python.prefix}/share/gtk-doc/html/${my_name}/${my_name}${python.branch}.devhelp
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20121209/dc57f58b/attachment-0001.html>
More information about the macports-changes
mailing list