summaryrefslogtreecommitdiff
path: root/devel/fuzzylite/Makefile
blob: 7db5d8d41c1446cdf28c1a8d57e301411d94efe3 (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

PORTNAME=	fuzzylite
DISTVERSIONPREFIX=	v
DISTVERSION=	6.0
PORTREVISION=	1
CATEGORIES=	devel

MAINTAINER=	pkubaj@FreeBSD.org
COMMENT=	Fuzzy logic control library in C++

LICENSE=	GPLv3
LICENSE_FILE=	${WRKSRC}/LICENSE

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

CMAKE_OFF=	FL_BUILD_STATIC FL_BUILD_TESTS
CMAKE_SOURCE_PATH=	${WRKSRC}/${PORTNAME}
PLIST_SUB=	SHLIB_VER=${DISTVERSION}

.include <bsd.port.pre.mk>

.if ${COMPILER_TYPE} == clang
CFLAGS+=	-Wno-error=varargs
.endif

.include <bsd.port.post.mk>