Check in Mac portfiles.
authorcantor <cantor@de75baf8-a10c-0410-a50a-987c0e22f00f>
Mon, 27 Jul 2009 01:05:12 +0000 (01:05 +0000)
committercantor <cantor@de75baf8-a10c-0410-a50a-987c0e22f00f>
Mon, 27 Jul 2009 01:05:12 +0000 (01:05 +0000)
git-svn-id: https://svn.middleware.georgetown.edu/cpp-xmltooling/branches/REL_1@603 de75baf8-a10c-0410-a50a-987c0e22f00f

Portfile [new file with mode: 0644]
dependencies/xerces/Portfile [new file with mode: 0644]
dependencies/xml-security/Portfile [new file with mode: 0644]

diff --git a/Portfile b/Portfile
new file mode 100644 (file)
index 0000000..e7e5f25
--- /dev/null
+++ b/Portfile
@@ -0,0 +1,38 @@
+PortSystem 1.0
+
+name               xmltooling
+version            1.2
+revision           1
+categories         shibboleth
+maintainers        cantor.2@osu.edu
+description        XMLTooling library for C++
+long_description   Toolkit for security-aware XML processing
+homepage           http://www.opensaml.org/
+master_sites       http://shibboleth.internet2.edu/downloads/opensaml/cpp/2.2/
+checksums          sha1 e140196544de0613a3645319271565deea66801a
+
+configure.args     --disable-static \
+                   --with-log4shib=${prefix} \
+                   --with-openssl=${prefix} \
+                   --with-curl=${prefix} \
+                   --with-xerces=${prefix} \
+                   --with-xmlsec=${prefix}
+
+
+depends_lib        port:curl \
+                   port:xercesc \
+                   port:xml-security-c \
+                   port:log4shib
+
+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
+}
+
diff --git a/dependencies/xerces/Portfile b/dependencies/xerces/Portfile
new file mode 100644 (file)
index 0000000..b03c300
--- /dev/null
@@ -0,0 +1,38 @@
+PortSystem 1.0
+
+name               xercesc
+version            3.0.1
+revision           1
+categories         shibboleth
+maintainers        cantor.2@osu.edu
+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/3/sources/
+distname        xerces-c-${version}
+configure.args  --disable-static \
+                --enable-netaccessor-socket \
+                --enable-transcoder-icu \
+                --enable-msgloader-icu \
+                --with-icu=${prefix}
+checksums       sha1 71e4efee5397dd45d6bafad34bf3bc766bc2a085
+platforms       darwin
+
+depends_lib     port: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
+}
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
+}