autoreconf
[shibboleth/opensaml2.git] / Portfile
index 04b94dc..dd6d993 100644 (file)
--- a/Portfile
+++ b/Portfile
@@ -1,35 +1,29 @@
 PortSystem 1.0
 
-name               opensaml
-version            2.2.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
+name                opensaml
+version             2.4.1
+categories          lang shibboleth security xml
+maintainers         scantor snc
+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}/
 
-depends_lib        port:xmltooling \
-                   port:xml-security-c \
-                   port:xercesc \
-                   port:log4shib
+platforms           darwin
 
-configure.args     --disable-static \
-                   --with-log4shib=${prefix} \
-                   --with-xmltooling=${prefix} \
-                   --with-xerces=${prefix} \
-                   --with-xmlsec=${prefix}
+depends_lib         port:xmltooling \
+                    port:xml-security-c \
+                    port:xercesc3 \
+                    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
-}
+checksums           sha1 @CHECKSUM@
 
-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
-}
+configure.args      --disable-static \
+                    --with-xmltooling=${prefix} \
+                    --with-xerces=${prefix} \
+                    --with-xmlsec=${prefix}
 
+
+livecheck.check     regex
+livecheck.url       http://shibboleth.internet2.edu/downloads/shibboleth/cppsp/latest/mac/ports/shibboleth/opensaml/Portfile
+livecheck.regex     "version *(\\d+\\.\\d+(\\.\\d+)?)"