aboutsummaryrefslogtreecommitdiff
path: root/benchmarks
diff options
context:
space:
mode:
authorAlex Kozlov <ak@FreeBSD.org>2012-11-28 11:09:39 +0000
committerAlex Kozlov <ak@FreeBSD.org>2012-11-28 11:09:39 +0000
commit4f47bf5ca0277894c82a11c8857ac3c692f0fe09 (patch)
tree94505710948bbaefc29e545dc02d32b12bba4df5 /benchmarks
parent2114fb2304f44b2756ad668d4d406a68c9574b8d (diff)
downloadports-4f47bf5ca0277894c82a11c8857ac3c692f0fe09.tar.gz
ports-4f47bf5ca0277894c82a11c8857ac3c692f0fe09.zip
Notes
Diffstat (limited to 'benchmarks')
-rw-r--r--benchmarks/super-smack/Makefile26
-rw-r--r--benchmarks/super-smack/pkg-descr2
2 files changed, 14 insertions, 14 deletions
diff --git a/benchmarks/super-smack/Makefile b/benchmarks/super-smack/Makefile
index bcdbdd70e7ed..589642d6f0e4 100644
--- a/benchmarks/super-smack/Makefile
+++ b/benchmarks/super-smack/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: super-smack
-# Date created: 2005-12-10
-# Whom: Gea-Suan Lin <gslin@ccca.nctu.edu.tw>
-#
+# Created by: Gea-Suan Lin <gslin@ccca.nctu.edu.tw>
# $FreeBSD$
-#
PORTNAME= super-smack
PORTVERSION= 1.3
@@ -12,7 +8,7 @@ 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
+COMMENT= Benchmarking, stress testing, and load generation tool for Databases
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --with-smacks-dir=${DATADIR}
@@ -20,26 +16,30 @@ MAKE_JOBS_UNSAFE= yes
PORTDOCS= README TUTORIAL
-OPTIONS= MYSQL "Enable MySQL support" on \
- POSTGRESQL "Enable PostgreSQL support" off
+OPTIONS_MULTI= DB
+OPTIONS_MULTI_DB= MYSQL PGSQL
+OPTIONS_DEFAULT= MYSQL
-.include <bsd.port.pre.mk>
+PGSQL_DESC= Enable PostgreSQL support
+MYSQL_DESC= Enable MySQL support
-.if !defined(WITHOUT_MYSQL)
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MMYSQL}
USE_MYSQL= yes
CONFIGURE_ARGS+=--with-mysql \
--with-mysql-include=${LOCALBASE}/include/mysql \
--with-mysql-lib=${LOCALBASE}/lib/mysql
.endif
-.if defined(WITH_POSTGRESQL)
+.if ${PORT_OPTIONS:MPGSQL}
USE_PGSQL= yes
CONFIGURE_ARGS+=--with-pgsql \
--with-pgsql-include=${LOCALBASE}/include \
--with-pgsql-lib=${LOCALBASE}/lib
.endif
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
post-install:
${MKDIR} ${DOCSDIR}
.for f in ${PORTDOCS}
@@ -47,4 +47,4 @@ post-install:
.endfor
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/benchmarks/super-smack/pkg-descr b/benchmarks/super-smack/pkg-descr
index 66c8441996d8..9bacf94182e5 100644
--- a/benchmarks/super-smack/pkg-descr
+++ b/benchmarks/super-smack/pkg-descr
@@ -3,4 +3,4 @@ for MySQL (and PostgreSQL). Super Smack was originally written by Sasha
Pachev, and then hosted and maintained by Jeremy Zawodny.
Author: Tony Bourke <tony (at) vegan (dot) net>
-WWW: http://vegan.net/tony/supersmack/
+WWW: http://vegan.net/tony/supersmack/