# -*- 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.19.1 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  e94f55ddbd0e348e53b06306e509c06470e351c6 \
                    sha256  e629d2f3e500ffa5df6f1b1689161ab3dea3a82f66beec2b453a74b8d782f949 \
                    size    380416

patchfiles          CMakeLists.txt.diff

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
