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$ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | |
---|
6 | name sparskit |
---|
7 | version 2 |
---|
8 | categories science |
---|
9 | platforms darwin |
---|
10 | license LGPL-2.1+ |
---|
11 | maintainers gmail.com:dstrubbe |
---|
12 | description A basic tool-kit for sparse matrix computations |
---|
13 | long_description A basic tool-kit for sparse matrix computations: programs for converting data structures, printing simple \ |
---|
14 | statistics on a matrix, plotting a matrix profile, performing basic linear algebra operations with sparse matrices and so on. |
---|
15 | homepage http://www-users.cs.umn.edu/~saad/software/SPARSKIT |
---|
16 | master_sites http://www-users.cs.umn.edu/~saad/software/SPARSKIT |
---|
17 | |
---|
18 | checksums rmd160 95554593896300d7823f40956a428e8e7c57bb78 \ |
---|
19 | sha1 702bb646024f62fafbd827aa29d4f8994a74b90a |
---|
20 | |
---|
21 | distfiles SPARSKIT${version}.tar.gz |
---|
22 | worksrcdir SPARSKIT${version} |
---|
23 | |
---|
24 | use_configure no |
---|
25 | |
---|
26 | pre-build { |
---|
27 | build.args F77=${configure.f90} OPT="-c -O3" |
---|
28 | } |
---|
29 | |
---|
30 | use_parallel_build yes |
---|
31 | |
---|
32 | destroot { |
---|
33 | xinstall ${worksrcpath}/libskit.a ${destroot}${prefix}/lib/ |
---|
34 | } |
---|
35 | |
---|
36 | variant gcc46 conflicts gcc47 description {Build with GCC 4.6} { |
---|
37 | configure.compiler macports-gcc-4.6 |
---|
38 | depends_lib-append port:gcc46 |
---|
39 | } |
---|
40 | variant gcc47 conflicts gcc46 description {Build with GCC 4.7} { |
---|
41 | configure.compiler macports-gcc-4.7 |
---|
42 | depends_lib-append port:gcc47 |
---|
43 | } |
---|
44 | |
---|
45 | if {![variant_isset gcc46]} { |
---|
46 | default_variants +gcc47 |
---|
47 | } |
---|
48 | |
---|
49 | livecheck.url ${master_sites} |
---|
50 | livecheck.type regex |
---|
51 | livecheck.regex SPARSKIT(\[0-9.\]+)${extract.suffix} |
---|