# -*- 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 93206 2012-05-17 19:40:27Z ryandesign@macports.org $

PortSystem 1.0

name                yazpp
version             1.3.0
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    a2f524fb3d52f615c8ac8ca7a5e1422feb68d421 \
                    rmd160  481b2ed836e2f2169ef472879c2f6ecca04c7446

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