# -*- 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.4 v
# Change github.tarball_from to 'releases' or 'archive' next update
github.tarball_from tarball
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  12d95fa08349517fec9e1eeb483a331b2be93cff \
                    sha256  d306693b14dc7fe3a3d6e85cb05ec6a67b13232c60261d22a4aab0c6a1e7a48a \
                    size    1458638

depends_build-append    path:bin/doxygen:doxygen

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