Commits

David Strubbe authored f3f3c1bde06
nfft-3: New port. (ticket https://trac.macports.org/ticket/46718)

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@144695 d073be05-634f-4543-b044-5fe20cf6d1d6
No tags

math/nfft-3/Portfile

Added
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 +
4 +PortSystem 1.0
5 +PortGroup compilers 1.0
6 +
7 +name nfft-3
8 +version 3.3.0
9 +categories math
10 +license GPL-2+
11 +platforms darwin
12 +maintainers nfft.org:jens openmaintainer
13 +homepage http://www.nfft.org/
14 +distname nfft-${version}
15 +worksrcdir nfft-${version}
16 +description Fast C routines to compute the Non-equispaced Discrete Fourier Transform
17 +long_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
38 +homepage http://www.nfft.org
39 +master_sites https://www-user.tu-chemnitz.de/~potts/nfft/download/
40 +checksums rmd160 52cac61a90a72bb25a91b3aa0d1b1692d1895e26 \
41 + sha256 bb844b762896b17b7bf8245511a6372fcef82e55c2552f2f7ee7c65a8d746f30
42 +depends_lib port:fftw-3
43 +use_autoreconf no
44 +configure.args --enable-shared --enable-static --enable-all
45 +use_parallel_build yes
46 +
47 +compilers.choose cc
48 +compilers.setup
49 +
50 +variant kaiserbessel description {compile with Kaiser-Bessel window (default)} conflicts gaussian bspline sinc {
51 + configure.args-append --with-window=kaiserbessel
52 +}
53 +
54 +variant gaussian description {compile with Gaussian window} conflicts kaiserbessel bspline sinc {
55 + configure.args-append --with-window=gaussian
56 +}
57 +
58 +variant bspline description {compile with B-Spline window} conflicts kaiserbessel gaussian sinc {
59 + configure.args-append --with-window=bspline
60 +}
61 +
62 +variant sinc description {compile with Sinc window} conflicts kaiserbessel gaussian bspline {
63 + configure.args-append --with-window=sinc
64 +}
65 +
66 +if {![variant_isset gaussian] && ![variant_isset bspline] && ![variant_isset sinc]} {
67 + default_variants-append +kaiserbessel
68 +}

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut