pkgsrc/benchmarks/iozone/Makefile
garbled 8ea51f8da3 Update this pkg to 3.56. Changes are mostly bugfixes, available at:
http://www.iozone.org/src/current/Changes.txt

I have patched the source however, to allow use of the pread/prwite
tests, via the -E extension mode.  Also, the benchmark target has been fixed.
2001-07-16 22:04:54 +00:00

39 lines
1 KiB
Makefile

# $NetBSD: Makefile,v 1.15 2001/07/16 22:04:54 garbled Exp $
DISTNAME= iozone3_56
PKGNAME= iozone-3.56
CATEGORIES= benchmarks
MASTER_SITES= http://www.iozone.org/src/current/
EXTRACT_SUFX= .tar
MAINTAINER= root@garbled.net
HOMEPAGE= http://www.iozone.org/
COMMENT= Benchmark for file read and write speed
RESTRICTED= "Publication of derivative works not allowed"
WRKSRC= ${WRKDIR}/src/current
MAKEFILE= makefile
.include "../../mk/bsd.prefs.mk"
.if (${OPSYS} == "NetBSD")
ALL_TARGET= netbsd
.elif (${OPSYS} == "SunOS")
ALL_TARGET= Solaris
.endif
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/iozone ${PREFIX}/bin
${INSTALL_MAN} ${WRKDIR}/docs/iozone.1 ${PREFIX}/man/man1
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/IOzone
${INSTALL_DATA} ${WRKDIR}/docs/IOzone_ps.gz ${PREFIX}/share/doc/IOzone
benchmark:
@(cd ${WRKSRC}; ./iozone -Ea | tee iozone.out)
results:
@${MKDIR} /tmp/benches/`domainname`
-@${CP} ${WRKSRC}/iozone.out /tmp/benches/`domainname`/iozone.`uname`-`uname -m`-`uname -r`.`hostname`
.include "../../mk/bsd.pkg.mk"