# -*- 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 63500 2010-02-06 10:32:30Z ryandesign@macports.org $

PortSystem          1.0

name                opensaml
version             2.3
revision            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 d5b29a25a26a85957379279280b0f530146ec185

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


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