# $Id: Portfile,v 1.2 2005/08/10 12:57:57 gwright Exp $ PortSystem 1.0 name fftw-single version 2.1.5 revision 1 categories math devel maintainers gwright@opendarwin.org description Single precision version of fftw 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. platforms darwin distname fftw-${version} homepage http://www.fftw.org/ master_sites ${homepage} \ ftp://ftp.fftw.org/pub/fftw/ \ ftp://ftp.kusastro.kyoto-u.ac.jp/pub/src/GNU/fftw/ checksums md5 8d16a84f3ca02a785ef9eb36249ba433 depends_run port:fftw configure.args --enable-type-prefix \ --enable-threads \ --enable-float \ --disable-fortran \ --infodir=${prefix}/share/info variant fortran { depends_lib-append port:gcc34 configure.args-delete --disable-fortran configure.args-append --enable-fortran if {[variant_isset darwin]} { patchfiles-append patch-configure_darwin } } # Documentation conflicts with the double precision version, # so delete it. The documentation is installed by the dependency # port:fftw, above. post-destroot { file delete -force ${destroot}${prefix}/share }