Ticket #46718: Portfile

File Portfile, 2.7 KB (added by macports@…, 9 years ago)
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.alpha4
8github.tarball_from releases
9
10name                nfft-3
11categories          math
12license             GPL-2+
13platforms           darwin
14maintainers         jk
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 619d92a96e3037b918de0da87da78acf5fe35ca3 \
43                    sha256 dd61562cca1345871aa847b70ecc256bd65c3c2d88476a14a17fea80285c3034
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}