Ticket #51222: Portfile

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