File: Portfile

package info (click to toggle)
nfft 3.5.3-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 8,972 kB
  • sloc: ansic: 44,442; lisp: 1,697; makefile: 1,322; sh: 744; sed: 5
file content (67 lines) | stat: -rw-r--r-- 3,131 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
# -*- 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
# $Id$

PortSystem          1.0

name                nfft-3
version             3.3.2
categories          math
license             GPL-2+
platforms           darwin
maintainers         nfft.org:jens openmaintainer
homepage            http://www.nfft.org/
distname            nfft-${version}
worksrcdir          nfft-${version}
description         Fast C routines to compute the Non-equispaced Discrete Fourier Transform
long_description    NFFT3 is a software library written in C for computing nonequispaced fast Fourier \n\
                    and related transformations. In detail, NFFT3 implements \n\
                    1) The nonequispaced fast Fourier transform (NFFT) \n\
                       - the forward transform (NFFT) \n\
                       - the adjoint transform (adjoint NFFT) \n\
                    2) Generalisations of the NFFT \n\
                       - to arbitrary knots in time and frequency domain (NNFFT) \n\
                       - to the sphere S^2 (NFSFT) \n\
                       - to the hyperbolic cross (NSFFT) \n\
                       - to real-valued data, i.e. (co)sine transforms, (NFCT, NFST) \n\
                       - to the rotation group (NFSOFT) \n\
                     3) Generalised inverses based on iterative methods, e.g. CGNR, CGNE \n\
                     4) Applications in \n\
                        - medical imaging \n\
                          * magnetic resonance imaging \n\
                          * computerised tomography \n\
                        - summation schemes \n\
                          * fast Gauss transform (FGT) \n\
                          * singular kernels \n\
                          * zonal kernels \n\
                        - polar FFT, discrete Radon transform, ridgelet transform
homepage            http://www.nfft.org
master_sites        https://github.com/NFFT/nfft/releases/download/${version}/
checksums           rmd160 5cbb6877aa313b076ef53a4247451f5b62503d0c \
                    sha256 9dcebd905a82c4f0a339d0d5e666b68c507169d9173b66d5ac588aae5d50b57c
depends_lib         port:fftw-3
use_autoreconf      no
configure.args      --enable-shared --enable-static --enable-all
use_parallel_build  yes

test.run yes
test.target check

variant kaiserbessel description {compile with Kaiser-Bessel window (default)} conflicts gaussian bspline sinc {
    configure.args-append   --with-window=kaiserbessel
}

variant gaussian description {compile with Gaussian window} conflicts kaiserbessel bspline sinc {
    configure.args-append   --with-window=gaussian
}

variant bspline description {compile with B-Spline window} conflicts kaiserbessel gaussian sinc {
    configure.args-append   --with-window=bspline
}

variant sinc description {compile with Sinc window} conflicts kaiserbessel gaussian bspline {
    configure.args-append   --with-window=sinc
}

if {![variant_isset gaussian] && ![variant_isset bspline] && ![variant_isset sinc]} {
    default_variants-append +kaiserbessel
}