# $Id: Portfile,v 1.7 2004/04/15 14:59:35 mww Exp $ PortSystem 1.0 name xercesc version 2.5.0 categories textproc maintainers chris.ridd@isode.com description an XML parser long_description Xerces-C++ is a validating XML parser written in \ a portable subset of C++. Xerces-C++ makes it \ easy to give your application the ability to read \ and write XML data. A shared library is provided \ for parsing, generating, manipulating, and \ validating XML documents. homepage http://xml.apache.org/xerces-c/ master_sites apache:xml/xerces-c/ distname xerces-c-src_2_5_0 checksums md5 e7ff7d007fabfa7e3fc8c75a8007b0b1 platforms darwin freebsd worksrcdir xerces-c-src_2_5_0 configure.dir ${worksrcpath}/src/xercesc configure.env XERCESCROOT="${worksrcpath}" configure.pre_args -P "${prefix}" configure.cmd ./runConfigure variant darwin { configure.pre_args-append -p macosx -n native } variant freebsd { configure.pre_args-append -p freebsd } build.dir ${worksrcpath}/src/xercesc build.env ${configure.env} build.type gnu destroot.env ${configure.env} post-destroot { xinstall -d -m 755 ${destroot}${prefix}/share/doc file copy ${worksrcpath}/doc/html ${destroot}${prefix}/share/doc/${name} xinstall -m 644 -W ${worksrcpath} version.incl LICENSE.txt Readme.html \ credits.txt ${destroot}${prefix}/share/doc/${name} }