Update to libxmltooling6
[shibboleth/xmltooling.git] / Portfile
index e7e5f25..85a1cd7 100644 (file)
--- a/Portfile
+++ b/Portfile
@@ -1,38 +1,29 @@
 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
+name                xmltooling
+version             1.4.1
+categories          security textproc xml shibboleth
+maintainers         snc scantor
+description         XMLTooling library for C++
+long_description    Toolkit for security-aware XML processing
+homepage            http://www.opensaml.org/
 
-configure.args     --disable-static \
-                   --with-log4shib=${prefix} \
-                   --with-openssl=${prefix} \
-                   --with-curl=${prefix} \
-                   --with-xerces=${prefix} \
-                   --with-xmlsec=${prefix}
+platforms           darwin
+depends_lib         port:curl \
+                    port:xercesc3 \
+                    port:xml-security-c \
+                    port:log4shib
 
+master_sites        http://shibboleth.internet2.edu/downloads/opensaml/cpp/2.3/
+checksums           sha1 @CHECKSUM@
 
-depends_lib        port:curl \
-                   port:xercesc \
-                   port:xml-security-c \
-                   port:log4shib
+configure.args      --disable-static \
+                    --with-openssl=${prefix} \
+                    --with-curl=${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
-}
 
+livecheck.check     regex
+livecheck.url       http://shibboleth.internet2.edu/downloads/shibboleth/cppsp/latest/mac/ports/shibboleth/xmltooling/Portfile
+livecheck.regex     "version *(\\d+\\.\\d+(\\.\\d+)?)"