blob: ee49b2ec24c6fa5f20cf501a7f81ac3a3c65c44f (
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
|
PORTNAME= siconos
DISTVERSION= 4.4.0
PORTREVISION= 4
CATEGORIES= science
MAINTAINER= yuri@FreeBSD.org
COMMENT= Simulation framework for nonsmooth dynamical systems
WWW= https://nonsmooth.gricad-pages.univ-grenoble-alpes.fr/siconos/index.html
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/COPYING
BROKEN_i386= non-constant-expression cannot be narrowed from type 'unsigned int' to 'npy_intp', see https://github.com/siconos/siconos/issues/416
BUILD_DEPENDS= boost-libs>0:devel/boost-libs \
${PYTHON_PKGNAMEPREFIX}packaging>0:devel/py-packaging@${PY_FLAVOR} \
help2man:misc/help2man
LIB_DEPENDS= libcxsparse.so:math/suitesparse-cxsparse \
libgmp.so:math/gmp \
libldl.so:math/suitesparse-ldl \
libopenblas.so:math/openblas
TEST_DEPENDS= cppunit>0:devel/cppunit
USES= cmake:testing compiler:c++17-lang fortran pkgconfig
USE_GITHUB= yes
USE_LDCONFIG= yes
CMAKE_ARGS= -DFREEBSD_PYTHON_VER=${PYTHON_VER}
CMAKE_TESTING_ON= WITH_TESTING # tests are broken, see https://github.com/siconos/siconos/issues/415
CFLAGS+= -DCLOCKTIME -DCLOCKS_PER_SEC=128 # workaround for 'Undefined symbol "ftime"', see https://github.com/siconos/siconos/issues/411
BINARY_ALIAS= python3=${PYTHON_CMD}
OPTIONS_DEFINE= PYTHON
OPTIONS_DEFAULT= #PYTHON
OPTIONS_SUB= yes
PYTHON_CMAKE_BOOL= WITH_PYTHON_WRAPPER
PYTHON_USES= python
PYTHON_USES_OFF= python:build
PYTHON_PY_DEPENDS= ${PYNUMPY} \
${PYTHON_PKGNAMEPREFIX}scipy>0:science/py-scipy@${PY_FLAVOR}
PYTHON_BUILD_DEPENDS= ${PYTHON_PY_DEPENDS} \
swig:devel/swig
PYTHON_RUN_DEPENDS= ${PYTHON_PY_DEPENDS}
PYTHON_BROKEN= Fails to import, see https://github.com/siconos/siconos/issues/420
.include <bsd.port.mk>
|