pkgsrc/benchmarks/bonnie++/Makefile

31 lines
822 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.13 2005/05/22 20:07:40 jlam Exp $
#
DISTNAME= bonnie++-1.03a
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
PKG_INSTALLATION_TYPES= overwrite pkgviews
USE_LANGUAGES= c c++
2001-11-28 06:20:38 +01:00
GNU_CONFIGURE= YES
USE_TOOLS= gmake
2001-11-28 06:20:38 +01:00
REPLACE_PERL= bon_csv2txt.in bon_csv2html.in
INSTALLATION_DIRS= bin man/man1 man/man8 sbin
benchmark:
@cd ${WRKSRC}; ./bonnie++ -u ${ROOT_USER}:${ROOT_GROUP} | tee bonnie.out
results:
@${MKDIR} /tmp/benches/`domainname`
-@${CP} ${WRKSRC}/bonnie.out /tmp/benches/`domainname`/bonnie++.`uname`-`uname -m`-`uname -r`.`hostname`
.include "../../lang/perl5/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"