summaryrefslogtreecommitdiffstats
path: root/benchmarks/sysbench/Makefile
blob: 6e4f6a891550de7f2e7a8851da140d9277cd3cee (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
32
33
34
35
36
37
38
39
40
# Created by: Gea-Suan Lin <gslin@ccca.nctu.edu.tw>
# $FreeBSD$

PORTNAME=	sysbench
PORTVERSION=	0.4.12
PORTREVISION=	3
CATEGORIES=	benchmarks databases
MASTER_SITES=	http://mirror.amdmi3.ru/distfiles/
#		Project gone from sourceforge, both site and downloads
#		Something exists on launchpad (https://code.launchpad.net/sysbench)
#		maybe the port swould be switched there, however there are no
#		direct downloads

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Modular, cross-platform, and multi-threaded benchmark tool

LICENSE=	GPLv2
LICENSE_FILE=	${WRKSRC}/COPYING

USES=		autoreconf libtool
GNU_CONFIGURE=	yes

PLIST_FILES=	bin/sysbench
PORTDOCS=	manual.html

OPTIONS_DEFINE=	LARGEFILE MYSQL PGSQL DOCS
OPTIONS_DEFAULT=	LARGEFILE MYSQL

LARGEFILE_DESC=			Largefile support
LARGEFILE_CONFIGURE_ENABLE=	largefile

MYSQL_CONFIGURE_ON=	--with-mysql
MYSQL_CONFIGURE_OFF=	--with-mysql=no
MYSQL_USE=		MYSQL=yes

PGSQL_CONFIGURE_ON=	--with-pgsql
PGSQL_CONFIGURE_OFF=	--with-pgsql=no
PGSQL_USES=		pgsql

.include <bsd.port.mk>
OpenPOWER on IntegriCloud