# $Id: Portfile,v 1.6 2004/01/04 23:26:04 mww Exp $ PortSystem 1.0 name xercesc version 2.4.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_4_0 checksums md5 d2cbd82c835441a1420eb38c4dda5129 platforms darwin freebsd worksrcdir xerces-c-src2_4_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 { file mkdir ${destroot}${prefix}/share/doc file copy ${worksrcpath}/doc/html ${destroot}${prefix}/share/doc/${name} file copy ${worksrcpath}/version.incl ${worksrcpath}/LICENSE.txt \ ${worksrcpath}/Readme.html ${worksrcpath}/credits.txt \ ${destroot}${prefix}/share/doc/${name} }