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

github.setup        systemed tilemaker 3.0.0 v
# Change github.tarball_from to 'releases' or 'archive' next update
github.tarball_from tarball
revision            1

categories          gis
license             FTWPL
maintainers         {@sikmir disroot.org:sikmir} openmaintainer

description         Make OpenStreetMap vector tiles without the stack
long_description    {*}${description}

installs_libs       no

checksums           rmd160  4b97345985fb94445c44c7d624cbdfc86057e064 \
                    sha256  1e2115d52975d5e3c1f89192c442de620cf1cb0f80b92a7836dad88c0f247b8b \
                    size    43684576

depends_build-append \
                    port:pkgconfig

depends_lib-append \
                    port:lua \
                    port:protobuf3-cpp \
                    port:rapidjson \
                    port:shapelib \
                    port:sqlite3 \
                    port:zlib

compiler.thread_local_storage \
                    yes
compiler.cxx_standard \
                    2014

post-destroot {
    set mandir ${destroot}${prefix}/share/man/man1
    xinstall ${worksrcpath}/docs/man/tilemaker.1 ${mandir}
}
