# -*- 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.3
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  fec18f3adb538f54cd52480e5252d9b6d5ab1375 \
                    sha256  db154f1d57e00769c59e676888be7610bde70e32ee179c8185bd9179f2b02811 \
                    size    1188580

depends_build-append \
                    path:bin/pkg-config:pkgconfig
                    
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}"
