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

name                gshhg-gmt
github.setup        GenericMappingTools gshhg-gmt 2.3.7
categories          science
platforms           any
supported_archs     noarch
maintainers         {gmail.com:seisman.info @seisman} openmaintainer
license             LGPL-3
description         Global Self-consistent Hierarchical High-resolution Geography (GSHHG)
long_description    Global Self-consistent Hierarchical \
    High-resolution Geography (GSHHG) is a high-resolution \
    shoreline data set amalgamated from three databases: \
    World Vector Shorelines (WVS), CIA World Data Bank II \
    (WDBII), and Atlas of the Cryosphere (AC). GSHHG contains \
    vector descriptions at five different resolutions of land \
    outlines, lakes, rivers, and political boundaries. To read \
    and process the data you should install GMT, the Generic \
    Mapping Tools (port gmt5).

github.tarball_from releases

checksums           rmd160  c8226ce76f7ffeff07d22d6f202c1c1128ac29bd \
                    sha256  9bb1a956fca0718c083bef842e625797535a00ce81f175df08b042c2a92cfe7f \
                    size    57052180

use_configure       no
build {}

destroot {
    file mkdir ${destroot}${prefix}/share/gmt
    copy ${worksrcpath} ${destroot}${prefix}/share/gmt/gshhg
}

github.livecheck.regex      {([^"rba]+)}
