aboutsummaryrefslogtreecommitdiffstats
path: root/math/itl/Makefile
blob: c8a09d15953631a04f4cd3c651c690fc638b400e (plain) (blame)
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
33
34
35
# 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(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>