Ticket #51222: Portfile.2

File Portfile.2, 3.1 KB (added by jenskeiner (Jens Keiner), 8 years ago)

Updated 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$
3
4PortSystem          1.0
5PortGroup           github 1.0
6
7github.setup        NFFT nfft 3.3.1
8github.tarball_from releases
9
10name                nfft-3
11categories          math
12license             GPL-2+
13platforms           darwin
14maintainers         nfft.org:jens openmaintainer
15homepage            http://www.nfft.org/
16distname            nfft-${version}
17worksrcdir          nfft-${version}
18description         Fast C routines to compute the Non-equispaced Discrete Fourier Transform
19long_description    NFFT3 is a software library written in C for computing nonequispaced fast Fourier \n\
20                    and related transformations. In detail, NFFT3 implements \n\
21                    1) The nonequispaced fast Fourier transform (NFFT) \n\
22                       - the forward transform (NFFT) \n\
23                       - the adjoint transform (adjoint NFFT) \n\
24                    2) Generalisations of the NFFT \n\
25                       - to arbitrary knots in time and frequency domain (NNFFT) \n\
26                       - to the sphere S^2 (NFSFT) \n\
27                       - to the hyperbolic cross (NSFFT) \n\
28                       - to real-valued data, i.e. (co)sine transforms, (NFCT, NFST) \n\
29                       - to the rotation group (NFSOFT) \n\
30                     3) Generalised inverses based on iterative methods, e.g. CGNR, CGNE \n\
31                     4) Applications in \n\
32                        - medical imaging \n\
33                          * magnetic resonance imaging \n\
34                          * computerised tomography \n\
35                        - summation schemes \n\
36                          * fast Gauss transform (FGT) \n\
37                          * singular kernels \n\
38                          * zonal kernels \n\
39                        - polar FFT, discrete Radon transform, ridgelet transform
40homepage            http://www.nfft.org
41master_sites        https://github.com/NFFT/nfft/releases/download/${version}/
42checksums           rmd160 08b4ff6b8d35b2ebc90159a8e86ff400e565528c \
43                    sha256 74cc7f4c8922d72131c59f88ecb542e06254eaded09018d6367f8a46c0fb3125
44depends_lib         port:fftw-3
45use_autoreconf      no
46configure.args      --enable-shared --enable-static --enable-all
47use_parallel_build  yes
48
49test.run yes
50test.target check
51
52variant kaiserbessel description {compile with Kaiser-Bessel window (default)} conflicts gaussian bspline sinc {
53    configure.args-append   --with-window=kaiserbessel
54}
55
56variant gaussian description {compile with Gaussian window} conflicts kaiserbessel bspline sinc {
57    configure.args-append   --with-window=gaussian
58}
59
60variant bspline description {compile with B-Spline window} conflicts kaiserbessel gaussian sinc {
61    configure.args-append   --with-window=bspline
62}
63
64variant sinc description {compile with Sinc window} conflicts kaiserbessel gaussian bspline {
65    configure.args-append   --with-window=sinc
66}
67
68if {![variant_isset gaussian] && ![variant_isset bspline] && ![variant_isset sinc]} {
69    default_variants-append +kaiserbessel
70}