# -*- 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 79097 2011-06-02 04:54:03Z ryandesign@macports.org $

PortSystem 1.0

name                yazpp
version             1.2.5
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.dk/yazpp/

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

checksums           sha1    44c1bf23a8ab21d347a45c18bd60fef33453076a \
                    rmd160  3bfa51c173964123ca743566edfaccb699b6307b

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