Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Aug 2013 23:09:24 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r325728 - in head/benchmarks: autobench fio gtkperf httperf imb libmicro lmbench netio netperfmeter nttcp pathload pathrate pnetmark postal randomio sipp thrulay tsung wrk
Message-ID:  <201308302309.r7UN9Ont085272@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Fri Aug 30 23:09:24 2013
New Revision: 325728
URL: http://svnweb.freebsd.org/changeset/ports/325728

Log:
  Convert benchmarks from USE_GMAKE to USES=gmake
  While here:
  - Trim headers
  - convert some port to the new perl5 world

Modified:
  head/benchmarks/autobench/Makefile
  head/benchmarks/fio/Makefile
  head/benchmarks/gtkperf/Makefile
  head/benchmarks/httperf/Makefile
  head/benchmarks/imb/Makefile
  head/benchmarks/libmicro/Makefile
  head/benchmarks/lmbench/Makefile
  head/benchmarks/netio/Makefile
  head/benchmarks/netperfmeter/Makefile
  head/benchmarks/nttcp/Makefile
  head/benchmarks/pathload/Makefile
  head/benchmarks/pathrate/Makefile
  head/benchmarks/pnetmark/Makefile
  head/benchmarks/postal/Makefile
  head/benchmarks/randomio/Makefile
  head/benchmarks/sipp/Makefile
  head/benchmarks/thrulay/Makefile
  head/benchmarks/tsung/Makefile
  head/benchmarks/wrk/Makefile

Modified: head/benchmarks/autobench/Makefile
==============================================================================
--- head/benchmarks/autobench/Makefile	Fri Aug 30 23:01:05 2013	(r325727)
+++ head/benchmarks/autobench/Makefile	Fri Aug 30 23:09:24 2013	(r325728)
@@ -17,8 +17,7 @@ RUN_DEPENDS=	httperf:${PORTSDIR}/benchma
 
 LICENSE=	GPLv2
 
-USE_PERL5=	yes
-USE_GMAKE=	yes
+USES=		gmake perl5
 MAKE_ARGS=	CC="${CC}" CFLAGS="${CFLAGS}" DEBUG_FLAGS= \
 		PREFIX=${PREFIX}
 

Modified: head/benchmarks/fio/Makefile
==============================================================================
--- head/benchmarks/fio/Makefile	Fri Aug 30 23:01:05 2013	(r325727)
+++ head/benchmarks/fio/Makefile	Fri Aug 30 23:09:24 2013	(r325728)
@@ -12,8 +12,8 @@ COMMENT=	FIO - flexible IO tester
 LICENSE=	GPLv2
 LICENSE_FILE=	${WRKSRC}/COPYING
 
+USES=		gmake
 USE_BZIP2=	yes
-USE_GMAKE=	yes
 
 OPTIONS_DEFINE=	GNUPLOT
 GNUPLOT_DESC=	Support for plotting graphs

Modified: head/benchmarks/gtkperf/Makefile
==============================================================================
--- head/benchmarks/gtkperf/Makefile	Fri Aug 30 23:01:05 2013	(r325727)
+++ head/benchmarks/gtkperf/Makefile	Fri Aug 30 23:09:24 2013	(r325728)
@@ -1,20 +1,20 @@
 # Created by: Andreas Kohn <andreas@syndrom23.de>
 # $FreeBSD$
 
-PORTNAME=		gtkperf
-PORTVERSION=		0.40
+PORTNAME=	gtkperf
+PORTVERSION=	0.40
 PORTREVISION=	9
-CATEGORIES=		benchmarks
-MASTER_SITES=		SF
-DISTNAME=		${PORTNAME}_${PORTVERSION}
-
-MAINTAINER=		ports@FreeBSD.org
-COMMENT=		Measure your system's GTK+ performance
-
-WRKSRC=			${WRKDIR}/${PORTNAME}
-USE_GMAKE=		yes
-GNU_CONFIGURE=		yes
-USE_GNOME=		gtk20 gnomeprefix
+CATEGORIES=	benchmarks
+MASTER_SITES=	SF
+DISTNAME=	${PORTNAME}_${PORTVERSION}
+
+MAINTAINER=	ports@FreeBSD.org
+COMMENT=	Measure your system's GTK+ performance
+
+WRKSRC=		${WRKDIR}/${PORTNAME}
+USES=		gmake
+GNU_CONFIGURE=	yes
+USE_GNOME=	gtk20 gnomeprefix
 
 .include <bsd.port.options.mk>
 

Modified: head/benchmarks/httperf/Makefile
==============================================================================
--- head/benchmarks/httperf/Makefile	Fri Aug 30 23:01:05 2013	(r325727)
+++ head/benchmarks/httperf/Makefile	Fri Aug 30 23:09:24 2013	(r325728)
@@ -1,9 +1,5 @@
-# New ports collection makefile for:	httperf
-# Date created:		28 Jul 1999
-# Whom:			Will Andrews <andrews@technologist.com>
-#
+# Created by: Will Andrews <andrews@technologist.com>
 # $FreeBSD$
