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

PortSystem          1.0
PortGroup           cmake  1.1

name                gdal-grass

# Due to upstream reset of version numbering after split from GDAL source repo,
# do not (re-)publish 1.4.3_0, 2.1.0_0, 2.1.0_1, 2.2.0_0, 2.2.0_1, or 2.2.0_2
version             1.0.4
revision            0
epoch               1

categories          gis
license             MIT
maintainers         {yahoo.com:n_larsson @nilason} {vince @Veence} openmaintainer

description         GRASS Drivers for GDAL and OGR
long_description    This plugin allows GDAL to read GRASS raster and vector files.

homepage            https://github.com/OSGeo/gdal-grass
master_sites        https://download.osgeo.org/gdal-grass/

depends_lib         port:gdal \
                    port:grass

checksums           rmd160  e47332e7a4dd4c046469e84697a17c33dd0e0f4c \
                    sha256  78b6736df565f86b4cfac2f33877a49934cd058ba2bbe7bb4bc12f6a7bbae19b \
                    size    343903

compiler.cxx_standard  2011

livecheck.type      regex
livecheck.url       [lindex ${master_sites} 0]
livecheck.regex     ${name}-(\\d+(?:\\.\\d+)*)[quotemeta ${extract.suffix}]
