# -*- 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

PortSystem          1.0
PortGroup           boost 1.0

# There may be linking errors with a newer Boost.
boost.version       1.71

name                metaproxy
version             1.21.0
revision            0
categories          net databases devel
license             GPL-2+
maintainers         nomaintainer
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            https://www.indexdata.com/metaproxy

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

checksums           rmd160  d5f8559dc4718e955a9b130d1bde3ed68a81d738 \
                    sha256  874223a820b15ee2626240c378eee71e31a4e6d3498a433c94409c949e654fae \
                    size    1110862

depends_lib-append  port:libiconv \
                    port:libxml2 \
                    port:xz \
                    port:yaz \
                    port:yazpp \
                    port:zlib

configure.args-append \
                    --with-boost=[boost::install_area]

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