# Created by: bremner@unb.ca # $FreeBSD$ PORTNAME= lam PORTVERSION= 7.1.5b2 PORTREVISION= 2 CATEGORIES= net parallel MASTER_SITES= http://www.lam-mpi.org/download/files/ \ http://www.thinkingnerds.com/lam/download/files/ MAINTAINER= ports@FreeBSD.org COMMENT= Local Area Multicomputer MPI implementation LICENSE= lam LICENSE_NAME= Software License for LAM/MPI LICENSE_FILE= ${WRKSRC}/LICENSE LICENSE_PERMS= ${_LICENSE_PERMS_DEFAULT} USES= libtool perl5 tar:bzip2 GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-rsh=ssh --without-fc USE_LDCONFIG= yes .include .if ${ARCH} == amd64 || ${ARCH} == ia64 || ${ARCH} == sparc64 # Note: to enable TotalView on 64 bits platforms, # --enable-tv-dll-force should be added to CONFIGURE_ARGS PLIST_SUB+= 32BIT_ONLY="@comment " .else PLIST_SUB+= 32BIT_ONLY="" .endif pre-configure: @${REINPLACE_CMD} -E -e 's|/usr/bin/env perl|${PERL} -w| ; \ s|use warnings;||' ${WRKSRC}/tools/mpiexec/mpiexec post-install: .if ${ARCH} != "armv6" && ${ARCH} != "i386" && ${ARCH} != "powerpc" ${RMDIR} ${STAGEDIR}${PREFIX}/lib/lam .endif .if defined(MAINTAINER_MODE) regression-test: install (cd ${BUILD_WRKSRC}/examples; \ ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${ALL_TARGET}) .endif .include