summaryrefslogtreecommitdiff
path: root/security/akmos/Makefile
blob: 785452b83486862bfc66a2d48d5da705e53de40b (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
35
36
37
# $FreeBSD$

PORTNAME=	akmos
PORTVERSION=	0.7.2
PORTREVISION=	2
CATEGORIES=	security

MAINTAINER=	melanhit@gmail.com
COMMENT=	Cryptographic library with low footprint

LICENSE=	BSD3CLAUSE
LICENSE_FILE=	${WRKSRC}/LICENSE

USES=		cmake compiler:c++11-lang

USE_GITHUB=	yes
GH_ACCOUNT=	melanhit

GNU_CONFIGURE=	yes

USE_LDCONFIG=	yes

OPTIONS_DEFINE=	ASM TEST BENCH
OPTIONS_DEFAULT=ASM
OPTIONS_SUB=	yes

ASM_CMAKE_ON=	-DAKMOS_USE_ASM:BOOL=TRUE
ASM_CMAKE_OFF=	-DAKMOS_USE_ASM:BOOL=FALSE

BENCH_CMAKE_ON=	-DAKMOS_ENABLE_BENCH:BOOL=TRUE
BENCH_CMAKE_OFF=-DAKMOS_ENABLE_BENCH:BOOL=FALSE
BENCH_DESC=	Install benchmark

TEST_CMAKE_ON=	-DAKMOS_ENABLE_TEST:BOOL=TRUE
TEST_CMAKE_OFF=	-DAKMOS_ENABLE_TEST:BOOL=FALSE

.include <bsd.port.mk>