summaryrefslogtreecommitdiff
path: root/math/eigen3/Makefile
blob: 58afa7f66a3cdd96d073d84f507750c45f9383d2 (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

PORTNAME=	eigen
PORTVERSION=	3.3.9
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"
USES=		cmake tar:bzip2
NO_BUILD=	yes
NO_ARCH=	yes

OPTIONS_DEFINE=	FULL
OPTIONS_DEFAULT=FULL

FULL_DESC=	Add the support for math dependencies
FULL_CMAKE_ON=	-DBLAS_DIR:PATH="${LOCALBASE}"
FULL_USES=	blaslapack:openblas pkgconfig
FULL_LIB_DEPENDS=	libcholmod.so:math/suitesparse	\
			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>