blob: 66508fae631a7a31a6c3a6d607e73629307bdf85 (
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
|
# $FreeBSD$
PORTNAME= moab
DISTVERSION= 5.0.0
PORTREVISION= 1
CATEGORIES= math
MASTER_SITES= https://bitbucket.org/${BB_ACCOUNT}/${BB_PROJECT}/get/${BB_COMMIT}.tar.gz?dummy=/
MAINTAINER= yuri@FreeBSD.org
COMMENT= Component for representing and evaluating mesh data
LICENSE= BSD2CLAUSE
xLICENSE_FILE= ${WRKSRC}/LICENSE.txt
LIB_DEPENDS= libhdf5.so:science/hdf5 \
libnetcdf.so:science/netcdf \
libopenblas.so:math/openblas
USES= cmake:noninja eigen:3 fortran
USE_LDCONFIG= yes
CMAKE_ARGS= -DBLAS_LIBRARIES:STRING=${LOCALBASE}/lib/libopenblas.so -DLAPACK_LIBRARIES:STRING=${LOCALBASE}/lib/libopenblas.so
BB_ACCOUNT= fathomteam
BB_PROJECT= ${PORTNAME}
BB_COMMIT= c4eed56fd6d2
WRKSRC= ${WRKDIR}/${BB_ACCOUNT}-${BB_PROJECT}-${BB_COMMIT}
OPTIONS_DEFINE= MPI
OPTIONS_DEFAULT= MPI
OPTIONS_SUB= yes
MPI_CMAKE_BOOL= ENABLE_MPI
MPI_LIB_DEPENDS= libmpi.so:net/openmpi
.include <bsd.port.mk>
|