# -*- 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           cmake 1.1
PortGroup           compilers 1.0
PortGroup           github 1.0

github.setup        geospace-code maptran3d 4ccc2479ae79a58b34d8e491013cfa2f60f65867
# Change github.tarball_from to 'releases' or 'archive' next update
github.tarball_from tarball
version             1.2.0
revision            0
categories          fortran gis
license             BSD
maintainers         {@barracuda156 gmail.com:vital.had} openmaintainer
description         Modern Fortran 3D coordinate conversions for geospace ecef enu eci
long_description    {*}${description}
checksums           rmd160  c932ed53b1ad72534f266b1d6f34db4c5b0d98c5 \
                    sha256  5b134c5997f824e8af609d42f0e080a36cdb9f5b97a2de7a4276078e800512c0 \
                    size    15456

compilers.setup     require_fortran
compiler.blacklist-append \
                    {*gcc-[34].*} {macports-gcc-[56]}

patchfiles          patch-fix-paths.diff

configure.args-append \
                    -DBUILD_TESTING=ON

test.run            yes
test.cmd            ctest
