# -*- Mode: Tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:et:sw=4:ts=4:sts=4 # $Id$ PortSystem 1.0 PortGroup python 1.0 name py-libxml2 version 2.8.0 categories python textproc license MIT platforms darwin maintainers sfiera mcalhoun openmaintainer description Python bindings for libxml2 long_description ${description} homepage http://xmlsoft.org/python.html 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 rmd160 45820c9f4939f642a87be9259c55fd081ea6759a \ sha256 f2e2d0e322685193d1affec83b21dc05d599e17a7306d7b90de95bb5b9ac622a python.versions 24 25 26 27 if {$subport != $name} { 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/${subport} xinstall -d ${destroot}${docdir} xinstall -m 644 -W ${worksrcpath} README TODO \ ${destroot}${docdir} } livecheck.type none } else { livecheck.type regex livecheck.url ${homepage}news.html livecheck.regex {

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

} }