# -*- 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                xmltooling
version             3.3.1
revision            1
categories          security textproc xml shibboleth
license             Apache-2
maintainers         {snc @nerdling} {scantor @scantor}
description         XMLTooling library for C++
long_description    Toolkit for security-aware XML processing
homepage            https://www.shibboleth.net

depends_build       path:bin/pkg-config:pkgconfig
boost.depends_type  build

depends_lib         port:curl \
                    path:lib/libssl.dylib:openssl \
                    port:xercesc3 \
                    port:xml-security-c \
                    port:zlib \
                    port:log4shib

master_sites        https://shibboleth.net/downloads/c++-opensaml/3.3.2/
use_bzip2           yes

checksums           rmd160  a725f900f41286783081739060f444cffb275844 \
                    sha256  e09925157321f2d3924500da27ccb3def11c521881ba5017a3efc271ee03c3d9 \
                    size    641858

# Xerces_autoconf_config.hpp: error: cstdint: No such file or directory
compiler.cxx_standard   2011

configure.args      --disable-static \
                    --with-xmlsec

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