aboutsummaryrefslogtreecommitdiffstats
path: root/benchmarks/sysbench/Makefile
diff options
context:
space:
mode:
authorbarner <barner@FreeBSD.org>2005-12-11 21:56:12 +0800
committerbarner <barner@FreeBSD.org>2005-12-11 21:56:12 +0800
commit38cf19cd5bcaa97d8d1fdd3aac42b724fefd7344 (patch)
treeef87ef19f46912213dd7eb0432595e5a46f64fdb /benchmarks/sysbench/Makefile
parenta8b8523fa2ba4f84f72188cf79d42950e6a041ea (diff)
downloadfreebsd-ports-gnome-38cf19cd5bcaa97d8d1fdd3aac42b724fefd7344.tar.gz
freebsd-ports-gnome-38cf19cd5bcaa97d8d1fdd3aac42b724fefd7344.tar.zst
freebsd-ports-gnome-38cf19cd5bcaa97d8d1fdd3aac42b724fefd7344.zip
Add sysbench 0.4.3,
a modular, cross-platform and multi-threaded benchmark tool. PR: 90233 Submitted by: Gea-Suan Lin <gslin@ccca.nctu.edu.tw>
Diffstat (limited to 'benchmarks/sysbench/Makefile')
-rw-r--r--benchmarks/sysbench/Makefile41
1 files changed, 41 insertions, 0 deletions
diff --git a/benchmarks/sysbench/Makefile b/benchmarks/sysbench/Makefile
new file mode 100644
index 000000000000..0087cf823a35
--- /dev/null
+++ b/benchmarks/sysbench/Makefile
@@ -0,0 +1,41 @@
+# New ports collection makefile for: sysbench
+# Date created: 2005-12-11
+# Whom: Gea-Suan Lin <gslin@ccca.nctu.edu.tw>
+#
+# $FreeBSD$
+#
+
+PORTNAME= sysbench
+PORTVERSION= 0.4.3
+CATEGORIES= benchmarks databases
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= ${PORTNAME}
+
+MAINTAINER= gslin@ccca.nctu.edu.tw
+COMMENT= A modular, cross-platform and multi-threaded benchmark tool
+
+GNU_CONFIGURE= yes
+
+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
+WANT_PGSQL_VER?= 80
+CONFIGURE_ARGS+= --with-pgsql
+.endif
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/sysbench/sysbench ${PREFIX}/bin
+.for FILE in sb_run.sh sb_test_ps.sh
+ ${INSTALL_SCRIPT} ${WRKSRC}/scripts/${FILE} ${PREFIX}/bin
+.endfor
+
+.include <bsd.port.post.mk>