mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-05 01:55:52 +00:00
52 lines
1.3 KiB
Makefile
52 lines
1.3 KiB
Makefile
# 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
|
|
|
|
BROKEN= unfetchable
|
|
|
|
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 <bsd.port.pre.mk>
|
|
|
|
.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 <bsd.port.post.mk>
|