# -*- 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
# $Id: Portfile 109394 2013-08-14 20:57:25Z larryv@macports.org $

PortSystem 1.0

name                yazpp
version             1.4.1
categories          net databases devel
platforms           darwin
license             BSD
maintainers         coateconnection.com:dlc

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            http://www.indexdata.com/yazpp/

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

checksums           sha1    0ad0676b1d9decdeff996fd531a15705082e6a77 \
                    rmd160  9b15ed7ff5bcdbf4d0c2eace23b7992ae959416e

depends_lib         port:yaz

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

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