ports/math/eigen3/Makefile
Tobias Kortkamp ae22a7846a
*: Clean up some things
- Fix typos
- Fix overwritten variables with focus on master/slave ports
- Remove unreferenced variables
- Sort categories
- Remove redundant option descriptions
- Clean up commented PORTREVISION
- Add missing USES

Reported by:	portscan
2021-10-12 17:01:38 +02:00

39 lines
1.1 KiB
Makefile

PORTNAME= eigen
PORTVERSION= 3.3.9
PORTREVISION= 1
CATEGORIES= math
MASTER_SITES= https://gitlab.com/libeigen/eigen/-/archive/${PORTVERSION}/
MAINTAINER= kde@FreeBSD.org
COMMENT= Lightweight library for vector and matrix math
LICENSE= LGPL21 MPL20
LICENSE_COMB= multi
LICENSE_FILE_LGPL21= ${WRKSRC}/COPYING.LGPL
LICENSE_FILE_MPL20= ${WRKSRC}/COPYING.MPL2
CMAKE_ARGS= -DPKGCONFIG_INSTALL_DIR:PATH="libdata/pkgconfig"
# This is to set the C++ standard to C++11, instead of 03
CMAKE_ON= EIGEN_TEST_CXX11
USES= cmake tar:bzip2
NO_BUILD= yes
NO_ARCH= yes
OPTIONS_DEFINE= BLAS TEST
OPTIONS_DEFAULT=BLAS
BLAS_DESC= Adds math dependencies
BLAS_CMAKE_ON= -DBLAS_DIR:PATH="${LOCALBASE}"
BLAS_USES= blaslapack pkgconfig
TEST_CMAKE_ON= EIGEN_TEST_CUDA EIGEN_TEST_CUDA_CLANG
TEST_LIB_DEPENDS= libcholmod.so:math/suitesparse-cholmod \
libumfpack.so:math/suitesparse-umfpack \
libsuperlu.so:math/superlu \
libadolc.so:math/adol-c \
libfftw3.so:math/fftw3 \
libmpfr.so:math/mpfr \
libgmp.so:math/gmp \
libboost_thread.so:devel/boost-libs
.include <bsd.port.mk>