summaryrefslogtreecommitdiff
path: root/science/tfel/Makefile
blob: 921723d9dc8f9c411c63abbaaeb6117db7115669 (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
36
37
38
# Created by: Pedro F. Giffuni
# $FreeBSD$

PORTNAME=	tfel
PORTVERSION=	3.2.1
CATEGORIES=	science
MASTER_SITES=	SF/${PORTNAME}/
PKGNAMESUFFIX=	-mfront

MAINTAINER=	pfg@FreeBSD.org
COMMENT=	Code generation tool dedicated to material knowledge

LICENSE=	GPLv3

BUILD_DEPENDS=	gnuplot:math/gnuplot
RUN_DEPENDS=	gnuplot:math/gnuplot

USES=		cmake compiler:c++0x tar:bzip2

OPTIONS_DEFINE=		DOCS

OPTIONS_SUB=		yes

#PYTHON_USES=		localbase python
#PYTHON_BUILD_DEPENDS=	${LOCALBASE}/include/boost/python.hpp:devel/boost-libs
#PYTHON_LIB_DEPENDS=	${PY_BOOST}
#PYTHON_CMAKE_ON=	enable-python enable-python-bindings

CMAKE_ON=	enable-aster enable-calculix
USE_LDCONFIG=	yes

.ifdef PACKAGE_BUILDING
CMAKE_ON+=	enable-portable-build
.endif

TEST_TARGET=	check

.include <bsd.port.mk>