openbsd-ports/benchmarks/iozone/Makefile

40 lines
787 B
Makefile

# $OpenBSD: Makefile,v 1.29 2001/05/05 21:59:35 espie Exp $
COMMENT= "performance test of sequential file I/O"
DISTNAME= iozone3_53
PKGNAME= iozone-3.53
CATEGORIES= benchmarks
NEED_VERSION= 1.336
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>