[51249] trunk/dports/textproc/libxmlxx2/Portfile

devans at macports.org devans at macports.org
Thu May 21 12:23:25 PDT 2009


Revision: 51249
          http://trac.macports.org/changeset/51249
Author:   devans at macports.org
Date:     2009-05-21 12:23:24 -0700 (Thu, 21 May 2009)
Log Message:
-----------
libxmlxx2: update to version 2.26.0, update dependencies, fix livecheck, add mode line, lint.

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

Modified: trunk/dports/textproc/libxmlxx2/Portfile
===================================================================
--- trunk/dports/textproc/libxmlxx2/Portfile	2009-05-21 18:53:33 UTC (rev 51248)
+++ trunk/dports/textproc/libxmlxx2/Portfile	2009-05-21 19:23:24 UTC (rev 51249)
@@ -1,7 +1,12 @@
+# -*- 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		libxmlxx2
-version		2.18.1
+set gname       libxml++
+version		2.26.0
+set branch      [join [lrange [split ${version} .] 0 1] .]
 categories	textproc
 maintainers	nomaintainer
 description	libxml++ is a C++ interface for working with XML files
@@ -10,11 +15,24 @@
 			has a simple but complete API.
 homepage	http://libxmlplusplus.sourceforge.net
 platforms	darwin
-distname	libxml++-${version}
-master_sites	gnome:sources/libxml++/[strsed ${version} {/\.[0-9]*$//}]
+distname	${gname}-${version}
+master_sites    gnome:sources/${gname}/${branch}/
+
 use_bzip2	yes
-checksums	sha1 a02fb715ad7c4c6551a77a2357584c571209913e
-depends_lib     port:libxml2 lib:libglibmm-2:glibmm
-depends_build   bin:pkg-config:pkgconfig
-configure.args  --infodir=${prefix}/share/info --mandir=${prefix}/share/man
 
+checksums       md5     a52fc7e6e44bb5cc187672930b843f72 \
+                sha1    a0526b4f1307623ceac0818713fa5ba0126a4888 \
+                rmd160  41d9b28b873bafe4bba39bfd1ca593960714dda2
+
+depends_build   port:pkgconfig \
+                path:bin/perl:perl5
+
+depends_lib     port:libxml2 \
+                port:glibmm
+
+configure.args  --infodir=${prefix}/share/info \
+                --mandir=${prefix}/share/man
+
+livecheck.check regex
+livecheck.url   http://ftp.gnome.org/pub/gnome/sources/${gname}/${branch}/
+livecheck.regex {LATEST-IS-(\d+(?:\.\d+)*)}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090521/a7952aea/attachment.html>


More information about the macports-changes mailing list