# -*- coding: utf-8; mode: tcl; tab-width: 4; truncate-lines: t; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
# $Id: Portfile 55857 2009-08-20 13:00:45Z snc@macports.org $

PortSystem          1.0

name                opensaml
version             2.2.1
categories          lang shibboleth security xml
#license             Apachev2
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://shibboleth.internet2.edu/downloads/opensaml/cpp/${version}/

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

checksums           sha1 a90d3947c6b2a696b5cfe9b464e77a3342356fe0

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


livecheck.check     regex
livecheck.url       http://shibboleth.internet2.edu/downloads/opensaml/cpp/latest/
livecheck.regex     ${name}-(\\d+\\.\\d+\\.\\d+)
