Ticket #46718: Portfile.2

File Portfile.2, 2.7 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           github 1.0
6
7github.setup        NFFT nfft 3.3.0
8github.tarball_from releases
9
10name                nfft-3
11categories          math
12license             GPL-2+
13platforms           darwin
14maintainers         jens@nfft.org
15homepage            http://www.nfft.org/
16distname            ${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 \
20                    and related transformations. In detail, NFFT3 implements \
21                    1) The nonequispaced fast Fourier transform (NFFT) \
22                       - the forward transform (NFFT) \
23                       - the adjoint transform (adjoint NFFT) \
24                    2) Generalisations of the NFFT \
25                       - to arbitrary knots in time and frequency domain (NNFFT) \
26                       - to the sphere S^2 (NFSFT) \
27                       - to the hyperbolic cross (NSFFT) \
28                       - to real-valued data, i.e. (co)sine transforms, (NFCT, NFST) \
29                       - to the rotation group (NFSOFT) \
30                     3) Generalised inverses based on iterative methods, e.g. CGNR, CGNE \
31                     4) Applications in \
32                        - medical imaging \
33                          (i) magnetic resonance imaging \
34                          (ii) computerised tomography \
35                        - summation schemes \
36                          (i) fast Gauss transform (FGT) \
37                          (ii) singular kernels \
38                          (iii) zonal kernels \
39                        - polar FFT, discrete Radon transform, ridgelet transform
40homepage            http://www.nfft.org
41master_sites        https://github.com/NFFT/nfft/archive/
42checksums           rmd160 493e0bf58c8b48d8a7719c6d35c32977288f622f \
43                    sha256 79086a5e4b394d0336237126fbba459e6d1f02ccfa0fef5f016d96dadfe8fac0
44depends_lib         port:fftw-3
45use_autoreconf      yes
46configure.args      --enable-shared --enable-static --enable-all
47use_parallel_build  yes
48
49variant gaussian description {compile NFFT with Gaussian window} conflicts bspline sinc {
50    configure.args-append   --with-window=gaussian
51}
52
53variant bspline description {compile NFFT with B-Spline window} conflicts gaussian sinc {
54    configure.args-append   --with-window=bspline
55}
56
57variant sinc description {compile NFFT with Sinc window} conflicts gaussian bspline {
58    configure.args-append   --with-window=sinc
59}