# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4

PortSystem      1.0

name            libdap
conflicts       dap
version         3.18.1
platforms       darwin
maintainers     {takeshi @tenomoto}
categories      science
description     A C++ SDK which contains an implementation of DAP 2.0
master_sites    http://www.opendap.org/pub/source/
checksums           rmd160  83581a5511ea802de55907c027d71064cccf4af7 \
                    sha256  a755c472d7c9e54bc3aa6c92a847a69466fbc6cdc56ee912f411802a725d57a4
homepage        http://www.opendap.org/
long_description \
                A C++ SDK which contains an implementation of DAP 2.0,  \
                Client- and Server-side support classes and a prototype \
                implementation of the AIS.

depends_build   port:pkgconfig \
                port:flex \
                port:bison
depends_lib     port:curl \
                port:libiconv \
                port:libxml2

livecheck.type  regex
livecheck.url   ${homepage}download/${name}
livecheck.regex ${name}-(\[0-9\]+.\[0-9\]+.\[0-9\]+)${extract.suffix}
