aboutsummaryrefslogtreecommitdiffstats
path: root/benchmarks/sysbench/Makefile
blob: cc1f11c61250f3298427c7f9c128f213f30b5346 (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
36
# Created by: Gea-Suan Lin <gslin@ccca.nctu.edu.tw>
# $FreeBSD$

PORTNAME=   sysbench
PORTVERSION=    1.0.14
CATEGORIES= benchmarks databases

MAINTAINER= sunpoet@FreeBSD.org
COMMENT=    Scriptable database and system performance benchmark

LICENSE=    GPLv2
LICENSE_FILE=   ${WRKSRC}/COPYING

LIB_DEPENDS=    libck.so:devel/concurrencykit \
        libluajit-5.1.so:lang/luajit

OPTIONS_DEFINE= LFS MYSQL PGSQL
OPTIONS_DEFAULT=LFS MYSQL

CONFIGURE_ARGS= --with-system-ck --with-system-luajit
GNU_CONFIGURE=  yes
USES=       autoreconf gmake libtool pkgconfig

GH_ACCOUNT= akopytov
USE_GITHUB= yes

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>