summaryrefslogtreecommitdiff
path: root/benchmarks/bonnie++/Makefile
blob: ca0d3f5c488ff6c4a3e0e453454efdd2c796356d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# $NetBSD: Makefile,v 1.3 2001/07/18 10:31:20 wiz Exp $
#

DISTNAME=       bonnie++-1.01
CATEGORIES=	benchmarks
MASTER_SITES=   http://www.coker.com.au/bonnie++/
EXTRACT_SUFX=	.tgz

MAINTAINER=	root@garbled.net
HOMEPAGE=	http://www.coker.com.au/bonnie++/
COMMENT=	Enhanced performance Test of Filesystem I/O

GNU_CONFIGURE=	yes
USE_PERL5=	yes
REPLACE_PERL=	bon_csv2txt.in bon_csv2html.in

benchmark:
	@(cd ${WRKSRC}; ./bonnie++ -u 0:0 | tee bonnie.out)

results:
	@${MKDIR} /tmp/benches/`domainname`
	-@${CP} ${WRKSRC}/bonnie.out /tmp/benches/`domainname`/bonnie++.`uname`-`uname -m`-`uname -r`.`hostname`

.include "../../mk/bsd.pkg.mk"