Check in Mac portfiles.
[shibboleth/cpp-xmltooling.git] / dependencies / xerces / Portfile
1 PortSystem 1.0
2
3 name               xercesc
4 version            3.0.1
5 revision           1
6 categories         shibboleth
7 maintainers        cantor.2@osu.edu
8 description         an XML parser
9 long_description    Xerces-C++ is a validating XML parser written in \
10                     a portable subset of C++.  Xerces-C++ makes it \
11                     easy to give your application the ability to read \
12                     and write XML data.  A shared library is provided \
13                     for parsing, generating, manipulating, and \
14                     validating XML documents.
15 homepage        http://xerces.apache.org/xerces-c/
16 master_sites    apache:xerces/c/3/sources/
17 distname        xerces-c-${version}
18 configure.args  --disable-static \
19                 --enable-netaccessor-socket \
20                 --enable-transcoder-icu \
21                 --enable-msgloader-icu \
22                 --with-icu=${prefix}
23 checksums       sha1 71e4efee5397dd45d6bafad34bf3bc766bc2a085
24 platforms       darwin
25
26 depends_lib     port:icu
27
28 platform darwin 8 {
29     configure.env-append MACOSX_DEPLOYMENT_TARGET=10.4
30     build.env-append MACOSX_DEPLOYMENT_TARGET=10.4
31     destroot.env-append MACOSX_DEPLOYMENT_TARGET=10.4
32 }
33
34 platform darwin 9 {
35     configure.env-append MACOSX_DEPLOYMENT_TARGET=10.4
36     build.env-append MACOSX_DEPLOYMENT_TARGET=10.4
37     destroot.env-append MACOSX_DEPLOYMENT_TARGET=10.4
38 }