# -*- 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-plugin-grass

version             2.0.0
revision            0

distname            gdal-grass-${version}

categories          gis
license             MIT
maintainers         {yahoo.com:n_larsson @nilason} 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  08f42bec363d6bec3e505d16dbdaf2339fedad28 \
                    sha256  85b45974fa34440c2790a416fdff2abe0a5bcc565c0810c0bbf2a6c9a6cfa574 \
                    size    303337

compiler.cxx_standard  2011

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