[71602] trunk/dports/python/py27-gobject/Portfile
devans at macports.org
devans at macports.org
Fri Sep 17 15:25:47 PDT 2010
Revision: 71602
http://trac.macports.org/changeset/71602
Author: devans at macports.org
Date: 2010-09-17 15:25:45 -0700 (Fri, 17 Sep 2010)
Log Message:
-----------
py27-gobject: enable display of gtk-doc API documentation in devhelp.
Modified Paths:
--------------
trunk/dports/python/py27-gobject/Portfile
Modified: trunk/dports/python/py27-gobject/Portfile
===================================================================
--- trunk/dports/python/py27-gobject/Portfile 2010-09-17 22:17:48 UTC (rev 71601)
+++ trunk/dports/python/py27-gobject/Portfile 2010-09-17 22:25:45 UTC (rev 71602)
@@ -7,6 +7,7 @@
platforms darwin
set my_name pygobject
version 2.21.5
+revision 1
set branch [join [lrange [split ${version} .] 0 1] .]
categories python gnome
maintainers mcalhoun jwa openmaintainer
@@ -53,6 +54,9 @@
${destroot}${docdir}
xinstall -d ${destroot}${prefix}/share/gtk-doc/html
system "ln -s ${python_prefix}/share/${my_name} ${destroot}${prefix}/share/${my_name}27"
+# devhelp requires gtk-doc/html 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}27.devhelp
system "ln -s ${python_prefix}/share/gtk-doc/html/${my_name} ${destroot}${prefix}/share/gtk-doc/html/${my_name}27"
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100917/bb284200/attachment.html>
More information about the macports-changes
mailing list