aboutsummaryrefslogtreecommitdiffstats
path: root/science/mei/Makefile
blob: 5f6b82a6cfe8bd9bf6e3e532016634c0229eb79f (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
# Created by: thierry@pompo.net
# $FreeBSD$

PORTNAME=   mei
PORTVERSION=    1.0.4
PORTREVISION=   1
CATEGORIES= science parallel
MASTER_SITES=   http://code-saturne.org/releases/

MAINTAINER= thierry@FreeBSD.org
COMMENT=    Code_Saturne Mathematical Expression Interpreter

LICENSE=    LGPL21

LIB_DEPENDS=    libbft.so:science/bft
BUILD_DEPENDS=  swig:devel/swig13

USES=       libtool python:2.7
USE_LDCONFIG=   yes
GNU_CONFIGURE=  yes
CONFIGURE_ENV=  ac_cv_path_PYEXE=${PYTHON_CMD}
CONFIGURE_ARGS= --with-bft=${LOCALBASE}
INSTALL_TARGET= install-strip

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

.include <bsd.port.mk>