# -*- 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                dcw-gmt
github.setup        GenericMappingTools dcw-gmt 2.2.0
categories          science
platforms           any
supported_archs     noarch
maintainers         {takeshi @tenomoto} \
                    {me.com:remko.scharroo @remkos} \
                    openmaintainer
license             LGPL-3
description         Digital Chart of the World (DCW) for GMT 5
long_description    DCW-GMT is an enhancement to the \
    original 1:1,000,000 scale vector basemap of the world \
    available from the Princeton University Digital Map and \
    Geospatial Information Center and from GeoCommunity at \
    http://data.geocomm.com/readme/dcw/dcw.html. To read \
    and process the data you should install GMT, the Generic \
    Mapping Tools (port gmt5 or subport gmt6).

github.tarball_from releases

checksums           rmd160  d57eea9dc7ebeb3378a4821b87072b5798600a1a \
                    sha256  f2a8a7b7365bdd17269aa1d412966a871528eefa9b2a7409815832a702ff7dcb \
                    size    22487044

use_configure       no
build {}

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

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