# $Id: Portfile 98595 2012-10-09 15:04:03Z ryandesign@macports.org $

PortSystem 1.0

name		lammpi
conflicts           mpich2
version             7.1.4
categories	science
license		Restrictive/Distributable
maintainers	nomaintainer
description	MPI implementation for parallel computing
long_description	\
"LAM (Local Area Multicomputer) is an MPI programming environment and \
development system for heterogeneous computers on a network.  With LAM, a \
dedicated cluster or an existing network computing infrastructure can act \
as one parallel computer solving one problem."

homepage	http://www.lam-mpi.org/
platforms	darwin
master_sites	${homepage}/download/files/
distname	lam-${version}
use_bzip2	yes

checksums           rmd160  6c9c6338391472d4cd2572c409cb92360e7fd799 \
                    sha256  d66c205f57d9ffc38dbfb81faef8b586ef2b9e08853034c0472ef4ae45803d2e

patchfiles          patch-configure.diff

configure.args      --mandir=${prefix}/share/man \
                    --sysconfdir=${prefix}/etc/${name} \
                    --with-rsh="/usr/bin/ssh -x" \
                    --without-cs-fs \
                    --without-fc

livecheck.type      regex
livecheck.url       [lindex ${master_sites} 0]
livecheck.regex     lam-(\[0-9.\]+)${extract.suffix}
