# -*- 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 # Please keep the version of the libxml2 and py-libxml2 ports the same. name libxml2 version 2.9.4 categories textproc platforms darwin license MIT maintainers nomaintainer description GNOME XML C parser and toolkit long_description Libxml is the XML C library developed for the GNOMEproject. \ 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. homepage http://xmlsoft.org/ depends_lib port:libiconv \ port:xz \ port:zlib master_sites ftp://gd.tuwien.ac.at/pub/libxml/ \ ${homepage}sources/ \ ftp://xmlsoft.org/${name}/ checksums rmd160 bb59656e0683d64a38a2f1a45ca9d918837e1e56 \ sha256 ffb911191e509b966deb55de705387f14156e1a56b21824357cdf0053233633c post-extract { reinplace -locale C "s|/etc|${prefix}/etc|g" \ ${worksrcpath}/catalog.c \ ${worksrcpath}/runtest.c \ ${worksrcpath}/xmlcatalog.c \ ${worksrcpath}/xmllint.c \ ${worksrcpath}/doc/xmlcatalog.1 \ ${worksrcpath}/doc/xmllint.1 } configure.args --enable-static \ --without-python destroot.keepdirs ${destroot}${prefix}/etc/xml post-destroot { xinstall -m 755 -d ${destroot}${prefix}/etc/xml } test.run yes test.target check variant debug description {Enable debug build} { configure.optflags -O0 -g -Wno-uninitialized configure.args-append --with-run-debug } variant readline description {Enable readline support} { configure.args-append --with-readline \ --with-history depends_lib-append port:readline } livecheck.type regex livecheck.url ${homepage}news.html livecheck.regex {