# -*- 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        szaghi PENF 1.2.3 v
# Change github.tarball_from to 'releases' or 'archive' next update
github.tarball_from tarball
revision            0
categories          devel fortran
license             {BSD GPL-3 MIT}
maintainers         nomaintainer
description         Portability Environment for Fortran poor people
long_description    A KISS library for exploiting codes portability for modern (2003+) Fortran projects.
checksums           rmd160  2b9eae6ac289f0105062d944a0c066a4c0005dab \
                    sha256  808e99445d4e9514ec29868b997d866a96d4d57a8edc73fa2ff10d91c2829503 \
                    size    143277

compilers.choose    fc f90 cc
compilers.setup     require_fortran
compiler.blacklist-append \
                    *gcc-4.* {clang < 421}

configure.args-append \
                    -DBUILD_TESTING=ON

# Some tests fail on PPC: https://github.com/szaghi/PENF/issues/23
test.run            yes
test.cmd            ctest
