# -*- 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$

PortSystem          1.0

name                opensaml
version             2.6.0
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://shibboleth.net/downloads/c++-opensaml/${version}/
use_bzip2           yes

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

checksums           rmd160  c0eee88f0e775ef529dfb1c000ee628c1aceab12 \
                    sha256  8bd2a7521dc372bcb92f8bc3fec301fb2ccecfad8bfb99052d6eb76b576250fd

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


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