aboutsummaryrefslogtreecommitdiffstats
path: root/science/bft/Makefile
blob: 05f7bd1c1d331553c25d11e9acea4db799f9af15 (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
# New ports collection makefile for:    bft
# Date created:     Sun 1 apr 2007
# Whom:         thierry@pompo.net
#
# $FreeBSD$
#

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

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

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

WITH_FBSD10_FIX=yes
USE_LDCONFIG=   yes
GNU_CONFIGURE=  yes

TESTSBIN=   bft_test bft_mem_usage_test bft_printf_test

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>