[32975] trunk/dports/gnome/libgda/Portfile

nox at macports.org nox at macports.org
Tue Jan 15 12:43:49 PST 2008


Revision: 32975
          http://trac.macosforge.org/projects/macports/changeset/32975
Author:   nox at macports.org
Date:     2008-01-15 12:43:48 -0800 (Tue, 15 Jan 2008)

Log Message:
-----------
libgda: Fixed livecheck.

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

Modified: trunk/dports/gnome/libgda/Portfile
===================================================================
--- trunk/dports/gnome/libgda/Portfile	2008-01-15 20:17:44 UTC (rev 32974)
+++ trunk/dports/gnome/libgda/Portfile	2008-01-15 20:43:48 UTC (rev 32975)
@@ -3,6 +3,7 @@
 PortSystem 1.0
 name		libgda
 version		1.2.4
+set branch  [join [lrange [split ${version} .] 0 1] .]
 revision	1
 description	GDA provides uniform access to diffent kinds of data sources.
 long_description	GNU Data Access (GDA) is an attempt to provide \
@@ -12,7 +13,7 @@
 categories	gnome 
 platforms	darwin 
 homepage	http://www.gnome-db.org/
-master_sites    gnome:sources/libgda/1.2/
+master_sites    gnome:sources/${name}/${branch}/
 checksums	md5 512a8ed842ce98eb432e69bd6867f437
 use_bzip2	yes
 
@@ -99,3 +100,7 @@
 	depends_lib-append	port:sqlite3
 	configure.args-append	--with-sqlite=${prefix}
 }
+
+livecheck.check regex
+livecheck.url   http://ftp.gnome.org/pub/gnome/sources/${name}/${branch}/?C=M&O=D
+livecheck.regex ${name}-(\\d+(?:\\.\\d+)*)

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080115/6df7213e/attachment-0001.html


More information about the macports-changes mailing list