source: trunk/dports/benchmarks/iozone/Portfile @ 44033

Last change on this file since 44033 was 44033, checked in by jmr@…, 12 years ago

iozone: make use of configure.cc

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