openbsd-ports/benchmarks/iozone/Makefile
2001-07-10 23:33:59 +00:00

41 lines
787 B
Makefile

# $OpenBSD: Makefile,v 1.30 2001/07/10 23:33:59 brad Exp $
COMMENT= "performance test of sequential file I/O"
DISTNAME= iozone3_56
PKGNAME= iozone-3.56
CATEGORIES= benchmarks
NEED_VERSION= 1.413
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}"
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>