# $Id: Portfile,v 1.8 2004/10/27 07:26:23 mww Exp $ PortSystem 1.0 name xercesc version 2.6.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_6_0 checksums md5 038b3614ae82d2878bcc820b9ccbe853 platforms darwin freebsd patchfiles patch-Makefile.incl 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} }