1 | PortSystem 1.0 |
---|
2 | name bonnie |
---|
3 | version 1.0 |
---|
4 | revision 0 |
---|
5 | categories benchmarks |
---|
6 | maintainers lomion@mac.com |
---|
7 | description Disk I/O benchmark utility |
---|
8 | long_description Bonnie is a disk i/o benchmarker. \ |
---|
9 | Bonnie performs a series of tests on a file of known size.\ |
---|
10 | If the size is not specified, Bonnnie uses 100 Mb but that \ |
---|
11 | probably isn't enough for a big modern server - you your \ |
---|
12 | file to be a lot bigger than the available RAM |
---|
13 | homepage http://www.textuality.com/bonnie/ |
---|
14 | platforms darwin |
---|
15 | master_sites http://www.textuality.com/bonnie/ |
---|
16 | distfiles ${name}.tar.gz |
---|
17 | checksums md5 f61cc061a418c3ae308ae362a1ae6490 |
---|
18 | pre-extract { system "mkdir ${workpath}/${name}-${version}" } |
---|
19 | extract { system "cd ${workpath}/${name}-${version} && gzip -dc ${distpath}/${distfile} | tar -xf -" } |
---|
20 | configure { } |
---|
21 | build.target bsd |
---|
22 | |
---|
23 | destroot { file mkdir "${destroot}/${prefix}/bin" |
---|
24 | file mkdir "${destroot}/${prefix}/share/man/man1" |
---|
25 | system "install -m 755 ${workpath}/${name}-${version}/Bonnie ${destroot}/${prefix}/bin" |
---|
26 | system "install -m 644 ${workpath}/${name}-${version}/bonnie.1 ${destroot}/${prefix}/share/man/man1" |
---|
27 | } |
---|