# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4

PortSystem          1.0

name                yazpp
version             1.8.1
categories          net databases devel
license             BSD
maintainers         nomaintainer

description         C++ API for Yaz toolkit for Z39.50/SRW/SRU clients and servers
long_description    YAZ is a compact toolkit that provides access \
                    to the Z39.50 and SRW/SRU protocols, as well as a set \
                    of higher-level tools for implementing the server \
                    and client roles, respectively. This is the C++ API.

homepage            https://www.indexdata.com/yazpp

master_sites        https://ftp.indexdata.com/pub/yazpp/

checksums           rmd160  513bf0e39d2958882a7ede73144d0e244eee4ab0 \
                    sha256  13b7e61b2f20a57d0925bf6925c1d82e40a11092a8d1ab1d9d49dfd1863dbb05 \
                    size    637489

depends_lib-append  port:yaz

configure.args-append \
                    --with-yaz=${prefix}/bin

livecheck.type      regex
livecheck.url       [lindex ${master_sites} 0]
livecheck.regex     "${name}-(\[0-9\]+(\\.\[0-9\]+)+)${extract.suffix}"
