# $Id: Portfile,v 1.4 2003/12/09 06:29:58 mww Exp $ PortSystem 1.0 name xercesc version 2.3.0 revision 1 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 master_sites.mirror_subdir /xerces-c/ distname xerces-c-src_2_3_0 checksums md5 5167dca8942dd2dd719fa5a8ebe0c18b platforms darwin freebsd 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 \ ${worksrcpath}/LICENSE.txt ${worksrcpath}/Readme.html \ ${worksrcpath}/STATUS ${worksrcpath}/credits.txt \ ${destroot}${prefix}/share/doc/${name} }