source: trunk/dports/science/openmpi/Portfile @ 21488

Last change on this file since 21488 was 21464, checked in by mww@…, 14 years ago

version 1.1.2

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.5 KB
Line 
1# $Id: Portfile 21464 2007-01-26 01:17:15Z mww@macports.org $
2
3PortSystem 1.0
4
5name                    openmpi
6version                 1.1.2
7categories              science parallel net
8platforms               darwin
9maintainers             mww@macports.org
10description             A High Performance Message Passing Library
11long_description        Open MPI is a project combining technologies and resources \
12                        from several other projects (FT-MPI, LA-MPI, LAM/MPI, and \
13                        PACX-MPI) in order to build the best MPI library available. A \
14                        completely new MPI-2 compliant implementation, Open MPI offers \
15                        advantages for system and software vendors, application developers \
16                        and computer science researchers.
17
18homepage                http://www.open-mpi.org/
19master_sites    http://www.open-mpi.org/software/ompi/v1.1/downloads/ freebsd
20checksums               md5 53877ec8bca5f6e505496b6b94b1d850 \
21                                sha1 5a427c66c432c2d7c5a6f8bd458ca02a39ae3756
22use_bzip2               yes
23
24pre-extract { file mkdir ${workpath}/build }
25
26configure.dir   ${workpath}/build
27configure.cmd   ${worksrcpath}/configure
28configure.args  --disable-f77 --disable-f90 --disable-cxx \
29                                --enable-static --disable-shared \
30                                --sysconfdir=${prefix}/etc/${name} \
31                                --includedir=${prefix}/include/${name} \
32                                --bindir=${prefix}/lib/${name}/bin \
33                                --mandir=${prefix}/share/man
34
35build.dir               ${configure.dir}
36
37destroot.dir    ${build.dir}
38post-destroot {
39        foreach bin { mpicc mpirun } {
40                system "cd ${destroot}${prefix}/bin \
41                        && ln -sf ${prefix}/lib/${name}/bin/${bin} open${bin}"
42        }
43}
44
45platform darwin 8 {
46        configure.env CC=/usr/bin/gcc-4.0 CPP=/usr/bin/cpp-4.0 CXX=/usr/bin/g++-4.0
47}
48
Note: See TracBrowser for help on using the repository browser.