source: trunk/dports/benchmarks/iozone/Portfile

Last change on this file was 150708, checked in by jmr@…, 14 months ago

iozone: update to 3.455

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.5 KB
Line 
1# -*- 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
2# $Id: Portfile 150708 2016-07-27 09:24:51Z ryandesign@macports.org $
3
4PortSystem       1.0
5
6name             iozone
7version          3.455
8categories       benchmarks
9platforms        darwin
10license          Restrictive/Distributable GPL-2+
11maintainers      jmr openmaintainer
12description      Performance Test of File I/O
13long_description \
14    Iozone tests the speed of I/O to actual files. \
15    Therefore, this measurement factors in the efficiency of \
16    your machine's file system, operating system, C compiler, \
17    and C runtime library.  It produces a measurement which \
18    is the number of bytes per second that your system can \
19    read or write to a file.
20homepage         http://www.iozone.org/
21
22master_sites     ${homepage}src/current/
23distname         ${name}[string map {. _} ${version}]
24checksums        rmd160 d65f24ca6d954cc8b3eb16f86f6d37e6b3ee5f7d \
25                 sha256 9b76e83151b127b7a8dc1867085d2418e7ded0107ebbc0a9758c7825a29691e9
26
27extract.suffix   .tar
28extract.cmd      cat
29extract.pre_args
30worksrcdir       ${distname}/src/current
31
32use_configure    no
33build.target     macosx
34build.args       CC=${configure.cc} \
35                 CFLAGS="${configure.cflags} ${configure.cc_archflags}" \
36                 LDFLAGS="${configure.ld_archflags}"
37
38destroot {
39    xinstall ${worksrcpath}/iozone ${worksrcpath}/fileop \
40                    ${destroot}${prefix}/bin
41    xinstall -m 444 ${worksrcpath}/../../docs/iozone.1 ${destroot}${prefix}/share/man/man1
42    xinstall -d ${destroot}${prefix}/share/doc/${name}
43    xinstall -m 444 ${worksrcpath}/../../docs/IOzone_msword_98.pdf \
44                    ${worksrcpath}/../../docs/Run_rules.doc \
45                    ${worksrcpath}/Changes.txt \
46                    ${worksrcpath}/Gnuplot.txt \
47                    ${destroot}${prefix}/share/doc/${name}
48    xinstall -d ${destroot}${prefix}/share/${name}
49    xinstall -m 444 ${worksrcpath}/Generate_Graphs \
50                    ${worksrcpath}/client_list \
51                    ${worksrcpath}/gengnuplot.sh \
52                    ${worksrcpath}/gnu3d.dem \
53                    ${worksrcpath}/gnuplot.dem \
54                    ${worksrcpath}/gnuplotps.dem \
55                    ${worksrcpath}/iozone_visualizer.pl \
56                    ${worksrcpath}/report.pl \
57                    ${destroot}${prefix}/share/${name}
58}
59
60livecheck.type          regex
61livecheck.version       [string map {. _} ${version}]
62livecheck.regex         "${name}(\[0-9\]+_\[0-9\]+)\.t(ar|gz)"
Note: See TracBrowser for help on using the repository browser.