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

boost.version       1.87

name                metaproxy
version             1.22.1
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  0b25244209c27dd7a2ad696d4e98533703abe589 \
                    sha256  d67a9f7fc9d36ccea8c4770c96c4ae2bc4250f484f941cbeec2a11695ec8d7b8 \
                    size    1155693

depends_lib-append  port:libiconv \
                    port:libxslt \
                    port:libxml2 \
                    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}"
