# $Id$ PortSystem 1.0 name xercesc version 2.8.0 categories shibboleth 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://xerces.apache.org/xerces-c/ master_sites apache:xerces/c/2/sources/ distname xerces-c-src_[strsed ${version} {g/\./_/}] checksums md5 5daf514b73f3e0de9e3fce704387c0d2 platforms darwin depends_lib port:icu configure.dir ${worksrcpath}/src/xercesc configure.env XERCESCROOT=${worksrcpath} ICUROOT=${prefix} configure.pre_args -P "${prefix}" configure.cmd ./runConfigure build.dir ${worksrcpath}/src/xercesc build.env ${configure.env} build.type gnu platform darwin { configure.pre_args-append -p macosx -n socket -t icu } platform darwin 8 { configure.env-append MACOSX_DEPLOYMENT_TARGET=10.4 build.env-append MACOSX_DEPLOYMENT_TARGET=10.4 destroot.env-append MACOSX_DEPLOYMENT_TARGET=10.4 } platform darwin 9 { configure.env-append MACOSX_DEPLOYMENT_TARGET=10.4 build.env-append MACOSX_DEPLOYMENT_TARGET=10.4 destroot.env-append MACOSX_DEPLOYMENT_TARGET=10.4 } 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} }