Check in Mac portfiles.
[shibboleth/cpp-opensaml.git] / Portfile
1 PortSystem 1.0
2
3 name               opensaml
4 version            2.2
5 revision           1
6 categories         shibboleth
7 maintainers        cantor.2@osu.edu
8 description        OpenSAML 2 library for C++
9 long_description   SAML 2.0/1.x toolkit
10 homepage           http://www.opensaml.org/
11 master_sites       http://shibboleth.internet2.edu/downloads/opensaml/cpp/${version}/
12 checksums          sha1 37d190a7cd88d151ca7ffd43cc914ad47425b114
13
14 depends_lib        port:xmltooling \
15                    port:xml-security-c \
16                    port:xercesc \
17                    port:log4shib
18
19 configure.args     --disable-static \
20                    --with-log4shib=${prefix} \
21                    --with-xmltooling=${prefix} \
22                    --with-xerces=${prefix} \
23                    --with-xmlsec=${prefix}
24
25 platform darwin 8 {
26         configure.env-append MACOSX_DEPLOYMENT_TARGET=10.4
27         build.env-append MACOSX_DEPLOYMENT_TARGET=10.4
28         destroot.env-append MACOSX_DEPLOYMENT_TARGET=10.4
29 }
30
31 platform darwin 9 {
32         configure.env-append MACOSX_DEPLOYMENT_TARGET=10.4
33         build.env-append MACOSX_DEPLOYMENT_TARGET=10.4
34         destroot.env-append MACOSX_DEPLOYMENT_TARGET=10.4
35 }
36