pkgsrc/benchmarks/iozone/Makefile
wiz ac3c20f69d Update to 3.167:
Zero compute_val inside of loops.
Add support for O_DIRECT for IRIX and IRIX64
Improve macros and add prototypes.
Improve resolution of get_resolution().
2003-04-15 08:34:32 +00:00

39 lines
1 KiB
Makefile

# $NetBSD: Makefile,v 1.19 2003/04/15 08:34:32 wiz Exp $
DISTNAME= iozone3_167
PKGNAME= iozone-3.167
WRKSRC= ${WRKDIR}/src/current
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"
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"