# -*- 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 93215 2012-05-17 22:14:58Z ryandesign@macports.org $

PortSystem 1.0

name                metaproxy
version             1.3.36
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.com/metaproxy/

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

checksums           sha1    5a7c394e2b45fc022443e41b521c2266466c5ac1 \
                    rmd160  904a12956ce450325ef0b40e745b8e190045e619

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