Ticket #54583: Portfile

File Portfile, 1.5 KB (added by repagh (Rene van Paassen), 7 years ago)

Portfile

Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4
2
3PortSystem          1.0
4PortGroup cmake     1.0
5
6name                splinter
7version             3.0
8categories          science
9license             MPL-2.0
10maintainers         gmail.com:rene.vanpaassen
11platforms           darwin
12description         library for multivariate function approximation with splines
13long_description    SPLINTER (SPLine INTERpolation) is a library for *multivariate \
14                    function approximation with splines*. The library can be used \
15                    for function approximation, regression, data smoothing, data \
16                    reduction, and much more. Spline approximations are represented \
17                    by a speedy C++ implementation of the tensor product B-spline.
18homepage            https://github.com/bgrimstad/splinter
19master_sites        http://github.com/bgrimstad/splinter/releases/download/v${version}/${name}-${version}.zip
20patchfiles          patch-splinter-mlpyinstall.diff
21patch.pre_args      -p1
22use_zip             yes
23checksums           rmd160 e0ca283e38c9467a487b2458dfdc5ec032b10aca \
24                    sha256 070ce6ee09988ca94da67d0c5f05b4e623c0f71c82f64fa813e71cb15b1e7751
25
26depends_build       port:eigen3
27
28use_parallel_build  no
29
30depends_lib         port:eigen3
31
32depends_run         port:cvs \
33                    port:pkgconfig
34
35configure.args-append   \
36                    -DCMAKE_BUILD_TYPE=Release \
37                    -DCMAKE_PREFIX_PATH=${prefix} \
38                    -DCMAKE_BUILD_TYPE:STRING="Unix Makefiles"
39
40