From: Scott Cantor Date: Mon, 27 Jul 2009 01:05:12 +0000 (+0000) Subject: Check in Mac portfiles. X-Git-Tag: 1.2.1~29 X-Git-Url: http://www.project-moonshot.org/gitweb/?p=shibboleth%2Fcpp-xmltooling.git;a=commitdiff_plain;h=821b20e29137ac0578bd0a908c699bd5d1c7afe6 Check in Mac portfiles. --- diff --git a/Portfile b/Portfile new file mode 100644 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 index 0000000..b03c300 --- /dev/null +++ b/dependencies/xerces/Portfile @@ -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 index 0000000..732ac26 --- /dev/null +++ b/dependencies/xml-security/Portfile @@ -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 +}