1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-20 08:27:15 +00:00
freebsd-ports/benchmarks/iozone/Makefile

53 lines
1.1 KiB
Makefile
Raw Normal View History

# New ports collection makefile for: iozone
# Date created: 26 September 1994
# Whom: jmz
#
1999-08-25 04:58:03 +00:00
# $FreeBSD$
#
PORTNAME= iozone
PORTVERSION= 3.283
PORTREVISION= 1
CATEGORIES= benchmarks
2001-04-07 22:09:38 +00:00
MASTER_SITES= http://www.iozone.org/src/current/
DISTNAME= ${PORTNAME}${PORTVERSION:S/./_/}
1999-07-07 22:40:17 +00:00
EXTRACT_SUFX= .tar
MAINTAINER= jmz@FreeBSD.org
COMMENT= Performance Test of Sequential File I/O
CONFLICTS= iozone-2.*
WRKSRC= ${WRKDIR}/${DISTNAME}/src/current
1999-07-07 22:40:17 +00:00
MAKEFILE= makefile
MAKE_ARGS= freebsd CFLAGS="${CFLAGS}"
1999-07-07 22:40:17 +00:00
ALL_TARGET=
MAN1= iozone.1
PLIST_FILES= bin/iozone
OPTIONS= THREADS "Enable threading (uses pthreads)" on \
SSH "Use ssh in distributed measurement" on
.include <bsd.port.pre.mk>
2006-02-09 21:58:12 +00:00
.if defined (WITH_THREADS)
CFLAGS+= ${PTHREAD_CFLAGS}
MAKE_ENV= LDFLAGS=${PTHREAD_LIBS}
.else
CFLAGS+=-DNO_THREADS
.endif
.if defined (WITH_SSH)
post-patch:
${REINPLACE_CMD} -e 's|shell\,\"rsh\"|shell\,\"ssh\"|' ${WRKSRC}/iozone.c
.endif
1999-07-07 22:40:17 +00:00
do-install:
${STRIP_CMD} ${WRKSRC}/iozone
1999-07-07 22:40:17 +00:00
${INSTALL_PROGRAM} ${WRKSRC}/iozone ${PREFIX}/bin
${INSTALL_MAN} ${WRKDIR}/${DISTNAME}/docs/iozone.1 ${PREFIX}/man/man1
1999-07-07 22:40:17 +00:00
.include <bsd.port.post.mk>