# -*- 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 88737 2012-01-10 03:23:45Z dports@macports.org $

PortSystem 1.0

name                yazpp
version             1.2.7
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    a1ace2a7c5547253824a6d10fda8807d12dbf144 \
                    rmd160  6df762fa9e22f8e37fe4deef6c26efd82bdf189a

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