aboutsummaryrefslogtreecommitdiff
path: root/math/fenics-basix/Makefile
blob: 597bf4cbdb9d12adf8b3a462b6aada60be68aa28 (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
PORTNAME=	fenics-basix
DISTVERSIONPREFIX=	v
DISTVERSION=	0.5.1
PORTREVISION=	2
CATEGORIES=	math

MAINTAINER=	yuri@FreeBSD.org
COMMENT=	FEniCS finite element basis evaluation library
WWW=		https://github.com/FEniCS/basix

LICENSE=	MIT
LICENSE_FILE=	${WRKSRC}/../LICENSE

BUILD_DEPENDS=	xtensor>0:math/xtensor \
		xtl-quant-stack>0:devel/xtl-quant-stack
LIB_DEPENDS=	libopenblas.so:math/openblas

USES=		cmake compiler:c++20-lang

USE_GITHUB=	yes
GH_ACCOUNT=	FEniCS
GH_PROJECT=	basix

WRKSRC_SUBDIR=	cpp

.include <bsd.port.pre.mk>

.if ${CHOSEN_COMPILER_TYPE} == clang && !exists(/usr/include/c++/v1/concepts) # true only on FreeBSD_12
BROKEN=		system is missing a required C++ feature std::concepts
.endif

.include <bsd.port.post.mk>