aboutsummaryrefslogtreecommitdiff
path: root/benchmarks/sysbench/Makefile
blob: e0f230275ac1036d2594df90572842a847310bf8 (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
31
32
33
34
35
PORTNAME=	sysbench
PORTVERSION=	1.0.20
PORTREVISION=	1
CATEGORIES=	benchmarks databases

MAINTAINER=	sunpoet@FreeBSD.org
COMMENT=	Scriptable database and system performance benchmark
WWW=		https://github.com/akopytov/sysbench

LICENSE=	GPLv2
LICENSE_FILE=	${WRKSRC}/COPYING

LIB_DEPENDS=	libck.so:devel/concurrencykit

USES=		autoreconf compiler:c11 gmake libtool luajit pkgconfig

CONFIGURE_ARGS=	--with-system-ck --with-system-luajit
GNU_CONFIGURE=	yes

GH_ACCOUNT=	akopytov
USE_GITHUB=	yes

OPTIONS_DEFINE=	LFS MYSQL PGSQL
OPTIONS_DEFAULT=LFS MYSQL

LFS_CONFIGURE_ENABLE=	largefile
MYSQL_CONFIGURE_WITH=	mysql
MYSQL_USES=		mysql
PGSQL_CONFIGURE_WITH=	pgsql
PGSQL_USES=		pgsql

post-patch:
	@${REINPLACE_CMD} -e '/^SUBDIRS = / s| doc||' ${WRKSRC}/Makefile.am

.include <bsd.port.mk>