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

PortSystem          1.0
PortGroup           boost 1.0

name                opensaml
version             3.2.1
revision            1

categories          lang shibboleth security xml
license             Apache-2
maintainers         {snc @nerdling} {scantor @scantor}

description         OpenSAML 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

boost.depends_type  build

platforms           darwin

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

checksums           rmd160  14115685d57379b4bd811a0db07f4a56f9a5c78f \
                    sha256  b402a89a130adcb76869054b256429c1845339fe5c5226ee888686b6a026a337 \
                    size    600699

configure.args      --disable-static \
                    --with-boost=[boost::install_area]

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