[41912] trunk/dports/gnome/libghttp/Portfile

devans at macports.org devans at macports.org
Tue Nov 11 21:32:57 PST 2008


Revision: 41912
          http://trac.macports.org/changeset/41912
Author:   devans at macports.org
Date:     2008-11-11 21:32:56 -0800 (Tue, 11 Nov 2008)
Log Message:
-----------
libghttp: lint, add modeline, fix livecheck.

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

Modified: trunk/dports/gnome/libghttp/Portfile
===================================================================
--- trunk/dports/gnome/libghttp/Portfile	2008-11-12 05:26:25 UTC (rev 41911)
+++ trunk/dports/gnome/libghttp/Portfile	2008-11-12 05:32:56 UTC (rev 41912)
@@ -1,16 +1,24 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
 # $Id$
+
 PortSystem 1.0
+
 name		libghttp
 version		1.0.9
+set branch      [join [lrange [split ${version} .] 0 1] .]
 description	GNOME http client library
 long_description        ${description}
 maintainers	nomaintainer
 categories	gnome
-platforms	darwin 
+platforms	darwin
 homepage	http://www.gnome.org/
-master_sites    gnome:sources/libghttp/1.0/
+master_sites    gnome:sources/${name}/${branch}/
 checksums	md5 0690e7456f9a15c635f240f3d6d5dab2
 depends_lib	bin:pkg-config:pkgconfig
 configure.args  --mandir=${prefix}/share/man
 configure.cppflags-append "-L${prefix}/lib"
 configure.cflags-append "-no-cpp-precomp -flat_namespace -undefined suppress"
+
+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/20081111/24ee2fcd/attachment.html>


More information about the macports-changes mailing list