[41973] trunk/dports/textproc/libxml/Portfile

devans at macports.org devans at macports.org
Wed Nov 12 13:07:07 PST 2008


Revision: 41973
          http://trac.macports.org/changeset/41973
Author:   devans at macports.org
Date:     2008-11-12 13:07:07 -0800 (Wed, 12 Nov 2008)
Log Message:
-----------
libxml: lint, fix livecheck, add mode line.

Modified Paths:
--------------
    trunk/dports/textproc/libxml/Portfile

Modified: trunk/dports/textproc/libxml/Portfile
===================================================================
--- trunk/dports/textproc/libxml/Portfile	2008-11-12 20:59:01 UTC (rev 41972)
+++ trunk/dports/textproc/libxml/Portfile	2008-11-12 21:07:07 UTC (rev 41973)
@@ -1,9 +1,11 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
 # $Id$
 
 PortSystem 1.0
+
 name		libxml
 version		1.8.17
-revision	0
+set branch      [join [lrange [split ${version} .] 0 1] .]
 categories	textproc
 maintainers	nomaintainer
 description	XML parsing library
@@ -25,3 +27,7 @@
 platform darwin {
 	patchfiles	patches
 }
+
+livecheck.check regex
+livecheck.url   http://ftp.gnome.org/pub/gnome/sources/${name}/${branch}/
+livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20081112/9c402bb1/attachment.html>


More information about the macports-changes mailing list