# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
# $Id: Portfile 85597 2011-10-15 00:56:45Z dports@macports.org $

PortSystem          1.0

name                opensaml
version             2.4.3
revision        1
categories          lang shibboleth security xml
license             Apache-2
maintainers         snc scantor
description         OpenSAML 2 library for C++
long_description    SAML 2.0/1.x toolkit
homepage            http://www.opensaml.org/
master_sites        http://www.shibboleth.net/downloads/c++-opensaml/${version}/

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

checksums           rmd160  a2d05d879ac63817b8e13422a39aa0548efb372e \
                    sha256  850187c7dd664f9216a387bcc9e08f36643f04ddc08d11551e33a46dd15d2539

configure.args      --disable-static \
                    --with-xmltooling=${prefix} \
                    --with-xerces=${prefix} \
                    --with-xmlsec=${prefix}


livecheck.type      regex
livecheck.url       http://www.shibboleth.net/downloads/c++-opensaml/latest/
livecheck.regex     ${name}-(\\d+\\.\\d+(\\.\\d+)?)
