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