[71061] trunk/dports/python/py26-pygtksourceview/Portfile
devans at macports.org
devans at macports.org
Mon Aug 30 17:20:39 PDT 2010
Revision: 71061
http://trac.macports.org/changeset/71061
Author: devans at macports.org
Date: 2010-08-30 17:20:38 -0700 (Mon, 30 Aug 2010)
Log Message:
-----------
py26-pygtksourceview:
* update to version 2.10.1
* install text doc files
* enable display of gtk-doc API documentation in devhelp
Modified Paths:
--------------
trunk/dports/python/py26-pygtksourceview/Portfile
Modified: trunk/dports/python/py26-pygtksourceview/Portfile
===================================================================
--- trunk/dports/python/py26-pygtksourceview/Portfile 2010-08-31 00:16:24 UTC (rev 71060)
+++ trunk/dports/python/py26-pygtksourceview/Portfile 2010-08-31 00:20:38 UTC (rev 71061)
@@ -4,7 +4,7 @@
PortSystem 1.0
name py26-pygtksourceview
-version 2.6.0
+version 2.10.1
set branch [join [lrange [split ${version} .] 0 1] .]
categories python x11
platforms darwin
@@ -16,9 +16,9 @@
master_sites gnome:sources/pygtksourceview/${branch}/
distname pygtksourceview-${version}
-checksums md5 069633ab8724ec5cfeaadace6e7f1317 \
- sha1 0de3af1e0dfc2871c1065ee389c1e5253c504135 \
- rmd160 f55634b12143175b4684f63e41f95d8853fd0992
+checksums md5 7a4dd87a515374637e1acf0b340eaa92 \
+ sha1 fe4d3ce889427d5a5ae418415fc18f36b9b02524 \
+ rmd160 867b6986beec48538bf4aa8af8a566578d16085c
depends_build port:pkgconfig \
port:libxslt
@@ -39,6 +39,22 @@
}
}
+# install text docs in ${prefix}/share/doc/${name}
+# 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
+
+post-destroot {
+ set docdir ${prefix}/share/doc/${name}
+ xinstall -d ${destroot}${docdir}
+ xinstall -m 0644 -W ${worksrcpath} AUTHORS COPYING ChangeLog NEWS README \
+ ${destroot}${docdir}
+ xinstall -d ${destroot}${prefix}/share/gtk-doc/html
+ file rename ${destroot}${python_prefix}/share/gtk-doc/html/pygtksourceview2/pygtksourceview2.devhelp \
+ ${destroot}${python_prefix}/share/gtk-doc/html/pygtksourceview2/${name}.devhelp
+ ln -s ${python_prefix}/share/gtk-doc/html/pygtksourceview2 \
+ ${destroot}${prefix}/share/gtk-doc/html/${name}
+}
+
livecheck.type regex
livecheck.url http://ftp.gnome.org/pub/gnome/sources/pygtksourceview/${branch}/
livecheck.regex {LATEST-IS-(\d+(?:\.\d+)*)}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100830/86c231d0/attachment-0001.html>
More information about the macports-changes
mailing list