# -*- 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
PortGroup           cmake 1.1
PortGroup           github 1.0
PortGroup           boost 1.0

github.setup        osmcode osmium-tool 1.18.0 v
github.tarball_from archive
revision            0

categories          gis
maintainers         {@frankdean fdsd.co.uk:frank.dean} openmaintainer

license             GPL-3+ MIT BSD Boost-1

description         A command line tool for working with OpenStreetMap

long_description    A multipurpose command line tool for working with \
                    OpenStreetMap data based on the Osmium library

homepage            https://osmcode.org/osmium-tool/

checksums           rmd160  fc5f82dad5f74ce8abb19d129bf66dcdc8ca4995 \
                    sha256  5438f57043c9df05137ca4bd1b1e4a5fb1c9c8c49cb4bec43a5f1ef30ed68fb5 \
                    size    379204

compiler.cxx_standard 2014

depends_lib-append  port:bzip2 \
                    port:expat \
                    port:lz4 \
                    port:zlib

depends_build-append \
                    port:libosmium \
                    port:pandoc \
                    port:protozero \
                    port:nlohmann-json

test.run            yes
test.cmd            ctest --output-on-failure
