# -*- 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 88741 2012-01-10 03:39:00Z dports@macports.org $

PortSystem 1.0

name                metaproxy
version             1.3.21
categories          net databases devel
platforms           darwin
license             GPL-2+
maintainers         coateconnection.com:dlc
description         Z39.50 proxy and router utilizing Yaz toolkit.
long_description    Metaproxy is a proxy front end server that presents a \
                    single Z39.50/SRW/SRU front end to multiple back end \
                    Z39.50 database servers. It can also work in conjunction \
                    with Index Data's library of gateways to access \
                    non-Z39.50-compliant database servers.

homepage            http://www.indexdata.dk/metaproxy/

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

checksums           sha1    12e56f6e02075d2d4c4c6ded06be510b3439d76a \
                    rmd160  0b77e01871d98f01bd53127a30920d9cfb3a5e9e

depends_build       port:boost

depends_lib         port:yazpp

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