[33211] trunk/dports/gnome/gtk-doc/Portfile

nox at macports.org nox at macports.org
Mon Jan 21 09:00:17 PST 2008


Revision: 33211
          http://trac.macosforge.org/projects/macports/changeset/33211
Author:   nox at macports.org
Date:     2008-01-21 09:00:16 -0800 (Mon, 21 Jan 2008)

Log Message:
-----------
gtk-doc:
 * Fixed dependencies.
 * Scrollkeeper database is now correctly updated on activation.
 * Added livecheck.

Modified Paths:
--------------
    trunk/dports/gnome/gtk-doc/Portfile

Modified: trunk/dports/gnome/gtk-doc/Portfile
===================================================================
--- trunk/dports/gnome/gtk-doc/Portfile	2008-01-21 16:47:37 UTC (rev 33210)
+++ trunk/dports/gnome/gtk-doc/Portfile	2008-01-21 17:00:16 UTC (rev 33211)
@@ -4,6 +4,7 @@
 
 name            gtk-doc
 version         1.9
+revision        1
 categories      gnome devel
 platforms       darwin freebsd linux
 maintainers     nomaintainer
@@ -13,23 +14,39 @@
     ${description}
 
 homepage        http://www.gnome.org/
-master_sites    gnome:sources/${name}/[join [lrange [split ${version} .] 0 1] .]/
+master_sites    gnome:sources/${name}/${version}/
 use_bzip2       yes
 
 checksums       md5 bcd002f381385812737a05538eb8b21e \
                 sha1 be74d08ddd720ba94321d0212d9f3ebc952e325e \
                 rmd160 f72bca3d37c9704fedf98bb9148522d4723ebdf6
 
-depends_lib     port:docbook-xml-4.1.2 \
-                port:docbook-xsl \
-                port:libxml2
-
 depends_build   port:scrollkeeper \
                 port:pkgconfig \
+                port:docbook-xml-4.1.2 \
+                port:docbook-xsl \
                 port:perl5.8
 
+depends_lib     port:libxml2
+
+depends_run     port:scrollkeeper \
+                port:docbook-xml-4.1.2 \
+                port:docbook-xsl \
+                port:perl5.8
+
 configure.args  --with-xml-catalog=${prefix}/etc/xml/catalog
 
+# TODO Enable test support.
+
 post-destroot {
     delete ${destroot}${prefix}/var/scrollkeeper
 }
+
+post-activate {
+    ui_debug "Updating scrollkeeper database..."
+    system "${prefix}/bin/scrollkeeper-update"
+}
+
+livecheck.check regex
+livecheck.url   http://ftp.gnome.org/pub/gnome/sources/${name}/?C=M&O=D
+livecheck.regex {(\d+(?:\.\d+)*)/}

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080121/8fb832a9/attachment.html


More information about the macports-changes mailing list