aboutsummaryrefslogtreecommitdiff
path: root/security/nflib/Makefile
blob: dcc7c0a1e0f6f1af8f1fbc1e9ef222ef76107fd4 (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
33
PORTNAME=	nflib
DISTVERSIONPREFIX=	v
DISTVERSION=	1.0.0-23
DISTVERSIONSUFFIX=	-g5cf40ed
PORTREVISION=	4
CATEGORIES=	security math

MAINTAINER=	yuri@FreeBSD.org
COMMENT=	NTT-based fast lattice cryptography library
WWW=		https://github.com/quarkslab/NFLlib

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

ONLY_FOR_ARCHS=		amd64
ONLY_FOR_ARCHS_REASON=	unconditionally includes amd64 assembler code

BUILD_DEPENDS=	as:devel/binutils
LIB_DEPENDS=	libmpfr.so:math/mpfr \
		libgmp.so:math/gmp

USES=		cmake:testing compiler:c++11-lang localbase
USE_LDCONFIG=	yes

USE_GITHUB=	yes
GH_ACCOUNT=	quarkslab
GH_PROJECT=	NFLlib

.if !defined(WITH_DEBUG)
CMAKE_ON=	NFL_OPTIMIZED
.endif

.include <bsd.port.mk>