# $Id: Portfile,v 1.2 2005/11/19 12:40:38 mww Exp $ PortSystem 1.0 name openmpi version 1.0 categories science parallel net platforms darwin maintainers mww@opendarwin.org description A High Performance Message Passing Library long_description Open MPI is a project combining technologies and resources \ from several other projects (FT-MPI, LA-MPI, LAM/MPI, and \ PACX-MPI) in order to build the best MPI library available. A \ completely new MPI-2 compliant implementation, Open MPI offers \ advantages for system and software vendors, application developers \ and computer science researchers. homepage http://www.open-mpi.org/ master_sites http://www.open-mpi.org/software/v1.0/downloads/ freebsd checksums md5 f5dcb5d3a98f2e5a9c2a0caaef54d806 use_bzip2 yes pre-extract { file mkdir ${workpath}/build } configure.dir ${workpath}/build configure.cmd ${worksrcpath}/configure configure.args --disable-f77 --disable-f90 --disable-cxx \ --enable-static --disable-shared \ --sysconfdir=${prefix}/etc/${name} \ --includedir=${prefix}/include/${name} \ --bindir=${prefix}/lib/${name}/bin build.dir ${configure.dir} destroot.dir ${build.dir} post-destroot { foreach bin { mpicc mpirun } { system "cd ${destroot}${prefix}/bin \ && ln -sf ../lib/${name}/bin/${bin} open${bin}" } } platform darwin 8 { configure.env CC=/usr/bin/gcc-4.0 CPP=/usr/bin/cpp-4.0 CXX=/usr/bin/g++-4.0 }