freebsd-ports/math/itl/Makefile
Mark Linimon cbb00356c0 Add math/itl, the Iterative Template Library. It carries solver and
preconditioners for solving equations. It is required by some FEM
packages on the net like Felyx and IMOOSE.

ITL is said to work especially fast with gcc-3.3.

PR:		ports/55717
Submitted by:	Pedro F. Giffuni <giffunip@yahoo.com>
2004-01-06 04:42:35 +00:00

36 lines
1009 B
Makefile

# Ports collection makefile for: itl
# Date created: Mar 15, 2003
# Whom: Pedro F. Giffuni <giffunip@asme.org>
#
# $FreeBSD$
#
PORTNAME= itl
PORTVERSION= 4.0.0.1
CATEGORIES= math devel
MASTER_SITES= http://www.osl.iu.edu/download/research/itl/
DISTNAME= ${PORTNAME}-4.0.0-1
MAINTAINER= ports@FreeBSD.org
COMMENT= Iterative Template Library (based on MTL)
BUILD_DEPENDS= ${LOCALBASE}/include/mtl/mtl.h:${PORTSDIR}/math/mtl \
${LOCALBASE}/include/blitz/blitz.h:${PORTSDIR}/math/blitz++
RUN_DEPENDS= ${LOCALBASE}/include/mtl/mtl.h:${PORTSDIR}/math/mtl \
${LOCALBASE}/lib/libblitz.a:${PORTSDIR}/math/blitz++
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-mtl=${LOCALBASE}/include \
--with-blitz=${LOCALBASE}/include
NO_BUILD= yes
.include <bsd.port.pre.mk>
.if defined(WANT_MPI) || exists(${LOCALBASE}/bin/hcp)
BUILD_DEPENDS+= ${LOCALBASE}/bin/hcp:${PORTSDIR}/parallel/lam
RUN_DEPENDS+= ${LOCALBASE}/bin/hcp:${PORTSDIR}/parallel/lam
CONFIGURE_ARGS+= --with-mpi=lam
.endif
.include <bsd.port.post.mk>