# -*- Mode: Tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:et:sw=4:ts=4:sts=4 # $Id: Portfile 80814 2011-07-18 16:54:27Z jmr@macports.org $ PortSystem 1.0 PortGroup python25 1.0 name py25-libxml2 version 2.7.8 categories python textproc license MIT platforms darwin maintainers sfiera openmaintainer description Python bindings for libxml2 long_description ${description} homepage http://xmlsoft.org/ master_sites ftp://fr.rpmfind.net/pub/libxml/ \ ftp://gd.tuwien.ac.at/pub/libxml/ \ ${homepage}sources/ \ ftp://xmlsoft.org/libxml2/ distname libxml2-${version} dist_subdir libxml2 checksums md5 8127a65e8c3b08856093099b52599c86 \ sha1 859dd535edbb851cc15b64740ee06551a7a17d40 \ rmd160 30709622cfe3e2175e73d6701b7e19a25ab5ac47 depends_lib-append port:libxml2 worksrcdir ${worksrcdir}/python patchfiles patch-setup.py.diff post-patch { reinplace "s|@PREFIX@|$prefix|" ${worksrcpath}/setup.py } post-destroot { set docdir ${prefix}/share/doc/${name} xinstall -d ${destroot}${docdir} xinstall -m 0644 -W ${worksrcpath} README TODO \ ${destroot}${docdir} } livecheck.type regex livecheck.url ${homepage}news.html livecheck.regex {

(\d+(?:\.\d+)*): .*

}