# -*- 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.5.2 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  b271e7ba3d90331293f524315183a62564473097 \
                    sha256  15485087b91722d1115229e983e0bce96869f5cea6049278381132d24865e919 \
                    size    1466583

depends_build-append    path:bin/doxygen:doxygen

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