Revision: 75544 http://trac.macports.org/changeset/75544 Author: jmr@macports.org Date: 2011-01-29 09:09:52 -0800 (Sat, 29 Jan 2011) Log Message: ----------- fftw-single: sync with fftw (#22459) Modified Paths: -------------- trunk/dports/math/fftw-single/Portfile Added Paths: ----------- trunk/dports/math/fftw-single/files/ Modified: trunk/dports/math/fftw-single/Portfile =================================================================== --- trunk/dports/math/fftw-single/Portfile 2011-01-29 13:27:50 UTC (rev 75543) +++ trunk/dports/math/fftw-single/Portfile 2011-01-29 17:09:52 UTC (rev 75544) @@ -1,9 +1,10 @@ # $Id$ PortSystem 1.0 + name fftw-single version 2.1.5 -revision 1 +revision 2 categories math devel maintainers nomaintainer description Single precision version of fftw @@ -21,12 +22,15 @@ platforms darwin distname fftw-${version} +dist_subdir fftw 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 +checksums md5 8d16a84f3ca02a785ef9eb36249ba433 \ + sha1 12020b58edc1b0490a83db4aa912fac5dfdfb26b \ + rmd160 723308722d76c12710db6473979adf8d086b0909 depends_run port:fftw @@ -34,20 +38,48 @@ --enable-threads \ --enable-float \ --disable-fortran \ - --infodir=${prefix}/share/info + --infodir=${prefix}/share/info \ + --enable-shared \ + --enable-mpi -variant fortran { - depends_lib-append port:gcc34 - configure.args-delete --disable-fortran - configure.args-append --enable-fortran - if {${os.platform} == "darwin"} { - patchfiles-append patch-configure_darwin - } +variant g95 conflicts gcc42 gcc43 gcc44 gcc45 description {include fortran-callable wrappers built with g95} { + depends_lib-append port:g95 + configure.f77 ${prefix}/bin/g95 } +variant gcc42 conflicts g95 gcc43 gcc44 gcc45 description {include fortran-callable wrappers built with gcc 4.2} { + depends_lib-append port:gcc42 + configure.compiler macports-gcc-4.2 +} + +variant gcc43 conflicts g95 gcc42 gcc44 gcc45 description {include fortran-callable wrappers built with gcc 4.3} { + depends_lib-append port:gcc43 + configure.compiler macports-gcc-4.3 +} + +variant gcc44 conflicts g95 gcc42 gcc43 gcc45 description {include fortran-callable wrappers built with gcc 4.4} { + depends_lib-append port:gcc44 + configure.compiler macports-gcc-4.4 +} + +variant gcc45 conflicts g95 gcc42 gcc43 gcc44 description {include fortran-callable wrappers built with gcc 4.5} { + depends_lib-append port:gcc45 + configure.compiler macports-gcc-4.5 +} + +if {[variant_isset g95] || [variant_isset gcc42] || [variant_isset gcc43] || [variant_isset gcc44] || [variant_isset gcc45]} { + configure.args-delete --disable-fortran + configure.args-append --enable-fortran + if {![variant_isset g95]} { + configure.args-append --with-gcc + } + platform 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 } - +post-destroot { delete ${destroot}${prefix}/share }
participants (1)
-
jmr@macports.org