mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
61 lines
2.5 KiB
Tcl
61 lines
2.5 KiB
Tcl
# -*- 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
|
|
|
|
PortSystem 1.0
|
|
|
|
name iozone
|
|
version 3.510
|
|
categories benchmarks
|
|
license Restrictive/Distributable GPL-2+
|
|
maintainers {jmr @jmroot} openmaintainer
|
|
description Performance Test of File I/O
|
|
long_description \
|
|
Iozone tests the speed of I/O to actual files. \
|
|
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/
|
|
|
|
master_sites ${homepage}src/current/
|
|
distname ${name}[string map {. _} ${version}]
|
|
checksums rmd160 d2187516d190142ce559830e46eddd391124b6f7 \
|
|
sha256 9284601c4665a1bb171307e8b9e1d62360d6598e4b0e7a5641320966d9a6a5f7
|
|
|
|
use_tar yes
|
|
worksrcdir ${distname}/src/current
|
|
|
|
patchfiles iozone.c.patch
|
|
|
|
use_configure no
|
|
build.target macosx
|
|
build.args CC=${configure.cc} \
|
|
CFLAGS="${configure.cflags} ${configure.cc_archflags}" \
|
|
LDFLAGS="${configure.ld_archflags}"
|
|
|
|
destroot {
|
|
xinstall ${worksrcpath}/iozone ${worksrcpath}/fileop \
|
|
${destroot}${prefix}/bin
|
|
xinstall -m 444 ${worksrcpath}/../../docs/iozone.1 ${destroot}${prefix}/share/man/man1
|
|
xinstall -d ${destroot}${prefix}/share/doc/${name}
|
|
xinstall -m 444 ${worksrcpath}/../../docs/IOzone_msword_98.pdf \
|
|
${worksrcpath}/../../docs/Run_rules.doc \
|
|
${worksrcpath}/Changes.txt \
|
|
${worksrcpath}/Gnuplot.txt \
|
|
${destroot}${prefix}/share/doc/${name}
|
|
xinstall -d ${destroot}${prefix}/share/${name}
|
|
xinstall -m 444 ${worksrcpath}/Generate_Graphs \
|
|
${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}
|
|
}
|
|
|
|
livecheck.type regex
|
|
livecheck.version [string map {. _} ${version}]
|
|
livecheck.regex "${name}(\[0-9\]+_\[0-9\]+)\.t(ar|gz)"
|