Check in Mac portfiles.
[shibboleth/cpp-xmltooling.git] / dependencies / xml-security / Portfile
diff --git a/dependencies/xml-security/Portfile b/dependencies/xml-security/Portfile
new file mode 100644 (file)
index 0000000..732ac26
--- /dev/null
@@ -0,0 +1,29 @@
+PortSystem 1.0
+
+name               xml-security-c
+version            1.5.1
+revision           1
+categories         shibboleth
+maintainers        cantor.2@osu.edu
+description        XML Signing/Encryption for C++
+homepage           http://santuario.apache.org/
+master_sites       http://santuario.apache.org/dist/c-library
+configure.args     --disable-static \
+                   --without-xalan \
+                   --with-xerces=${prefix} \
+                   --with-openssl=${prefix}
+checksums          sha1 e51d3dca7f32cfcc2090d4d20cf8a1d032d95d79
+
+depends_lib        port:xercesc port:openssl
+
+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
+}