aboutsummaryrefslogtreecommitdiffstats
path: root/benchmarks
diff options
context:
space:
mode:
authordanfe <danfe@FreeBSD.org>2013-03-13 20:19:33 +0800
committerdanfe <danfe@FreeBSD.org>2013-03-13 20:19:33 +0800
commitbd5ff2039cc03343ab4a52cf48e55ff4c835e5b8 (patch)
tree44f16bb825c28a3f245503bb20204973a8e5964e /benchmarks
parenta7d6771cdebb7105877184b7cd7302a526cd0804 (diff)
downloadfreebsd-ports-gnome-bd5ff2039cc03343ab4a52cf48e55ff4c835e5b8.tar.gz
freebsd-ports-gnome-bd5ff2039cc03343ab4a52cf48e55ff4c835e5b8.tar.zst
freebsd-ports-gnome-bd5ff2039cc03343ab4a52cf48e55ff4c835e5b8.zip
For unmaintained ports in `benchmarks' category, drop leading article from
COMMENT and perform other minor cleanups along the way, whenever noticed.
Diffstat (limited to 'benchmarks')
-rw-r--r--benchmarks/dbs/Makefile18
-rw-r--r--benchmarks/mdtest/Makefile6
-rw-r--r--benchmarks/mdtest/pkg-descr5
3 files changed, 15 insertions, 14 deletions
diff --git a/benchmarks/dbs/Makefile b/benchmarks/dbs/Makefile
index 7e38ff995fde..9937acff86b0 100644
--- a/benchmarks/dbs/Makefile
+++ b/benchmarks/dbs/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: dbs
-# Date created: 1 August 1998
-# Whom: jkoshy
-#
+# Created by: Joseph Koshy <jkoshy@FreeBSD.org>
# $FreeBSD$
-#
PORTNAME= dbs
PORTVERSION= 1.1.5
@@ -13,7 +9,7 @@ MASTER_SITES= http://www.kusa.ac.jp/~yukio-m/dbs/software1.1.5/ \
LOCAL/jkoshy
MAINTAINER= ports@FreeBSD.org
-COMMENT= A distributed network benchmarking system
+COMMENT= Distributed network benchmarking system
RUN_DEPENDS= gnuplot:${PORTSDIR}/math/gnuplot
@@ -23,9 +19,13 @@ INSTALL_WRKSRC= ${WRKSRC}/obj/${OPSYS}
USE_PERL5_RUN= yes
MAKEFILE= makefile
+PLIST_FILES= bin/dbs_view bin/dbsc bin/dbsd
PORTDOCS= *
PORTEXAMPLES= *
-PLIST_FILES= bin/dbs_view bin/dbsc bin/dbsd
+
+OPTIONS_DEFINE= DOCS EXAMPLES
+
+.include <bsd.port.options.mk>
post-patch:
@${REINPLACE_CMD} -e \
@@ -41,13 +41,13 @@ do-install:
.for bin in dbs_view
cd ${WRKSRC}/script; ${INSTALL_SCRIPT} ${bin} ${PREFIX}/bin
.endfor
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
.for doc in Copyright dbs.man dbs.man.jis dbs_paper.ps
cd ${WRKSRC}/doc; ${INSTALL_DATA} ${doc} ${DOCSDIR}
.endfor
.endif
-.if !defined(NOPORTEXAMPLES)
+.if ${PORT_OPTIONS:MEXAMPLES}
@${MKDIR} ${EXAMPLESDIR}
.for ex in TCP2.cmd TCPvsMPEG.cmd
cd ${WRKSRC}/sample; ${INSTALL_DATA} ${ex} ${EXAMPLESDIR}
diff --git a/benchmarks/mdtest/Makefile b/benchmarks/mdtest/Makefile
index 08f35afc1e21..4a91e4f02cd5 100644
--- a/benchmarks/mdtest/Makefile
+++ b/benchmarks/mdtest/Makefile
@@ -8,14 +8,14 @@ MASTER_SITES= SF/${PORTNAME}/${PORTNAME}%20latest/${PORTNAME}-${PORTVERSION}
EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
-COMMENT= A filesystem metadata benchmark utility
+COMMENT= Filesystem metadata benchmark utility
LICENSE= GPLv2
OPTIONS_DEFINE= OPENMPI EXAMPLES
-OPENMPI_DESC= Use openmpi instead of mpich2
+OPENMPI_DESC= Use Open MPI instead of MPICH2
-BROKEN= checksum mismatch
+BROKEN= checksum mismatch
MAN1= ${PORTNAME}.1
PORTEXAMPLES= *
diff --git a/benchmarks/mdtest/pkg-descr b/benchmarks/mdtest/pkg-descr
index e9db2f3306f0..56ebe4e1991c 100644
--- a/benchmarks/mdtest/pkg-descr
+++ b/benchmarks/mdtest/pkg-descr
@@ -1,4 +1,5 @@
-The mdtest software is used for testing the metadata
-performance of a file system.
+mdtest is an MPI-coordinated metadata filesystem benchmark test that performs
+open/stat/close operations on files and directories and then reports achieved
+performance.
WWW: http://sourceforge.net/projects/mdtest/