aboutsummaryrefslogtreecommitdiff
path: root/databases/iowow/Makefile
blob: 10dd11508385b1162122362019d2dd64c476b46b (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
# Created by: Alexey Dokuchaev <danfe@FreeBSD.org>
# $FreeBSD$

PORTNAME=	iowow
PORTVERSION=	1.4.10
DISTVERSIONPREFIX=	v
CATEGORIES=	databases

MAINTAINER=	danfe@FreeBSD.org
COMMENT=	Persistent key-value database engine

LICENSE=	MIT

USES=		cmake compiler:c11
USE_GITHUB=	yes
GH_ACCOUNT=	Softmotions
USE_LDCONFIG=	yes

PLIST_SUB+=	VERSION=${PORTVERSION}
PORTDOCS=	Changelog README

OPTIONS_DEFINE=	DOCS TEST

TEST_BUILD_DEPENDS=	${LOCALBASE}/include/CUnit/Basic.h:devel/cunit
TEST_CMAKE_ON=	-DBUILD_TESTS:BOOL=ON

do-test-TEST-on:
	@cd ${TEST_WRKSRC} && ctest -C ${CMAKE_BUILD_TYPE} ${_MAKE_JOBS}

.include <bsd.port.mk>