[29739] trunk/dports/gnome/libgtkhtml3/Portfile

source_changes at macosforge.org source_changes at macosforge.org
Mon Oct 8 04:05:47 PDT 2007


Revision: 29739
          http://trac.macosforge.org/projects/macports/changeset/29739
Author:   nox at macports.org
Date:     2007-10-08 04:05:47 -0700 (Mon, 08 Oct 2007)

Log Message:
-----------
libgtkhtml3: Added livecheck.

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

Modified: trunk/dports/gnome/libgtkhtml3/Portfile
===================================================================
--- trunk/dports/gnome/libgtkhtml3/Portfile	2007-10-08 11:01:12 UTC (rev 29738)
+++ trunk/dports/gnome/libgtkhtml3/Portfile	2007-10-08 11:05:47 UTC (rev 29739)
@@ -1,7 +1,11 @@
 # $Id$
-PortSystem 1.0
+
+PortSystem  1.0
+
 name		libgtkhtml3	
+set my_name gtkhtml
 version		3.16.0
+set branch  [join [lrange [split ${version} .] 0 1] .]
 description	GTK HTML rendering engine.
 long_description	GtkHTML is a lightweight HTML rendering/printing/editing \
 			engine. It was originally based on KHTMLW, part of the \
@@ -10,8 +14,8 @@
 categories	gnome 
 platforms	darwin 
 homepage	http://www.gnome.org/
-master_sites    gnome:sources/gtkhtml/[strsed ${version} {/\.[0-9]*$//}]/
-distname	gtkhtml-${version}
+master_sites    gnome:sources/${my_name}/${branch}/
+distname    ${my_name}-${version}
 use_bzip2	yes
 
 checksums	rmd160 d4e68c56bb0c69d0f4e350d5394b4bf2ca2737e1
@@ -25,3 +29,8 @@
 	port:dbus-glib
 
 configure.env	GMSGFMT=${prefix}/bin/msgfmt
+
+livecheck.check regex
+livecheck.url   http://ftp.gnome.org/pub/gnome/sources/${my_name}/${branch}/
+livecheck.regex {LATEST-IS-(\d+(?:\.\d+)*)}
+

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


More information about the macports-changes mailing list