1 | PortSystem 1.0 |
---|
2 | name fftw3 |
---|
3 | version 3.1.2 |
---|
4 | revision 0 |
---|
5 | categories math devel |
---|
6 | maintainers takeshi@mac.com |
---|
7 | description Fast C routines to compute the Discrete Fourier Transform |
---|
8 | long_description \ |
---|
9 | FFTW is a C subroutine library for computing the Discrete Fourier \ |
---|
10 | Transform (DFT) in one or more dimensions, of both real and complex \ |
---|
11 | data, and of arbitrary input size. We believe that FFTW, which is \ |
---|
12 | free software, should become the FFT library of choice for most \ |
---|
13 | applications. Our benchmarks, performed on a variety of platforms, \ |
---|
14 | show that FFTW's performance is typically superior to that of other \ |
---|
15 | publicly available FFT software. Moreover, FFTW's performance is \ |
---|
16 | portable: the program will perform well on most architectures \ |
---|
17 | without modification. |
---|
18 | |
---|
19 | platforms darwin |
---|
20 | |
---|
21 | homepage http://www.fftw.org/ |
---|
22 | master_sites ${homepage} \ |
---|
23 | ftp://ftp.fftw.org/pub/fftw/ |
---|
24 | |
---|
25 | distname fftw-${version} |
---|
26 | checksums sha1 3e4c64009ffb48123a0f30f46c1d89da7810dc67 |
---|
27 | configure.env CFLAGS=-O2 |
---|
28 | configure.args --disable-dependency-tracking --enable-threads \ |
---|
29 | --disable-fortran --infodir=${prefix}/share/info |
---|
30 | |
---|
31 | variant fortran { |
---|
32 | depends_lib-append port:gcc34 |
---|
33 | configure.args-delete --disable-fortran |
---|
34 | configure.args-append --enable-fortran |
---|
35 | if {[variant_isset darwin]} { |
---|
36 | patchfiles-append patch-configure_darwin |
---|
37 | } |
---|
38 | } |
---|
39 | |
---|
40 | variant g95 { |
---|
41 | configure.env FC=g95 |
---|
42 | depends_lib-append port:g95 |
---|
43 | configure.args-delete --disable-fortran |
---|
44 | configure.args-append --enable-fortran |
---|
45 | } |
---|
46 | |
---|
47 | |
---|