blob: cf0dfb6f0ee5e5bb6e4130e0182504462e85850a (
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
|
PORTNAME= openturns
DISTVERSIONPREFIX= v
DISTVERSION= 1.16
PORTREVISION= 2
CATEGORIES= math
MAINTAINER= yuri@FreeBSD.org
COMMENT= Uncertainty treatment library
LICENSE= LGPL3
LICENSE_FILE= ${WRKSRC}/COPYING.LESSER
BUILD_DEPENDS= boost-libs>0:devel/boost-libs \
flex:textproc/flex
LIB_DEPENDS= libbonmin.so:math/bonmin \
libceres.so:math/ceres-solver \
libCbc.so:math/coinmp \
libcminpack.so:math/cminpack \
libdlib.so:science/dlib-cpp \
libgflags.so:devel/gflags \
libglog.so:devel/glog \
libhdf5_cpp.so:science/hdf5 \
libhmat-oss.so:math/hmat-oss \
libipopt.so:math/ipopt \
libnlopt.so:math/nlopt \
libopt.so:math/optpp \
libsz.so:science/szip \
libtbb.so:devel/onetbb
USES= bison blaslapack:openblas cmake compiler:c++11-lang eigen:3 gnome localbase:ldflags pkgconfig
USE_GITHUB= yes
USE_GNOME= libxml2
USE_LDCONFIG= yes
CMAKE_ARGS= -DBLAS_LIBRARIES=${LOCALBASE}/lib/libopenblas.so -DLAPACK_LIBRARIES=${LOCALBASE}/lib/libopenblas.so \
-DOPENTURNS_EXAMPLE_PATH:STRING=share/examples/openturns \
-DOPENTURNS_DOC_PATH:STRING=share/doc/openturns
CMAKE_OFF= USE_DOXYGEN USE_SPHINX
OPTIONS_DEFINE= PYTHON EXAMPLES
OPTIONS_DEFAULT= PYTHON
OPTIONS_SUB= yes
PYTHON_USES= python
PYTHON_CMAKE_BOOL= BUILD_PYTHON
PYTHON_CMAKE_ON= -DSWIG_EXECUTABLE=${LOCALBASE}/bin/swig
PYTHON_BUILD_DEPENDS= swig:devel/swig \
${PYTHON_RUN_DEPENDS}
PYTHON_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}matplotlib>0:math/py-matplotlib@${PY_FLAVOR}
PORTEXAMPLES= *
post-install:
@${RM} -r ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
|