pkgsrc/benchmarks/bonnie++/Makefile
wiz a7a09909ef Update to 1.03c:
bonnie++ (1.03c) unstable; urgency=low

  * Fixed some failures to check the return code of chdir().

bonnie++ (1.03b.1) unstable; urgency=low

  * Fixed typos in man page.
    Closes: #133714
    Closes: #449596
  * Documented why UID==0 is bad.
    Closes: #182023

bonnie++ (1.03b) unstable; urgency=low

  * Added support for testing write speed to zcav.

  * Documented the default chunk size in bonnie++.8.

  * Improved error handling for chunk size.
2008-05-21 15:26:07 +00:00

35 lines
986 B
Makefile

# $NetBSD: Makefile,v 1.22 2008/05/21 15:26:07 wiz Exp $
#
DISTNAME= bonnie++-1.03c
CATEGORIES= benchmarks
MASTER_SITES= http://www.coker.com.au/bonnie++/
EXTRACT_SUFX= .tgz
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.coker.com.au/bonnie++/
COMMENT= Enhanced performance Test of Filesystem I/O
PKG_INSTALLATION_TYPES= overwrite pkgviews
USE_LANGUAGES= c c++
GNU_CONFIGURE= YES
USE_TOOLS+= gmake perl:run tee
REPLACE_PERL+= bon_csv2txt.in bon_csv2html.in
INSTALLATION_DIRS= share/doc/bonnie++
# todo: patch bonnie++.8 to point to correct path to readme.html
post-install:
${INSTALL_DATA} ${WRKSRC}/readme.html ${PREFIX}/share/doc/bonnie++/
.PHONY: benchmark
benchmark: build
cd ${WRKSRC} && ./bonnie++ -u ${ROOT_USER}:${ROOT_GROUP} | ${TEE} bonnie.out
.PHONY: results
results: build
@${MKDIR} /tmp/benches/`domainname`
-@${CP} ${WRKSRC:Q}/bonnie.out /tmp/benches/`domainname`/bonnie++.`uname`-`uname -m`-`uname -r`.`hostname`
.include "../../mk/bsd.pkg.mk"