# -*- 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
PortGroup compiler_blacklist_versions 1.0
maintainers {mps @Schamschula} openmaintainer
description Armadillo C++ linear algebra library
long_description Armadillo is a C++ linear algebra library (matrix maths) \
aiming towards a good balance between speed and ease of use. \
Integer, floating point and complex numbers are supported, \
as well as a subset of trigonometric and statistics functions. \
Various matrix decompositions are provided through optional \
integration with LAPACK or high-performance LAPACK-compatible \
homepage http://arma.sf.net/
master_sites sourceforge:project/arma
checksums rmd160 56e3f8a952fb648977aa193307e1fca6aac946ab \
sha256 ace40efbe2df4b418ec713c71bbd20cedfa92a55015f810639319dec477aa12e \
depends_build-append port:pkgconfig
depends_lib-append port:hdf5
configure.args-append -DARPACK_LIBRARY=
livecheck.url ${homepage}download.html
livecheck.regex /${name}-(\[0-9.\]+)${extract.suffix}
variant arpack description {compile with ARPACK support} {
depends_lib-append port:arpack
configure.args-delete -DARPACK_LIBRARY=
# Snow Leopard (and older) will fail to build with the error "Need a newer compiler"
compiler.blacklist-append gcc-4.2 llvm-gcc-4.2 {clang <= 211.10.1}