aboutsummaryrefslogtreecommitdiff
path: root/benchmarks
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2010-08-29 17:05:18 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2010-08-29 17:05:18 +0000
commit60718b5d90456e899fb34c19d429e75b489831e2 (patch)
treeb7f81923ee393bcbf7f73668de82884feb941100 /benchmarks
parente3c72d592449379c953dde8528f04ff853b21ffc (diff)
downloadports-60718b5d90456e899fb34c19d429e75b489831e2.tar.gz
ports-60718b5d90456e899fb34c19d429e75b489831e2.zip
Notes
Diffstat (limited to 'benchmarks')
-rw-r--r--benchmarks/dbench/Makefile20
-rw-r--r--benchmarks/dbench/distinfo6
-rw-r--r--benchmarks/dbench/files/patch-configure11
-rw-r--r--benchmarks/dbench/pkg-descr2
-rw-r--r--benchmarks/dbench/pkg-plist2
5 files changed, 20 insertions, 21 deletions
diff --git a/benchmarks/dbench/Makefile b/benchmarks/dbench/Makefile
index 8ba4d0e7be82..9c24a37b8594 100644
--- a/benchmarks/dbench/Makefile
+++ b/benchmarks/dbench/Makefile
@@ -6,18 +6,26 @@
#
PORTNAME= dbench
-PORTVERSION= 3.04
-PORTREVISION= 2
+PORTVERSION= 4.0
CATEGORIES= benchmarks
-MASTER_SITES= http://samba.org/ftp/tridge/dbench/
+MASTER_SITES= SAMBA
+MASTER_SITE_SUBDIR= ../../ftp/tridge/dbench
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= kimelto@gmail.com
COMMENT= A simulation of the Ziff-Davis netbench benchmark
+LIB_DEPENDS= popt:${PORTSDIR}/devel/popt
+
+LICENSE= GPLv3
+
+CFLAGS+= -I${LOCALBASE}/include
+USE_AUTOTOOLS= autoconf:262
GNU_CONFIGURE= yes
+CONFIGURE_ENV+= LIBS="-L${LOCALBASE}/lib"
+CONFIGURE_ARGS+=--datadir=${DATADIR}
-MAN1= dbench.1
-MLINKS= dbench.1 tbench.1 dbench.1 tbench_srv.1
+MAN1= dbench.1
+MLINKS= dbench.1 tbench.1 dbench.1 tbench_srv.1
post-patch:
@${REINPLACE_CMD} -e 's,$$(mandir),$$(mandir)/man1,' \
diff --git a/benchmarks/dbench/distinfo b/benchmarks/dbench/distinfo
index 2dd433d6cf55..acb35cbd9bfa 100644
--- a/benchmarks/dbench/distinfo
+++ b/benchmarks/dbench/distinfo
@@ -1,3 +1,3 @@
-MD5 (dbench-3.04.tar.gz) = efd0c958da79c1cd941ecd3f63e637ae
-SHA256 (dbench-3.04.tar.gz) = 055e411081ae25fd358dd0f4c1547ee1bd7429bea0f1fad9156a50a09ddd668b
-SIZE (dbench-3.04.tar.gz) = 2078197
+MD5 (dbench-4.0.tar.gz) = 1fe56ff71b9a416f8889d7150ac54da4
+SHA256 (dbench-4.0.tar.gz) = 6001893f34e68a3cfeb5d424e1f2bfef005df96a22d86f35dc770c5bccf3aa8a
+SIZE (dbench-4.0.tar.gz) = 2055359
diff --git a/benchmarks/dbench/files/patch-configure b/benchmarks/dbench/files/patch-configure
deleted file mode 100644
index a2e7d2f659c9..000000000000
--- a/benchmarks/dbench/files/patch-configure
+++ /dev/null
@@ -1,11 +0,0 @@
---- configure.orig Wed Jan 12 23:04:18 2005
-+++ configure Tue Feb 27 08:31:28 2007
-@@ -339,7 +339,7 @@
- bindir='${exec_prefix}/bin'
- sbindir='${exec_prefix}/sbin'
- libexecdir='${exec_prefix}/libexec'
--datadir='${prefix}/share'
-+datadir='${prefix}/share/dbench'
- sysconfdir='${prefix}/etc'
- sharedstatedir='${prefix}/com'
- localstatedir='${prefix}/var'
diff --git a/benchmarks/dbench/pkg-descr b/benchmarks/dbench/pkg-descr
index 0fb9fdea5e3d..b9e0be584ca2 100644
--- a/benchmarks/dbench/pkg-descr
+++ b/benchmarks/dbench/pkg-descr
@@ -2,3 +2,5 @@ Dbench is a filesystem benchmark that generates load patterns similar to those
of the commercial Netbench benchmark, but without requiring a lab of Windows
load generators to run. It is now considered a de-facto standard for generating
load on the Linux VFS.
+
+WWW: http://dbench.samba.org/
diff --git a/benchmarks/dbench/pkg-plist b/benchmarks/dbench/pkg-plist
index 24346752e17c..7b4adde1c4bf 100644
--- a/benchmarks/dbench/pkg-plist
+++ b/benchmarks/dbench/pkg-plist
@@ -2,4 +2,4 @@ bin/dbench
bin/tbench
bin/tbench_srv
%%DATADIR%%/client.txt
-@dirrm share/dbench
+@dirrm %%DATADIR%%