Check in Mac portfiles.
authorScott Cantor <cantor.2@osu.edu>
Mon, 27 Jul 2009 01:05:24 +0000 (01:05 +0000)
committerScott Cantor <cantor.2@osu.edu>
Mon, 27 Jul 2009 01:05:24 +0000 (01:05 +0000)
Portfile [new file with mode: 0644]

diff --git a/Portfile b/Portfile
new file mode 100644 (file)
index 0000000..ee5e542
--- /dev/null
+++ b/Portfile
@@ -0,0 +1,36 @@
+PortSystem 1.0
+
+name               opensaml
+version            2.2
+revision           1
+categories         shibboleth
+maintainers        cantor.2@osu.edu
+description        OpenSAML 2 library for C++
+long_description   SAML 2.0/1.x toolkit
+homepage           http://www.opensaml.org/
+master_sites       http://shibboleth.internet2.edu/downloads/opensaml/cpp/${version}/
+checksums          sha1 37d190a7cd88d151ca7ffd43cc914ad47425b114
+
+depends_lib        port:xmltooling \
+                   port:xml-security-c \
+                   port:xercesc \
+                   port:log4shib
+
+configure.args     --disable-static \
+                   --with-log4shib=${prefix} \
+                   --with-xmltooling=${prefix} \
+                   --with-xerces=${prefix} \
+                   --with-xmlsec=${prefix}
+
+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
+}
+