aboutsummaryrefslogtreecommitdiffstats
path: root/science/mei/Makefile
blob: 2afd55913bec9f0499e9bf6f096d31e3805b9b44 (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
36
37
38
39
# New ports collection makefile for:    mei
# Date created:     Wed 18 apr 2012
# Whom:         thierry@pompo.net
#
# $FreeBSD$
#

PORTNAME=   mei
PORTVERSION=    1.0.3
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 Mathematical Expression Interpreter

LICENSE=    LGPL21

LIB_DEPENDS=    bft.1:${PORTSDIR}/science/bft
BUILD_DEPENDS=  swig:${PORTSDIR}/devel/swig13

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

USE_ZIP=    yes
USE_LDCONFIG=   yes
USE_PYTHON= yes
GNU_CONFIGURE=  yes
CONFIGURE_ARGS= --with-bft=${LOCALBASE}

MAN1=       mei-config.1

.if defined(MAINTAINER_MODE)
regression-test:
    (cd ${WRKSRC}/tests &&  \
    ${MAKE} check &&    \
    ./mei_test )
.endif

.include <bsd.port.mk>