[52931] trunk/dports/gnome/libgnomedb/Portfile

devans at macports.org devans at macports.org
Thu Jun 25 15:51:47 PDT 2009


Revision: 52931
          http://trac.macports.org/changeset/52931
Author:   devans at macports.org
Date:     2009-06-25 15:51:46 -0700 (Thu, 25 Jun 2009)
Log Message:
-----------
libgnomedb: fix livecheck, lint.

Modified Paths:
--------------
    trunk/dports/gnome/libgnomedb/Portfile

Modified: trunk/dports/gnome/libgnomedb/Portfile
===================================================================
--- trunk/dports/gnome/libgnomedb/Portfile	2009-06-25 22:48:07 UTC (rev 52930)
+++ trunk/dports/gnome/libgnomedb/Portfile	2009-06-25 22:51:46 UTC (rev 52931)
@@ -1,8 +1,10 @@
 # $Id$
 
 PortSystem 1.0
+
 name		libgnomedb
 version		1.2.1
+set branch      [join [lrange [split ${version} .] 0 1] .]
 description	Data access architecture for GNOME.
 long_description 	The GNOME-DB project aims to provide a free unified \
 			data access architecture to the GNOME project. \
@@ -11,12 +13,16 @@
 			it now contains a pretty good data management API.
 maintainers	nomaintainer
 categories	gnome databases
-platforms	darwin 
+platforms	darwin
 homepage	http://www.gnome-db.org/
-master_sites    gnome:sources/libgnomedb/1.2/
+master_sites    gnome:sources/${name}/${branch}/
 use_bzip2	yes
 checksums	md5 5e2ff4eaa2bdb02493af4e21b5f5bf8b
 depends_lib	lib:libgtksourceview-1:gtksourceview lib:libgda-2:libgda
 configure.cppflags-append "-L${prefix}/lib"
-configure.cflags-append "-no-cpp-precomp -flat_namespace -undefined suppress" 
+configure.cflags-append "-no-cpp-precomp -flat_namespace -undefined suppress"
 configure.args  --mandir=${prefix}/share/man
+
+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/20090625/db62855f/attachment.html>


More information about the macports-changes mailing list