summaryrefslogtreecommitdiff
path: root/devel/fuzzylite/Makefile
blob: 86625440b227dda2cdab9d63d287941fd750c861 (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
# $FreeBSD$

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

MAINTAINER=	pkubaj@anongoth.pl
COMMENT=	Fuzzy logic control library in C++

LICENSE=	GPLv3
LICENSE_FILE=	${WRKSRC}/LICENSE

BROKEN_powerpc64=	fails to compile: unrecognized command line option "-Wno-type-limits"

USES=		cmake compiler
USE_GITHUB=	yes
USE_LDCONFIG=	yes

CMAKE_ARGS=	-DFL_BUILD_STATIC:BOOL=OFF \
		-DFL_BUILD_TESTS:BOOL=OFF
CMAKE_SOURCE_PATH=	${WRKSRC}/${PORTNAME}
PLIST_SUB=	SHLIB_VER=${DISTVERSION}

.include <bsd.port.pre.mk>

.if ${COMPILER_TYPE} == clang && ${COMPILER_VERSION} >= 39
CFLAGS+=	-Wno-error=varargs
.endif

.include <bsd.port.post.mk>