# -*- 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.2.4
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        ${homepage}/downloads/c++-opensaml/3.2.1/
use_bzip2           yes

checksums           rmd160  0179249a5227ad8d5113ec7b3bb5c9c3a4b974a1 \
                    sha256  92db9b52f28f854ba2b3c3b5721dc18c8bd885c1e0d9397f0beb3415e88e3845 \
                    size    621120

# 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+)?)