# -*- 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.9.0
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  8db88adedba899af7d488b2ca10de56d9bb7f841 \
                    sha256  17aa0f5b45edbfa9ee0363cb3b684e895d3d05e74024384d6c8707875621dcfc \
                    size    641596

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}"
