Commits

Marius Schamschula authored dba07a0b216
armadillo: fix path issue to mpi.h by adding mpi PortGroup

See: https://github.com/macports/macports-ports/pull/3102 adjust whitespace and fix livecheck
No tags

science/armadillo/Portfile

Modified
1 1 # -*- 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
2 2
3 3 PortSystem 1.0
4 4 PortGroup cmake 1.0
5 5 PortGroup compiler_blacklist_versions 1.0
6 +PortGroup mpi 1.0
6 7
7 8 name armadillo
8 9 version 9.200.5
10 +revision 1
9 11 categories science
10 12 platforms darwin
11 13 maintainers {mps @Schamschula} openmaintainer
12 14 license Apache-2
13 15
14 16 description Armadillo C++ linear algebra library
15 17
16 18 long_description Armadillo is a C++ linear algebra library (matrix maths) \
17 19 aiming towards a good balance between speed and ease of use. \
18 20 Integer, floating point and complex numbers are supported, \
29 31 checksums rmd160 d72efe90d9544974853c6ae0e46aa5a3297d4f2b \
30 32 sha256 4a47fdb13178a252bccae683d3bc0634effe69682abfe0d92f5e73ab2b99462b \
31 33 size 4786264
32 34
33 35 depends_build-append port:pkgconfig
34 36
35 37 depends_lib-append port:hdf5
36 38
37 39 cmake.out_of_source yes
38 40
41 +mpi.setup
42 +mpi.enforce_variant hdf5
43 +
39 44 configure.args-append -DARPACK_LIBRARY=
40 45
41 -livecheck.type regex
42 -livecheck.url ${homepage}download.html
43 -livecheck.regex /${name}-(\[0-9.\]+)${extract.suffix}
44 -
45 46 variant arpack description {compile with ARPACK support} {
46 - depends_lib-append port:arpack
47 - configure.args-delete -DARPACK_LIBRARY=
47 + depends_lib-append port:arpack
48 + configure.args-delete -DARPACK_LIBRARY=
48 49 }
49 50
50 51 # Snow Leopard (and older) will fail to build with the error "Need a newer compiler"
51 52 compiler.blacklist-append *gcc-3.* *gcc-4.0 *gcc-4.2 {clang <= 211.10.1}
53 +
54 +livecheck.type regex
55 +livecheck.url ${homepage}download.html
56 +livecheck.regex /${name}-(\[0-9.\]+)${extract.suffix}

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut