42 lines
803 B
Makefile
42 lines
803 B
Makefile
# $OpenBSD: Makefile,v 1.31 2001/08/30 02:10:40 brad Exp $
|
|
# Uses pthreads
|
|
|
|
COMMENT= "performance test of sequential file I/O"
|
|
|
|
DISTNAME= iozone3_56
|
|
PKGNAME= iozone-3.56
|
|
CATEGORIES= benchmarks
|
|
NEED_VERSION= 1.435
|
|
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>
|