[51203] trunk/dports/gnome/seahorse-plugins/Portfile

devans at macports.org devans at macports.org
Wed May 20 12:13:12 PDT 2009


Revision: 51203
          http://trac.macports.org/changeset/51203
Author:   devans at macports.org
Date:     2009-05-20 12:13:11 -0700 (Wed, 20 May 2009)
Log Message:
-----------
seahorse-plugins:

  * update to version 2.26.2
  * update dependencies
  * build nautilus and panel plugins by default
  * add variants to build plugins for gedit and epiphany
  * update desktop databases, install/update gconf schemas post activate
  * fix livecheck

Modified Paths:
--------------
    trunk/dports/gnome/seahorse-plugins/Portfile

Modified: trunk/dports/gnome/seahorse-plugins/Portfile
===================================================================
--- trunk/dports/gnome/seahorse-plugins/Portfile	2009-05-20 18:53:40 UTC (rev 51202)
+++ trunk/dports/gnome/seahorse-plugins/Portfile	2009-05-20 19:13:11 UTC (rev 51203)
@@ -4,16 +4,52 @@
 PortSystem 1.0
 
 name		seahorse-plugins
-version		2.24.1
+version		2.26.2
+set branch      [join [lrange [split ${version} .] 0 1] .]
 description	Seahorse plugins.
 long_description ${description}
 maintainers	nomaintainer
 categories	gnome crypto
 platforms	darwin
 homepage	http://www.gnome.org/projects/seahorse/
-master_sites    gnome:sources/${name}/[join [lrange [split ${version} .] 0 1] .]/
+master_sites    gnome:sources/${name}/${branch}/
 use_bzip2	yes
-checksums	md5 842b7b7424c2a5cfe56db5960133f0a1 \
-		    sha1 88a144999f55e82d5fe8eee3c251371589e82ed9 \
-		    rmd160 6f47438b98ba957550cf34f5ee163c28b6e061a6
-depends_lib	port:seahorse
+
+checksums       md5     36b51b866fc729526f1be86bb0db7370 \
+                sha1    df5cae9c19cd106fafc65d95b8d0d57bbd6a12db \
+                rmd160  99659c47d880a02b5ab25289f1d459c7d1472c51
+
+depends_build   port:p5-xml-parser \
+                port:intltool \
+                port:gnome-doc-utils \
+
+depends_lib     port:seahorse \
+                port:nautilus \
+                port:gnome-panel
+
+configure.args  --disable-epiphany \
+                --disable-gedit \
+                --disable-update-mime-database \
+                --disable-schemas-install \
+                --disable-scrollkeeper
+                
+variant epiphany description {Enable epiphany plug-in} {
+        depends_lib-append port:epiphany
+        configure.args-delete --disable-epiphany
+}
+
+variant gedit description {Enable gedit plug-in} {
+        depends_lib-append port:gedit
+        configure.args-delete --disable-gedit
+}
+
+post-activate {
+    system "${prefix}/bin/update-mime-database ${prefix}/share/mime; true"
+    system "${prefix}/bin/scrollkeeper-update"
+    system "export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` && \
+        gconftool-2 --makefile-install-rule ${prefix}/etc/gconf/schemas/*.schemas"
+}
+
+livecheck.check regex
+livecheck.url   http://ftp.gnome.org/pub/gnome/sources/${name}/${branch}/
+livecheck.regex {LATEST-IS-(\d+(?:\.\d+)*)}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090520/b90f7993/attachment.html>


More information about the macports-changes mailing list