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

github.setup        geographiclib geographiclib 2.7 v
github.tarball_from archive
revision            0
categories          gis
maintainers         {gmail.com:tlockhart1976 @lockhart} gmail.com:crmoore \
                    openmaintainer
license             MIT

description         Convert between coordinate systems for solving geodesic problems.

long_description \
    GeographicLib is a small set of C++ classes for converting between geographic, UTM, \
    UPS, MGRS, and geocentric coordinates, for gravity (e.g., EGM2008), geoid, \
    and geomagnetic field (e.g., WMM2010) calculations, and for solving geodesic problems.

homepage            https://geographiclib.sourceforge.io/

checksums           rmd160  b00ea4acf28188063cfb065cd1db814627bc97a0 \
                    sha256  78d77cc8216843b78d14b41970ed9de3dedc34b9cd50ad84af2849c63a41eff8 \
                    size    1568224

compiler.cxx_standard   2014

depends_build-append    path:bin/doxygen:doxygen

configure.args-append   -DBUILD_BOTH_LIBS=ON \
                        -DBUILD_DOCUMENTATION=ON
