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

github.setup            blitzpp blitz 1.0.2
# Change github.tarball_from to 'releases' or 'archive' next update
github.tarball_from     tarball
revision                0
categories              math devel
license                 {LGPL-3+ BSD Artistic-2}
maintainers             {mcalhoun @MarcusCalhoun-Lopez} openmaintainer

description             a C++ class library for scientific computing

long_description        Blitz++ is {*}${description} which provides performance on \
                        par with Fortran 77/90. It uses template techniques to \
                        achieve high performance.

checksums               rmd160  9d759e6b63817f2fd00bec0f3793a5b7e3390ac1 \
                        sha256  6289d32592d91e3d0429c78d173b07f692cd3dee5ffdd48cb71ab2563b0a4143 \
                        size    2941335

compilers.setup         -fortran

depends_build-append    port:python38
configure.args-append   -DPython_EXECUTABLE=${prefix}/bin/python3.8

# broken: cannot get build system to respect DYLD_FALLBACK_LIBRARY_PATH
#variant docs description {Build documentation} {
#    depends_build-append  path:bin/doxygen:doxygen \
#                          path:bin/dot:graphviz
#    configure.args-append -DBUILD_DOC=ON
#    build.args-append     DYLD_FALLBACK_LIBRARY_PATH=${cmake.build_dir}/src
#}
