[29389] trunk/dports/textproc/libxml2/Portfile
source_changes at macosforge.org
source_changes at macosforge.org
Sat Sep 22 12:57:32 PDT 2007
Revision: 29389
http://trac.macosforge.org/projects/macports/changeset/29389
Author: nox at macports.org
Date: 2007-09-22 12:57:31 -0700 (Sat, 22 Sep 2007)
Log Message:
-----------
libxml2 (closes #12650):
* Updated to 2.6.30.
* Now uses gnome: mirrors.
* Removed useless configure env variable.
* Added livecheck.
Modified Paths:
--------------
trunk/dports/textproc/libxml2/Portfile
Modified: trunk/dports/textproc/libxml2/Portfile
===================================================================
--- trunk/dports/textproc/libxml2/Portfile 2007-09-22 19:52:59 UTC (rev 29388)
+++ trunk/dports/textproc/libxml2/Portfile 2007-09-22 19:57:31 UTC (rev 29389)
@@ -1,22 +1,27 @@
# $Id$
-PortSystem 1.0
+PortSystem 1.0
name libxml2
-version 2.6.29
-revision 0
+version 2.6.30
categories textproc
description gnome xml library
platforms darwin
maintainers cedric.luthi at gmail.com
-homepage http://xmlsoft.org/index.html
-master_sites http://xmlsoft.org/sources/ \
- ftp://xmlsoft.org/libxml2/ \
- http://ftp.gnome.org/pub/gnome/sources/libxml2/2.6/
-checksums md5 8b99b6e8b08e838438d9e6b639d79ebd \
- sha1 2355f2455aa6408244b7e2c444befeb0e93e37d5 \
- rmd160 489b394fc7dd9c23618a88ba3ddcecf71caf3874
+homepage http://xmlsoft.org/
+
+master_sites ${homepage}sources/ \
+ ftp://xmlsoft.org/${name}/ \
+ ftp://fr.rpmfind.net/pub/libxml/ \
+ ftp://gd.tuwien.ac.at/pub/libxml/ \
+ gnome:sources/${name}/[strsed ${version} {/\.[0-9]*$//}]/
+
+checksums md5 460e6d853e824da700d698532e57316b \
+ sha1 519701df3a10770980e993336fe19ef7d95b5bba \
+ rmd160 8adcca2a60b4e90de898d9710a3a45069b73bbfe
+
depends_lib port:libiconv port:zlib
+
post-extract {
reinplace "s|/etc|${prefix}/etc|g" \
${worksrcpath}/catalog.c \
@@ -25,8 +30,9 @@
${worksrcpath}/xmllint.c \
${worksrcpath}/doc/xmlcatalog.1 \
${worksrcpath}/doc/xmllint.1
+
}
-configure.env BASE_DIR=${prefix}/share/doc
+
configure.args --mandir=${prefix}/share/man --with-iconv=${prefix} \
--enable-static=no \
--without-python
@@ -44,3 +50,8 @@
XML itself is a metalanguage to design markup languages. \
Though the library is written in C, a variety of language bindings make it \
available in other environments.
+
+livecheck.check regex
+livecheck.url ${homepage}news.html
+livecheck.regex {<h3>(\d+(?:\.\d+)*): .*</h3>}
+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070922/cc0e1464/attachment.html
More information about the macports-changes
mailing list