-#
 
 PORTNAME=	httperf
 PORTVERSION=	0.9.0
@@ -17,7 +13,7 @@ LICENSE=	GPLv2
 
 USE_OPENSSL=	yes
 GNU_CONFIGURE=	yes
-USE_GMAKE=	yes
+USES=		gmake
 MAKE_ARGS=	LIBUTIL_OBJS=ssl_writev.o \
 		exec_prefix=${PREFIX}
 

Modified: head/benchmarks/imb/Makefile
==============================================================================
--- head/benchmarks/imb/Makefile	Fri Aug 30 23:01:05 2013	(r325727)
+++ head/benchmarks/imb/Makefile	Fri Aug 30 23:09:24 2013	(r325728)
@@ -1,9 +1,5 @@
-# New ports collection makefile for:	imb
-# Date created:		2006-11-19
-# Whom:			trasz <trasz@pin.if.uz.zgora.pl>
-#
+# Created by: trasz <trasz@pin.if.uz.zgora.pl>
 # $FreeBSD$
-#
 
 PORTNAME=	imb
 PORTVERSION=	3.0
@@ -19,7 +15,7 @@ MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Intel MPI Benchmark
 
 WRKSRC=		${WRKDIR}/IMB_3.0/src/
-USE_GMAKE=	yes
+USES=		gmake
 USE_DOS2UNIX=	yes
 MAKEFILE=	make_mpich
 ALL_TARGET=	all

Modified: head/benchmarks/libmicro/Makefile
==============================================================================
--- head/benchmarks/libmicro/Makefile	Fri Aug 30 23:01:05 2013	(r325727)
+++ head/benchmarks/libmicro/Makefile	Fri Aug 30 23:09:24 2013	(r325728)
@@ -14,7 +14,7 @@ LICENSE=	CDDL
 
 WRKSRC=		${WRKDIR}/libMicro-${PORTVERSION}
 
-USE_GMAKE=	yes
+USES=		gmake
 MAKE_ENV=	PTHREAD_LIBS="${PTHREAD_LIBS}"
 
 CFLAGS+=	${PTHREAD_CFLAGS}

Modified: head/benchmarks/lmbench/Makefile
==============================================================================
--- head/benchmarks/lmbench/Makefile	Fri Aug 30 23:01:05 2013	(r325727)
+++ head/benchmarks/lmbench/Makefile	Fri Aug 30 23:09:24 2013	(r325728)
@@ -1,9 +1,5 @@
-# New ports collection makefile for:	lmbench
-# Date created:		6 May 1995
-# Whom:			asami
-#
+# Created by: asami
 # $FreeBSD$
-#
 
 PORTNAME=	lmbench
 PORTVERSION=	3.0.a9
@@ -31,7 +27,7 @@ MAN8=		bw_file_rd.8 bw_mem.8 bw_mem_rd.8
 		lat_unix_connect.8 line.8 lmbench.8 lmdd.8 mhz.8 \
 		par_mem.8 par_ops.8 stream.8 tlb.8
 
-USE_GMAKE=	yes
+USES=		gmake
 
 # the bindir for the PLIST is:
 # (note that ./os needs to be run inside the work dir, running it

Modified: head/benchmarks/netio/Makefile
==============================================================================
--- head/benchmarks/netio/Makefile	Fri Aug 30 23:01:05 2013	(r325727)
+++ head/benchmarks/netio/Makefile	Fri Aug 30 23:09:24 2013	(r325728)
@@ -1,7 +1,4 @@
-# New ports collection Makefile for:		netio
-# Date created:					2005-01-09
-# Whom:						arved
-#
+# Created by: arved
 # $FreeBSD$
 
 PORTNAME=	netio
@@ -16,7 +13,7 @@ COMMENT=	Network benchmark
 
 WRKSRC=		${WRKDIR}
 USE_ZIP=	yes
-USE_GMAKE=	yes
+USES=		gmake
 PLIST_FILES=	bin/netio
 
 CFLAGS+=	-DUNIX ${PTHREAD_CFLAGS}

Modified: head/benchmarks/netperfmeter/Makefile
==============================================================================
--- head/benchmarks/netperfmeter/Makefile	Fri Aug 30 23:01:05 2013	(r325727)
+++ head/benchmarks/netperfmeter/Makefile	Fri Aug 30 23:09:24 2013	(r325728)
@@ -10,7 +10,7 @@ MAINTAINER=	dreibh@iem.uni-due.de
 COMMENT=	Network Performance Meter
 
 GNU_CONFIGURE=	yes
