[71059] trunk/dports/python
devans at macports.org
devans at macports.org
Mon Aug 30 17:07:29 PDT 2010
Revision: 71059
http://trac.macports.org/changeset/71059
Author: devans at macports.org
Date: 2010-08-30 17:07:28 -0700 (Mon, 30 Aug 2010)
Log Message:
-----------
py26-gobject, py26-gtk, py26-gnome: enable display of gtk-doc API documentation in devhelp
Modified Paths:
--------------
trunk/dports/python/py26-gnome/Portfile
trunk/dports/python/py26-gobject/Portfile
trunk/dports/python/py26-gtk/Portfile
Modified: trunk/dports/python/py26-gnome/Portfile
===================================================================
--- trunk/dports/python/py26-gnome/Portfile 2010-08-30 23:35:56 UTC (rev 71058)
+++ trunk/dports/python/py26-gnome/Portfile 2010-08-31 00:07:28 UTC (rev 71059)
@@ -6,6 +6,7 @@
name py26-gnome
set my_name gnome-python
version 2.28.1
+revision 1
set branch [join [lrange [split $version .] 0 1] .]
categories python gnome
platforms darwin
@@ -65,6 +66,15 @@
}
}
+post-destroot {
+# add link to gtk-doc in devhelp search path (${prefix}/share/gtk-doc/html/*)
+# 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/pygnomevfs/pygnomevfs.devhelp \
+ ${destroot}${python.prefix}/share/gtk-doc/html/pygnomevfs/pygnomevfs26.devhelp
+ xinstall -d ${destroot}${prefix}/share/gtk-doc/html
+ ln -s ${python.prefix}/share/gtk-doc/html/pygnomevfs ${destroot}${prefix}/share/gtk-doc/html/pygnomevfs26
+}
+
livecheck.type regex
livecheck.url http://ftp.gnome.org/pub/gnome/sources/$my_name/$branch/
livecheck.regex {LATEST-IS-(\d+(?:\.\d+)*)}
Modified: trunk/dports/python/py26-gobject/Portfile
===================================================================
--- trunk/dports/python/py26-gobject/Portfile 2010-08-30 23:35:56 UTC (rev 71058)
+++ trunk/dports/python/py26-gobject/Portfile 2010-08-31 00:07:28 UTC (rev 71059)
@@ -7,6 +7,7 @@
platforms darwin
set my_name pygobject
version 2.21.3
+revision 1
set branch [join [lrange [split ${version} .] 0 1] .]
categories python gnome
maintainers mcalhoun openmaintainer
@@ -52,6 +53,9 @@
${destroot}${docdir}
xinstall -d ${destroot}${prefix}/share/gtk-doc/html
system "ln -s ${python_prefix}/share/${my_name} ${destroot}${prefix}/share/${my_name}26"
+# 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}26.devhelp
system "ln -s ${python_prefix}/share/gtk-doc/html/${my_name} ${destroot}${prefix}/share/gtk-doc/html/${my_name}26"
}
Modified: trunk/dports/python/py26-gtk/Portfile
===================================================================
--- trunk/dports/python/py26-gtk/Portfile 2010-08-30 23:35:56 UTC (rev 71058)
+++ trunk/dports/python/py26-gtk/Portfile 2010-08-31 00:07:28 UTC (rev 71059)
@@ -6,6 +6,7 @@
name py26-gtk
set my_name pygtk
version 2.17.0
+revision 1
set branch [join [lrange [split ${version} .] 0 1] .]
categories python x11
platforms darwin
@@ -56,6 +57,9 @@
${destroot}${docdir}
xinstall -d ${destroot}${prefix}/share/gtk-doc/html
system "ln -s ${python_prefix}/share/${my_name} ${destroot}${prefix}/share/${my_name}26"
+# 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}26.devhelp
system "ln -s ${python_prefix}/share/gtk-doc/html/${my_name} ${destroot}${prefix}/share/gtk-doc/html/${my_name}26"
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100830/fefa1534/attachment.html>
More information about the macports-changes
mailing list