openbsd-ports/benchmarks/iozone/Makefile
2001-12-01 05:35:39 +00:00

44 lines
820 B
Makefile

# $OpenBSD: Makefile,v 1.32 2001/12/01 05:35:39 brad Exp $
# Uses pthreads
COMMENT= "performance test of sequential file I/O"
DISTNAME= iozone3_71
PKGNAME= iozone-3.71
CATEGORIES= benchmarks
NEED_VERSION= 1.500
MASTER_SITES= http://www.iozone.org/src/current/
EXTRACT_SUFX= .tar
HOMEPAGE= http://www.iozone.org/
MAINTAINER= Brad Smith <brad@openbsd.org>
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MAKE_ENV= CC="${CC}"
NO_REGRESS= Yes
FLAVORS= threads
FLAVOR?=
.if ${FLAVOR:L} == "threads"
ALL_TARGET= openbsd-threads
.else
ALL_TARGET= openbsd
.endif
MAKE_FILE= makefile
WRKDIST= ${WRKDIR}/src/current
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/iozone ${PREFIX}/bin
${INSTALL_MAN} ${WRKDIR}/docs/iozone.1 ${PREFIX}/man/man1
.include <bsd.port.mk>