# $Id: Portfile,v 1.10 2005/09/13 20:32:23 mww Exp $ PortSystem 1.0 name xercesc version 2.7.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/source/ distname xerces-c-src_2_7_0 checksums md5 04169609449a8846bc1e6891c04cadf4 platforms darwin configure.dir ${worksrcpath}/src/xercesc configure.env XERCESCROOT="${worksrcpath}" configure.pre_args -P "${prefix}" configure.cmd ./runConfigure build.dir ${worksrcpath}/src/xercesc build.env ${configure.env} build.type gnu variant darwin { configure.pre_args-append -p macosx -n native } platform darwin 8 { configure.pre_args-append -c /usr/bin/gcc-4.0 -x /usr/bin/g++-4.0 } 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} }