PortSystem 1.0

name                opensaml
version             2.3
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}/

platforms           darwin

depends_lib         port:xmltooling \
                    port:xml-security-c \
                    port:xercesc3 \
                    port:log4shib

checksums           sha1 @CHECKSUM@

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+)?)"
