2008-03-17 20:06:55 +00:00
|
|
|
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
|
2004-01-14 10:35:23 +00:00
|
|
|
|
|
|
|
|
PortSystem 1.0
|
2008-03-17 20:06:55 +00:00
|
|
|
|
2004-01-14 10:35:23 +00:00
|
|
|
name iozone
|
2026-05-03 08:03:01 +10:00
|
|
|
version 3.510
|
2004-01-14 10:35:23 +00:00
|
|
|
categories benchmarks
|
2011-02-08 09:34:34 +00:00
|
|
|
license Restrictive/Distributable GPL-2+
|
2017-02-03 03:21:39 +11:00
|
|
|
maintainers {jmr @jmroot} openmaintainer
|
2008-03-17 20:06:55 +00:00
|
|
|
description Performance Test of File I/O
|
2004-01-14 10:35:23 +00:00
|
|
|
long_description \
|
2008-03-17 20:06:55 +00:00
|
|
|
Iozone tests the speed of I/O to actual files. \
|
2004-01-14 10:35:23 +00:00
|
|
|
Therefore, this measurement factors in the efficiency of \
|
|
|
|
|
your machine's file system, operating system, C compiler, \
|
|
|
|
|
and C runtime library. It produces a measurement which \
|
|
|
|
|
is the number of bytes per second that your system can \
|
|
|
|
|
read or write to a file.
|
|
|
|
|
homepage http://www.iozone.org/
|
2008-03-17 20:06:55 +00:00
|
|
|
|
2004-01-14 10:35:23 +00:00
|
|
|
master_sites ${homepage}src/current/
|
2013-06-17 19:56:51 +00:00
|
|
|
distname ${name}[string map {. _} ${version}]
|
2026-05-03 08:03:01 +10:00
|
|
|
checksums rmd160 d2187516d190142ce559830e46eddd391124b6f7 \
|
|
|
|
|
sha256 9284601c4665a1bb171307e8b9e1d62360d6598e4b0e7a5641320966d9a6a5f7
|
2008-03-17 20:06:55 +00:00
|
|
|
|
2023-05-11 00:20:35 +10:00
|
|
|
use_tar yes
|
2008-03-17 20:06:55 +00:00
|
|
|
worksrcdir ${distname}/src/current
|
2009-01-14 17:37:21 +00:00
|
|
|
|
2023-05-11 00:20:35 +10:00
|
|
|
patchfiles iozone.c.patch
|
2022-11-19 21:39:14 +11:00
|
|
|
|
2004-01-14 10:35:23 +00:00
|
|
|
use_configure no
|
|
|
|
|
build.target macosx
|
2010-12-14 10:09:22 +00:00
|
|
|
build.args CC=${configure.cc} \
|
|
|
|
|
CFLAGS="${configure.cflags} ${configure.cc_archflags}" \
|
|
|
|
|
LDFLAGS="${configure.ld_archflags}"
|
2008-03-17 20:06:55 +00:00
|
|
|
|
2004-01-14 10:35:23 +00:00
|
|
|
destroot {
|
2015-03-23 20:51:32 +00:00
|
|
|
xinstall ${worksrcpath}/iozone ${worksrcpath}/fileop \
|
2010-01-31 19:04:07 +00:00
|
|
|
${destroot}${prefix}/bin
|
2004-01-14 10:35:23 +00:00
|
|
|
xinstall -m 444 ${worksrcpath}/../../docs/iozone.1 ${destroot}${prefix}/share/man/man1
|
2015-03-23 20:51:32 +00:00
|
|
|
xinstall -d ${destroot}${prefix}/share/doc/${name}
|
2008-03-17 20:06:55 +00:00
|
|
|
xinstall -m 444 ${worksrcpath}/../../docs/IOzone_msword_98.pdf \
|
2010-01-31 19:04:07 +00:00
|
|
|
${worksrcpath}/../../docs/Run_rules.doc \
|
|
|
|
|
${worksrcpath}/Changes.txt \
|
|
|
|
|
${worksrcpath}/Gnuplot.txt \
|
|
|
|
|
${destroot}${prefix}/share/doc/${name}
|
2015-03-23 20:51:32 +00:00
|
|
|
xinstall -d ${destroot}${prefix}/share/${name}
|
2008-03-17 20:06:55 +00:00
|
|
|
xinstall -m 444 ${worksrcpath}/Generate_Graphs \
|
2010-01-31 19:04:07 +00:00
|
|
|
${worksrcpath}/client_list \
|
|
|
|
|
${worksrcpath}/gengnuplot.sh \
|
|
|
|
|
${worksrcpath}/gnu3d.dem \
|
|
|
|
|
${worksrcpath}/gnuplot.dem \
|
|
|
|
|
${worksrcpath}/gnuplotps.dem \
|
|
|
|
|
${worksrcpath}/iozone_visualizer.pl \
|
|
|
|
|
${worksrcpath}/report.pl \
|
|
|
|
|
${destroot}${prefix}/share/${name}
|
2004-01-14 10:35:23 +00:00
|
|
|
}
|
2008-03-24 04:24:47 +00:00
|
|
|
|
2009-09-10 08:16:41 +00:00
|
|
|
livecheck.type regex
|
2013-06-18 19:23:44 +00:00
|
|
|
livecheck.version [string map {. _} ${version}]
|
2016-07-27 09:24:51 +00:00
|
|
|
livecheck.regex "${name}(\[0-9\]+_\[0-9\]+)\.t(ar|gz)"
|