# -*- 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 67853 2010-05-20 04:21:40Z ryandesign@macports.org $

PortSystem 1.0

name                metaproxy
version             1.1.4
categories          net databases devel
platforms           darwin
license             GPLv2
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           md5     43d73fba74d43027b927fcca5555dd12 \
                    sha1    868fdc84e38ee3224acdb3c4efc1d25f87fdd672 \
                    rmd160  3a0eeec1632344b4d1b16591c40fe7d7c501b5f9

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