# -*- 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: Portfile 107092 2013-06-18 01:51:32Z scantor@macports.org $

PortSystem          1.0

name                xmltooling
version             1.5.3
categories          security textproc xml shibboleth
license             Apache-2
maintainers         snc scantor
description         XMLTooling library for C++
long_description    Toolkit for security-aware XML processing
homepage            http://www.opensaml.org/

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

master_sites        http://shibboleth.net/downloads/c++-opensaml/2.5.3/
checksums           rmd160  2b8530f41576511b222f515a86e39981f34c2102 \
                    sha256  90e453deb738574b04f1f1aa08ed7cc9d8746bcbf93eb59f401a6e38f2ec9574

configure.args      --disable-static \
                    --with-openssl=${prefix} \
                    --with-curl=${prefix} \
                    --with-boost=${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+)?)
