# -*- 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 # $Id: Portfile 38486 2008-07-22 11:38:17Z jmr@macports.org $ PortSystem 1.0 name iozone version 3_308 categories benchmarks platforms darwin maintainers jmr 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}${version} checksums md5 0996aad391ad6aecf52dba777ea6cda7 \ sha1 7617d3d6db2f674cbd8e3a2dad3627e4dee7d821 \ rmd160 f0c55ed2e6ab8ac205d6a93f37c32db7f7707a64 extract.suffix .tar extract.cmd cat extract.pre_args worksrcdir ${distname}/src/current use_configure no build.target macosx set mycc /usr/bin/gcc-4.0 platform darwin 8 { build.args CC=${mycc} } platform darwin 9 { build.args CC=${mycc} } destroot { xinstall -m 555 ${worksrcpath}/iozone ${destroot}${prefix}/bin xinstall -m 444 ${worksrcpath}/../../docs/iozone.1 ${destroot}${prefix}/share/man/man1 xinstall -m 755 -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 -m 755 -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 \ ${destroot}${prefix}/share/${name} } livecheck.check regex livecheck.url ${homepage} livecheck.regex "${name}(\[0-9\]+_\[0-9\]+)${extract.suffix}"