# $Id: Portfile,v 1.1 2006/01/25 09:47:00 mww Exp $

PortSystem 1.0

name			mpich2
version			1.0.3
categories		science parallel net
platforms		darwin
maintainers		darwinports@opendarwin.org
description		Message Passing Interface (MPI) Library
long_description	MPICH2 is an implementation of the Message-Passing \
				Interface (MPI). The goals of MPICH2 are to provide an MPI \
				implementation for important platforms, including clusters, \
				SMPs, and massively parallel processors. It also provides a \
				vehicle for MPI implementation research and for developing new \
				and better parallel programming environments.

homepage		http://www-unix.mcs.anl.gov/mpi/mpich2/
master_sites	ftp://ftp.mcs.anl.gov/pub/mpi/
checksums		md5 6fa6b0f5a290285a90c239127d1eaa58

configure.args	--with-thread-package=posix \
				--enable-timer-type=gettimeofday \
				--enable-cxx \
				--mandir=${prefix}/share/man \
				--with-htmldir=${prefix}/share/doc/${name}

platform darwin 8 {
	configure.env CC=/usr/bin/gcc-4.0 CPP=/usr/bin/cpp-4.0 CXX=/usr/bin/g++-4.0
}