-USE_GMAKE=	yes
+USES=		gmake
 
 PLIST_FILES=	bin/netperfmeter
 MAN1=		netperfmeter.1

Modified: head/benchmarks/nttcp/Makefile
==============================================================================
--- head/benchmarks/nttcp/Makefile	Fri Aug 30 23:01:05 2013	(r325727)
+++ head/benchmarks/nttcp/Makefile	Fri Aug 30 23:09:24 2013	(r325728)
@@ -1,9 +1,5 @@
-# New ports collection makefile for:   nttcp
-# Date created:        11 Nov 1998
-# Whom:                Bill Fumerola <billf@chc-chimes.com>
-#
+# Created by: Bill Fumerola <billf@chc-chimes.com>
 # $FreeBSD$
-#
 
 PORTNAME=	nttcp
 PORTVERSION=	1.47
@@ -20,7 +16,7 @@ RESTRICTED=	No commercial use
 ALL_TARGET=	nttcp
 MAN1=		nttcp.1
 PLIST_FILES=	bin/nttcp
-USE_GMAKE=	yes
+USES=		gmake
 MAKE_ENV+=	OPT="${CFLAGS}"
 NOPRECIOUSMAKEVARS=yes
 

Modified: head/benchmarks/pathload/Makefile
==============================================================================
--- head/benchmarks/pathload/Makefile	Fri Aug 30 23:01:05 2013	(r325727)
+++ head/benchmarks/pathload/Makefile	Fri Aug 30 23:09:24 2013	(r325728)
@@ -1,9 +1,5 @@
-# New ports collection makefile for:	pathload
-# Date created:			19 May 2005
-# Whom:				dikshie <dikshie@lapi.itb.ac.id>
-#
+# Created by: dikshie <dikshie@lapi.itb.ac.id>
 # $FreeBSD$
-#
 
 PORTNAME=	pathload
 PORTVERSION=	1.3.2
@@ -15,7 +11,7 @@ MAINTAINER=	dikshie@lapi.itb.ac.id
 COMMENT=	A measurement tool for network path available bandwidth estimation
 
 GNU_CONFIGURE=	yes
-USE_GMAKE=	yes
+USES=		gmake
 
 WRKSRC=		${WRKDIR}/${PORTNAME}_${PORTVERSION}
 MAKEFILE=	makefile

Modified: head/benchmarks/pathrate/Makefile
==============================================================================
--- head/benchmarks/pathrate/Makefile	Fri Aug 30 23:01:05 2013	(r325727)
+++ head/benchmarks/pathrate/Makefile	Fri Aug 30 23:09:24 2013	(r325728)
@@ -1,9 +1,5 @@
-# New ports collection makefile for:	pathrate
-# Date created:			19 May 2005
-# Whom:				dikshie <dikshie@lapi.itb.ac.id>
-#
+# Created by: dikshie <dikshie@lapi.itb.ac.id>
 # $FreeBSD$
-#
 
 PORTNAME=	pathrate
 PORTVERSION=	2.4.1
@@ -15,7 +11,7 @@ MAINTAINER=	dikshie@lapi.itb.ac.id
 COMMENT=	A measurement tool for capacity estimation of network paths
 
 GNU_CONFIGURE=	yes
-USE_GMAKE=	yes
+USES=		gmake
 
 WRKSRC=		${WRKDIR}/${PORTNAME}_${PORTVERSION}
 MAKEFILE=	makefile

Modified: head/benchmarks/pnetmark/Makefile
==============================================================================
--- head/benchmarks/pnetmark/Makefile	Fri Aug 30 23:01:05 2013	(r325727)
+++ head/benchmarks/pnetmark/Makefile	Fri Aug 30 23:09:24 2013	(r325728)
@@ -1,9 +1,5 @@
-# New ports collection makefile for:	pnetmark
-# Date created:		2004-03-19
-# Whom:			michael johnson <ahze@ahze.net>
-#
+# Created by: michael johnson <ahze@ahze.net>
 # $FreeBSD$
-#
 
 PORTNAME=	pnetmark
 PORTVERSION=	0.0.6
@@ -21,7 +17,7 @@ RUN_DEPENDS=	cscc:${PORTSDIR}/lang/pnet-
 		csunit:${PORTSDIR}/lang/pnetlib
 
 GNU_CONFIGURE=	yes
-USE_GMAKE=	yes
+USES=		gmake
 STRIP=		# Nothing to Strip
 PORTDOCS=	pm_faq.html
 PNET_STRAP_BIN=	pnetmark \

Modified: head/benchmarks/postal/Makefile
==============================================================================
--- head/benchmarks/postal/Makefile	Fri Aug 30 23:01:05 2013	(r325727)
+++ head/benchmarks/postal/Makefile	Fri Aug 30 23:09:24 2013	(r325728)
@@ -1,10 +1,5 @@
-# ex:ts=8
-# New ports collection makefile for:	postal
-# Date created:			Apr 2, 2001
-# Whom:				Ying-Chieh Liao <ijliao@FreeBSD.org>
-#
+# Created by: Ying-Chieh Liao <ijliao@FreeBSD.org>
 # $FreeBSD$
