Ticket #46271: Portfile

File Portfile, 2.0 KB (added by ChristianFrisson (Christian Frisson), 9 years ago)

Portfile

Line 
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# $Id: Portfile 129376 2014-12-11 13:30:50Z ryandesign@macports.org $
3
4PortSystem                      1.0
5PortGroup                       cmake 1.0
6
7name                            armadillo
8version                         4.550.3
9categories                      science
10platforms                       darwin
11maintainers                     gmail.com:christian.frisson openmaintainer
12license                         MPL-2.0
13
14description                     Armadillo C++ linear algebra library
15
16long_description                Armadillo is a C++ linear algebra library (matrix maths) \
17                                aiming towards a good balance between speed and ease of use. \
18                                Integer, floating point and complex numbers are supported, \
19                                as well as a subset of trigonometric and statistics functions. \
20                                Various matrix decompositions are provided through optional \
21                                integration with LAPACK or high-performance LAPACK-compatible \
22                                libraries.
23
24homepage                        http://arma.sf.net/
25master_sites                    sourceforge:project/arma
26
27checksums                       rmd160  942c6560d5c5f2b4f324a07295abbe2267474708 \
28                                sha256  58e547d7f0f46b7b14b6246d59ef0ed7275a0768b24a224ed321c82eb68726e0
29
30depends_build-append            port:pkgconfig
31
32depends_lib-append              port:boost \
33                                port:hdf5
34
35configure.args-append           -DARPACK_LIBRARY=
36
37livecheck.type                  regex
38livecheck.url                   ${homepage}download.html
39livecheck.regex                 /${name}-(\[0-9.\]+)${extract.suffix}
40
41variant arpack description {compile with ARPACK support} {
42    depends_lib-append      port:arpack
43    configure.args-delete   -DARPACK_LIBRARY=
44}