1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-05 06:27:37 +00:00
freebsd-ports/math/dune-fem/Makefile

68 lines
2.1 KiB
Makefile

PORTNAME= dune-fem
DISTVERSION= 2.8.0rc1
PORTREVISION= 1
CATEGORIES= math
MAINTAINER= yuri@FreeBSD.org
COMMENT= DUNE framework: Finite Element Methods, Finite Volume Methods, etc
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/LICENSE.md
BUILD_DEPENDS= arpack++>0:math/arpack++ \
dune-istl>=2.6:math/dune-istl \
dune-localfunctions>=2.6:math/dune-localfunctions \
dune-spgrid>0:math/dune-spgrid \
vc>0:devel/vc \
${LOCALBASE}/mpi/openmpi/lib/libmpi.so:net/openmpi
LIB_DEPENDS= libpsurface.so:math/psurface \
libarpack.so:math/arpack-ng \
libdunealugrid.so:math/dune-alugrid \
libdunecommon.so:math/dune-common \
libdunegeometry.so:math/dune-geometry \
libdunegrid.so:math/dune-grid \
libdunepolygongrid.so:math/dune-polygongrid \
libduneuggrid.so:math/dune-uggrid \
libgmp.so:math/gmp \
libmetis.so:math/metis \
libopenblas.so:math/openblas \
libsuitesparseconfig.so:math/suitesparse-config \
libsuperlu.so:math/superlu \
libamd.so:math/suitesparse-amd \
libcamd.so:math/suitesparse-camd \
libccolamd.so:math/suitesparse-ccolamd \
libcholmod.so:math/suitesparse-cholmod \
libcolamd.so:math/suitesparse-colamd \
libldl.so:math/suitesparse-ldl \
libspqr.so:math/suitesparse-spqr \
libumfpack.so:math/suitesparse-umfpack \
libtbb.so:devel/onetbb
RUN_DEPENDS= dune-istl>=2.6:math/dune-istl \
dune-localfunctions>=2.6:math/dune-localfunctions \
dune-spgrid>0:math/dune-spgrid \
${LOCALBASE}/mpi/openmpi/lib/libmpi.so:net/openmpi
USES= cmake compiler:c++17-lang eigen:3 fortran pkgconfig
USE_GITLAB= yes
USE_LDCONFIG= yes
GL_SITE= https://gitlab.dune-project.org
GL_ACCOUNT= dune-fem
GL_COMMIT= d1c625e6d51167d0cce57de6adcef21f548a8f82
CMAKE_ON= BUILD_SHARED_LIBS
OPTIONS_DEFINE= DOCS
DOCS_CMAKE_BOOL= FREEBSD_INSTALL_DOCS
DOCS_BUILD_DEPENDS= doxygen:devel/doxygen \
sphinx-build:textproc/py-sphinx
PORTDOCS= *
post-install: # https://gitlab.dune-project.org/dune-fem/dune-fem/-/issues/111
${RM} ${STAGEDIR}${PREFIX}/share/dune/cmake/modules/FindPThreads.cmake
${RM} ${STAGEDIR}${PREFIX}/share/dune/cmake/modules/FindSIONlib.cmake
.include <bsd.port.mk>