-#
 
 PORTNAME=	postal
 PORTVERSION=	0.72
@@ -22,7 +17,7 @@ OPTIONS_DEFAULT=	SSL
 
 USE_OPENSSL=	yes
 GNU_CONFIGURE=	yes
-USE_GMAKE=	yes
+USES=		gmake
 
 PLIST_FILES=	sbin/bhm sbin/postal bin/postal-list sbin/rabid
 

Modified: head/benchmarks/randomio/Makefile
==============================================================================
--- head/benchmarks/randomio/Makefile	Fri Aug 30 23:01:05 2013	(r325727)
+++ head/benchmarks/randomio/Makefile	Fri Aug 30 23:09:24 2013	(r325728)
@@ -1,9 +1,5 @@
-# New ports collection makefile for:	randomio
-# Date created:		20 Aug 2010
-# Whom:			Sergey Kandaurov <pluknet@gmail.com>
-#
+# Created by: Sergey Kandaurov <pluknet@gmail.com>
 # $FreeBSD$
-#
 
 PORTNAME=	randomio
 PORTVERSION=	1.4
@@ -14,7 +10,7 @@ MAINTAINER=	pluknet@gmail.com
 COMMENT=	A multithreaded disk i/o microbenchmark
 
 USE_BZIP2=	yes
-USE_GMAKE=	yes
+USES=		gmake
 PLIST_FILES=	bin/${PORTNAME}
 
 do-install:

Modified: head/benchmarks/sipp/Makefile
==============================================================================
--- head/benchmarks/sipp/Makefile	Fri Aug 30 23:01:05 2013	(r325727)
+++ head/benchmarks/sipp/Makefile	Fri Aug 30 23:09:24 2013	(r325728)
@@ -16,7 +16,7 @@ LICENSE=	GPLv2
 PLIST_FILES=	bin/sipp
 MAN1=		sipp.1
 
-USE_GMAKE=	yes
+USES=		gmake
 CPP=		${CXX}
 MAKE_ENV+=	CCLINK="${CXX}"
 CPPFLAGS+=	${CXXFLAGS}

Modified: head/benchmarks/thrulay/Makefile
==============================================================================
--- head/benchmarks/thrulay/Makefile	Fri Aug 30 23:01:05 2013	(r325727)
+++ head/benchmarks/thrulay/Makefile	Fri Aug 30 23:09:24 2013	(r325728)
@@ -1,7 +1,4 @@
-# New ports collection makefile for:   thrulay
-# Date created:        2005-10-19
-# Whom:                shalunov
-#
+# Created by: shalunov
 # $FreeBSD$
 
 PORTNAME=	thrulay
@@ -17,7 +14,7 @@ MAN1=		thrulay.1
 MAN8=		thrulayd.8
 MANCOMPRESSED=	no
 HAS_CONFIGURE=	yes
-USE_GMAKE=	yes
+USES=		gmake
 USE_LDCONFIG=	yes
 USE_RC_SUBR=	thrulayd
 SUB_FILES=	thrulayd

Modified: head/benchmarks/tsung/Makefile
==============================================================================
--- head/benchmarks/tsung/Makefile	Fri Aug 30 23:01:05 2013	(r325727)
+++ head/benchmarks/tsung/Makefile	Fri Aug 30 23:09:24 2013	(r325728)
@@ -14,11 +14,11 @@ LICENSE=	GPLv2
 BUILD_DEPENDS=	erlc:${PORTSDIR}/lang/erlang
 RUN_DEPENDS=	erl:${PORTSDIR}/lang/erlang
 
-USE_PERL5_RUN=	yes
+USE_PERL5=	run
 USE_PYTHON_RUN=	yes
 
 GNU_CONFIGURE=	yes
-USE_GMAKE=	yes
+USES=		gmake perl5
 
 PLIST_SUB=	PORTVERSION=${PORTVERSION}
 

Modified: head/benchmarks/wrk/Makefile
==============================================================================
--- head/benchmarks/wrk/Makefile	Fri Aug 30 23:01:05 2013	(r325727)
+++ head/benchmarks/wrk/Makefile	Fri Aug 30 23:09:24 2013	(r325728)
@@ -15,7 +15,7 @@ LICENSE=	AL2
 
 FETCH_ARGS=	-pRr
 WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
-USE_GMAKE=	yes
+USES=		gmake
 CFLAGS+=	-std=c99 -D_DECLARE_C99_LDBL_MATH
 
 PLIST_FILES=	bin/wrk



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201308302309.r7UN9Ont085272>