summaryrefslogtreecommitdiffstats
path: root/science/bft/Makefile
blob: 51b43c9fa2ccb96a58e77ab309d0f2feeeb7cc58 (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
33
34
35
# Created by: thierry@pompo.net
# $FreeBSD$

PORTNAME=	bft
PORTVERSION=	1.1.5
CATEGORIES=	science parallel
MASTER_SITES=	http://research.edf.com/fichiers/fckeditor/Commun/Innovation/logiciels/code_saturne/Releases/
DISTNAME=	${PORTNAME}-${PORTVERSION:S/.//g}

MAINTAINER=	thierry@FreeBSD.org
COMMENT=	Code_Saturne Base Functions and Types library

LICENSE=	LGPL21

WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}

USE_ZIP=	yes
USE_LDCONFIG=	yes
GNU_CONFIGURE=	yes

MAN1=		bft-config.1

TESTSBIN=	bft_test bft_mem_usage_test bft_printf_test

NO_STAGE=	yes
pre-configure:
	# No useful doc there
	${REINPLACE_CMD} -e 's|tests doc|tests|' ${WRKSRC}/Makefile.in

regression-test:
.for pg in ${TESTSBIN}
	(cd ${WRKSRC}/tests; ./${pg} arg1 arg2)
.endfor

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