[29725] trunk/dports/gnome/libgnomeprint/Portfile

source_changes at macosforge.org source_changes at macosforge.org
Sun Oct 7 10:37:54 PDT 2007


Revision: 29725
          http://trac.macosforge.org/projects/macports/changeset/29725
Author:   nox at macports.org
Date:     2007-10-07 10:37:53 -0700 (Sun, 07 Oct 2007)

Log Message:
-----------
libgnomeprint: Added livecheck.

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

Modified: trunk/dports/gnome/libgnomeprint/Portfile
===================================================================
--- trunk/dports/gnome/libgnomeprint/Portfile	2007-10-07 17:34:42 UTC (rev 29724)
+++ trunk/dports/gnome/libgnomeprint/Portfile	2007-10-07 17:37:53 UTC (rev 29725)
@@ -1,16 +1,19 @@
 # $Id$
-PortSystem 1.0
+
+PortSystem  1.0
+
 name		libgnomeprint
 version		2.12.1
+set branch  [join [lrange [split ${version} .] 0 1] .]
 
 description	This is an implementation of the Gnome Printing Architecture
 long_description       	This is an implementation of the Gnome Printing \
 			Architecture
-maintainers	rhwood openmaintainer at macports.org
+maintainers	rhwood openmaintainer
 categories	gnome
 platforms	darwin 
 homepage	http://www.levien.com/gnome/print-arch.html
-master_sites    gnome:sources/libgnomeprint/2.12/
+master_sites    gnome:sources/${name}/${branch}/
 checksums	rmd160 40e906f9b59e68802afbe322739956b57084b6ab
 
 depends_lib	port:libxml2 \
@@ -26,3 +29,8 @@
 configure.cflags-append -L/usr/lib
 configure.cflags-append -I/usr/include
 configure.cppflags-append -lm
+
+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/20071007/aa5e4fdc/attachment.html


More information about the macports-changes mailing list