aboutsummaryrefslogtreecommitdiff
path: root/math/blitz++/Makefile
blob: 50ebf87639babbe87478047662ca6d6d84bf8767 (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
# ex:ts=8
# Ports collection makefile for:	blitz++
# Date created:			Jul 25, 2002
# Whom:				ijliao
#
# $FreeBSD$
#

PORTNAME=	blitz++
PORTVERSION=	0.6
CATEGORIES=	math
MASTER_SITES=	http://www.oonumerics.org/blitz/download/releases/
DISTNAME=	blitz-${PORTVERSION:S/b/beta/}

MAINTAINER=	ports@FreeBSD.org

PORTCOMMENT=	A C++ class library for scientific computing

LIB_DEPENDS=	blas:${PORTSDIR}/math/blas

USE_REINPLACE=	yes
GNU_CONFIGURE=	yes
CONFIGURE_ENV=	LDFLAGS="-lg2c"
CONFIGURE_ARGS=	--with-cxx=gcc --with-blas=${LOCALBASE}/lib \
		--enable-optimize --disable-debug
USE_GMAKE=	yes

post-patch:
	@${FIND} ${WRKSRC}/manual -name "Makefile.in" | ${XARGS} \
		${REINPLACE_CMD} -e "s,[$$][(]prefix[)],\$$(datadir),"

.include <bsd.port.mk>