source: trunk/dports/benchmarks/bonniexx/Portfile @ 28566

Last change on this file since 28566 was 28566, checked in by mww@…, 13 years ago

rather use configure.compiler

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.6 KB
Line 
1# $Id: Portfile 28566 2007-09-03 20:30:17Z mww@macports.org $
2
3PortSystem 1.0
4name                    bonniexx
5version                 1.93c
6categories              benchmarks
7maintainers             lomion@mac.com
8description             Disk and FS performance tester 
9long_description        Bonnie++ is a benchmark suite that is aimed at \
10                        performing a number of simple tests of hard drive \
11                        and file system performance. Then you can decide which\
12                         test is important and decide how to compare different\
13                         systems after running it. I have no plans to ever \
14                        have it produce a single number, because I don't think\
15                         that a single number can be useful when comparing \
16                        such things.
17platforms               darwin
18homepage                http://www.coker.com.au/bonnie++/
19master_sites            http://www.coker.com.au/bonnie++/experimental/
20checksums               sha1 85f670f5b82accb62ca2cff82e94cbbaefd5aedb
21distname                bonnie++-${version}
22extract.suffix          .tgz
23patchfiles              patch-Makefile.in \
24                        patch-bonnie++.8 \
25                        patch-bonnie++.cpp \
26                        patch-getc_putc.cpp \
27                        patch-zcav.8
28
29pre-patch {
30                reinplace "s|/usr/share/|${prefix}/share/|g" ${worksrcpath}/bonnie++.8 \
31}
32
33destroot                { xinstall -m 755 -d "${destroot}${prefix}/bin" \
34                          "${destroot}${prefix}/share/man/man1" \
35                          "${destroot}${prefix}/share/man/man8" \
36                          "${destroot}${prefix}/share/doc/bonnie++"
37                          xinstall -m 755 -W ${worksrcpath} bonnie++ zcav ${destroot}${prefix}/bin
38                          xinstall -m 644 -W ${worksrcpath} bon_csv2html.1 bon_csv2txt.1 ${destroot}${prefix}/share/man/man1
39                          xinstall -m 644 -W ${worksrcpath} bonnie++.8 zcav.8 ${destroot}${prefix}/share/man/man8
40                          xinstall -m 644 ${worksrcpath}/readme.html ${destroot}${prefix}/share/doc/bonnie++
41                        }               
42
43platform darwin 8       {
44        configure.compiler      gcc-4.0
45}
Note: See TracBrowser for help on using the repository browser.