# $Id$ PortSystem 1.0 name pure-xml version 0.2 categories textproc platforms darwin maintainers ryandesign use_parallel_build yes homepage http://pure-lang.googlecode.com/ master_sites ${homepage}files/ description an interface to libxml2 and libxslt for Pure long_description ${name} is an interface to the libxml2 and \ libxslt libraries for Pure. checksums md5 260c78ff1500d699ffed4077e49e18a3 \ sha1 7df20fba4c0ea4c09728a9e915c367f0181bf0c5 \ rmd160 bf3be5e145be897300858a03799ef101b5763780 depends_lib-append path:lib/libpure.dylib:pure \ path:lib/pkgconfig/libxml-2.0.pc:libxml2 \ path:lib/pkgconfig/libxslt.pc:libxslt use_configure no pre-build { build.args-append CC=${configure.cc} \ CFLAGS="${configure.cflags}" \ CPPFLAGS="${configure.cppflags}" \ LDFLAGS="${configure.ldflags}" } post-destroot { xinstall -d \ ${destroot}${prefix}/share/doc/${name} \ ${destroot}${prefix}/share/examples xinstall -m 644 -W ${worksrcpath} \ COPYING \ README \ ${destroot}${prefix}/share/doc/${name} copy ${worksrcpath}/examples ${destroot}${prefix}/share/examples/${name} } livecheck.check regex livecheck.url http://code.google.com/p/pure-lang/downloads/list livecheck.regex ${name}-(\[0-9.\]+)\\.tar