1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-03 06:04:53 +00:00
freebsd-ports/benchmarks/iozone/Makefile
Xin LI 9441422186 Update to 3.283.
PR:		ports/111937
Submitted by:	CHAO Shin <quakelee cn freebsd org>
Approved by:	maintainer timeout (1 month)
2007-05-26 03:16:04 +00:00

47 lines
978 B
Makefile

# New ports collection makefile for: iozone
# Date created: 26 September 1994
# Whom: jmz
#
# $FreeBSD$
#
PORTNAME= iozone
PORTVERSION= 3.283
PORTREVISION= 0
CATEGORIES= benchmarks
MASTER_SITES= http://www.iozone.org/src/current/
DISTNAME= ${PORTNAME}${PORTVERSION:S/./_/}
EXTRACT_SUFX= .tar
MAINTAINER= jmz@FreeBSD.org
COMMENT= Performance Test of Sequential File I/O
CONFLICTS= iozone-2.*
WRKSRC= ${WRKDIR}/${DISTNAME}/src/current
MAKEFILE= makefile
MAKE_ARGS= freebsd CFLAGS="${CFLAGS}"
ALL_TARGET=
MAN1= iozone.1
PLIST_FILES= bin/iozone
OPTIONS= THREADS "Enable threading (uses pthreads)" on
.include <bsd.port.pre.mk>
.if defined (WITH_THREADS)
CFLAGS+= ${PTHREAD_CFLAGS}
MAKE_ENV= LDFLAGS=${PTHREAD_LIBS}
.else
CFLAGS+=-DNO_THREADS
.endif
do-install:
${STRIP_CMD} ${WRKSRC}/iozone
${INSTALL_PROGRAM} ${WRKSRC}/iozone ${PREFIX}/bin
${INSTALL_MAN} ${WRKDIR}/${DISTNAME}/docs/iozone.1 ${PREFIX}/man/man1
.include <bsd.port.post.mk>