summaryrefslogtreecommitdiff
path: root/devel/actor-framework/Makefile
blob: 6dd55bdf219d42a0ba117a1ce7f18cecf572819b (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
38
39
PORTNAME=	actor-framework
DISTVERSION=	0.19.6
CATEGORIES=	devel

MAINTAINER=	yuri@FreeBSD.org
COMMENT=	Open Source implementation of the Actor Model in C++
WWW=		https://www.actor-framework.org/

LICENSE=	BSD3CLAUSE
LICENSE_FILE=	${WRKSRC}/LICENSE

USES=		cmake:testing compiler:c++17-lang ssl
USE_LDCONFIG=	yes

USE_GITHUB=	yes

CMAKE_OFF=	CAF_ENABLE_TESTING
CMAKE_TESTING_ON=	CAF_ENABLE_TESTING # the decorator.sequencer testcase fails intermittently, see https://github.com/actor-framework/actor-framework/issues/1456

OPTIONS_DEFINE=	DEBUG
OPTIONS_RADIO=	LOG_LEVEL
OPTIONS_RADIO_LOG_LEVEL=	LOG_LEVEL_ERROR LOG_LEVEL_WARN LOG_LEVEL_INFO LOG_LEVEL_DEBUG LOG_LEVEL_TRACE

DEBUG_DESC=		Build with extra runtime assertions
DEBUG_CMAKE_BOOL=	CAF_ENABLE_RUNTIME_CHECKS

LOG_LEVEL_DEBUG_DESC=	Use log level DEBUG for console output
LOG_LEVEL_ERROR_DESC=	Use log level ERROR for console output
LOG_LEVEL_INFO_DESC=	Use log level INFO for console output
LOG_LEVEL_TRACE_DESC=	Use log level TRACE for console output
LOG_LEVEL_WARN_DESC=	Use log level WARN for console output

LOG_LEVEL_ERROR_CMAKE_ON=	-DCAF_LOG_LEVEL:STRING=ERROR
LOG_LEVEL_WARN_CMAKE_ON=	-DCAF_LOG_LEVEL:STRING=WARN
LOG_LEVEL_INFO_CMAKE_ON=	-DCAF_LOG_LEVEL:STRING=INFO
LOG_LEVEL_DEBUG_CMAKE_ON=	-DCAF_LOG_LEVEL:STRING=DEBUG
LOG_LEVEL_TRACE_CMAKE_ON=	-DCAF_LOG_LEVEL:STRING=TRACE

.include <bsd.port.mk>