summaryrefslogtreecommitdiff
path: root/benchmarks/super-smack/Makefile
blob: dc2ef20e6f466cffe78e34d85ef4503fc72ceb13 (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
# New ports collection makefile for:	super-smack
# Date created:		2005-12-10
# Whom:			Gea-Suan Lin <gslin@ccca.nctu.edu.tw>
#
# $FreeBSD$
#

PORTNAME=	super-smack
PORTVERSION=	1.3
CATEGORIES=	benchmarks databases
MASTER_SITES=	http://vegan.net/tony/supersmack/

MAINTAINER=	gslin@gslin.org
COMMENT=	A benchmarking, stress testing, and load generation tool for Databases

GNU_CONFIGURE=	yes
CONFIGURE_ARGS+=	--with-smacks-dir=${DATADIR}

OPTIONS=	MYSQL "Enable MySQL support" on \
		POSTGRESQL "Enable PostgreSQL support" off

.include <bsd.port.pre.mk>

.if !defined(WITHOUT_MYSQL)
USE_MYSQL=	yes
CONFIGURE_ARGS+=	--with-mysql
.endif

.if defined(WITH_POSTGRESQL)
USE_PGSQL=	yes
CONFIGURE_ARGS+=	--with-pgsql
.endif

.include <bsd.port.post.mk>