# -*- 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.3.1
revision            0

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            https://www.opensaml.org

master_sites        http://shibboleth.net/downloads/c++-opensaml/${version}/
use_bzip2           yes

checksums           rmd160  d12897e4e3de11f2dd4f2b987bf1bf7ee767f8ec \
                    sha256  d8e24e070fc6bb80682632ca32c8569a9f3ef170ba57e3b82818322e75b6a37e \
                    size    615161

boost.depends_type  build

depends_build-append \
                    path:bin/pkg-config:pkgconfig
depends_lib         port:log4cpp \
                    port:log4shib \
                    port:xercesc3 \
                    port:xml-security-c \
                    port:xmltooling \

compiler.cxx_standard   2011

configure.args      --disable-silent-rules \
                    --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+)?)
