summaryrefslogtreecommitdiffstats
path: root/math/itl/Makefile
blob: d9fe452af64d65b9cb2aa6372f1fd8769f06b8c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Created by: 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=	bf@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

NO_STAGE=	yes
.include <bsd.port.pre.mk>

.if defined(WITH_MPI) || exists(${LOCALBASE}/bin/hcp)
BUILD_DEPENDS+=	${LOCALBASE}/bin/hcp:${PORTSDIR}/net/lam
RUN_DEPENDS+=	${LOCALBASE}/bin/hcp:${PORTSDIR}/net/lam
CONFIGURE_ARGS+=--with-mpi=lam
.endif

.include <bsd.port.post.mk>
OpenPOWER on IntegriCloud