# $Id$ PortSystem 1.0 name fftw-3-single version 3.2 categories math platforms darwin maintainers ram openmaintainer homepage http://www.fftw.org/ distname fftw-${version} dist_subdir fftw-3 master_sites \ ${homepage} \ ftp://ftp.fftw.org/pub/fftw/ \ ftp://ftp.kusastro.kyoto-u.ac.jp/pub/src/GNU/fftw/ description \ Fast C routines to compute the Discrete Fourier Transform long_description \ FFTW is a C subroutine library for computing the \ Discrete Fourier Transform (DFT) in one or more \ dimensions, of both real and complex data, and of \ arbitrary input size. We believe that FFTW, which is \ free software, should become the FFT library of choice \ for most applications. Our benchmarks, performed on a \ variety of platforms, show that FFTW's performance is \ typically superior to that of other publicly available \ FFT software. Moreover, FFTW's performance is portable: \ the program will perform well on most architectures \ without modification. \ This port is of fftw version 3.x. It has many \ improvements relative to 2.x, but is not backwardly \ compatible. checksums \ md5 280960ddbad368ebb96c073a2b642f5d \ sha1 7ec19356191ffa3719294a5373f27b75c04c301b \ rmd160 26f686e793f0fafedefa352b38058e76c9ca698c configure.args \ --enable-type-prefix \ --enable-threads \ --enable-fma \ --enable-float \ --disable-fortran \ --enable-shared \ --mandir=${prefix}/share/man \ --infodir=${prefix}/share/info configure.cflags-append -fno-common depends_lib \ port:fftw-3 test.run yes test.target check universal_variant no use_parallel_build yes platform powerpc { configure.args-append --enable-altivec } variant gcc42 description {create Fortran wrappers using gcc42} conflicts gcc43 g95 { depends_lib-append port:gcc42 configure.f77 gfortran-mp-4.2 configure.args-delete --disable-fortran } variant gcc43 description {create Fortran wrappers using gcc43} conflicts gcc42 g95 { depends_lib-append port:gcc43 configure.f77 gfortran-mp-4.3 configure.args-delete --disable-fortran } variant g95 description {create Fortran wrappers using f95} conflicts gcc42 gcc43 { depends_lib-append port:g95 configure.f77 g95 configure.args-delete --disable-fortran } post-destroot { file delete ${destroot}${prefix}/include/fftw3.f file delete ${destroot}${prefix}/include/fftw3.h file delete ${destroot}${prefix}/bin/fftw-wisdom-to-conf file delete ${destroot}${prefix}/share/man/man1/fftw-wisdom-to-conf.1 file delete ${destroot}${prefix}/share/info/fftw3.info file delete ${destroot}${prefix}/share/info/fftw3.info-1 file delete ${destroot}${prefix}/share/info/fftw3.info-2 file delete ${destroot}${prefix}/share/info/fftw3.info-3 file delete ${destroot}${prefix}/share/info/fftw3.info-4 file delete ${destroot}${prefix}/share/info/fftw3.info-5 } livecheck.check regex livecheck.url ${homepage} livecheck.regex {FFTW (\d+(?:\.\d+)*) is the latest}