From owner-svn-ports-head@FreeBSD.ORG Wed Nov 28 11:09:39 2012 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 855FAA98; Wed, 28 Nov 2012 11:09:39 +0000 (UTC) (envelope-from ak@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 6AAD38FC08; Wed, 28 Nov 2012 11:09:39 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id qASB9dDe010877; Wed, 28 Nov 2012 11:09:39 GMT (envelope-from ak@svn.freebsd.org) Received: (from ak@localhost) by svn.freebsd.org (8.14.5/8.14.5/Submit) id qASB9dPm010874; Wed, 28 Nov 2012 11:09:39 GMT (envelope-from ak@svn.freebsd.org) Message-Id: <201211281109.qASB9dPm010874@svn.freebsd.org> From: Alex Kozlov Date: Wed, 28 Nov 2012 11:09:39 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r307899 - head/benchmarks/super-smack X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Nov 2012 11:09:39 -0000 Author: ak Date: Wed Nov 28 11:09:39 2012 New Revision: 307899 URL: http://svnweb.freebsd.org/changeset/ports/307899 Log: - Remove indefinite article from COMMENT - Use standard option name for postgresql - Convert tab to space after WWW: in pkg-descr - Convert Makefile headers to new style [1] - Convert to new options framework [1] PR: ports/173563 (based on) [1] Submitted by: Charlie & Approved by: Gea-Suan Lin (maintainer) Feature safe: yes Modified: head/benchmarks/super-smack/Makefile (contents, props changed) head/benchmarks/super-smack/pkg-descr (contents, props changed) Modified: head/benchmarks/super-smack/Makefile ============================================================================== --- head/benchmarks/super-smack/Makefile Wed Nov 28 10:32:44 2012 (r307898) +++ head/benchmarks/super-smack/Makefile Wed Nov 28 11:09:39 2012 (r307899) @@ -1,9 +1,5 @@ -# New ports collection makefile for: super-smack -# Date created: 2005-12-10 -# Whom: Gea-Suan Lin -# +# Created by: Gea-Suan Lin # $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 +PGSQL_DESC= Enable PostgreSQL support +MYSQL_DESC= Enable MySQL support -.if !defined(WITHOUT_MYSQL) +.include + +.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 +.include Modified: head/benchmarks/super-smack/pkg-descr ============================================================================== --- head/benchmarks/super-smack/pkg-descr Wed Nov 28 10:32:44 2012 (r307898) +++ head/benchmarks/super-smack/pkg-descr Wed Nov 28 11:09:39 2012 (r307899) @@ -3,4 +3,4 @@ for MySQL (and PostgreSQL). Super Smack Pachev, and then hosted and maintained by Jeremy Zawodny. Author: Tony Bourke -WWW: http://vegan.net/tony/supersmack/ +WWW: http://vegan.net/tony/supersmack/