aboutsummaryrefslogtreecommitdiff
path: root/security/openfhe/Makefile
blob: 37705157fb7a4c4105267896463a60938d7aba3c (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=	openfhe
DISTVERSIONPREFIX=	v
DISTVERSION=	1.0.1
CATEGORIES=	security math

MAINTAINER=	yuri@FreeBSD.org
COMMENT=	Open-source Fully Homomorphic Encryption library
WWW=		https://github.com/openfheorg/openfhe-development

LICENSE=	BSD2CLAUSE
LICENSE_FILE=	${WRKSRC}/LICENSE

BUILD_DEPENDS=	autoconf:devel/autoconf # possibly a mistake in the project

USES=		cmake:noninja,testing compiler:c++17-lang # cmake refuses to work with ninja
USE_LDCONFIG=	yes

USE_GITHUB=	yes
GH_ACCOUNT=	openfheorg
GH_PROJECT=	openfhe-development
GH_TUPLE=	openfheorg:cereal:984e3f1:cereal/third-party/cereal \
		google:googletest:8b4817e:google_test/third-party/google-test

LDFLAGS+=	-pthread

CMAKE_OFF=	BUILD_UNITTESTS BUILD_EXAMPLES BUILD_BENCHMARKS
CMAKE_TESTING_ON=	BUILD_UNITTESTS
CMAKE_TESTING_TARGET=	testall

BINARY_ALIAS=	git=false

.include <bsd.port.mk>