# $Id: Portfile,v 1.1 2006/02/16 08:10:29 mww Exp $

PortSystem 1.0
name			bonniexx
version			1.03a	
categories		benchmarks
maintainers		lomion@mac.com
description 		Disk and FS performance tester	
long_description	Bonnie++ is a benchmark suite that is aimed at \
			performing a number of simple tests of hard drive \
			and file system performance. Then you can decide which\
			 test is important and decide how to compare different\
			 systems after running it. I have no plans to ever \
			have it produce a single number, because I don't think\
			 that a single number can be useful when comparing \
			such things.
platforms		darwin
homepage		http://www.coker.com.au/bonnie++/
master_sites		http://www.coker.com.au/bonnie++/
checksums		sha1 b519b79a00fb7145d51320abc3cd46caca7ff05b
distname		bonnie++-${version}
extract.suffix		.tgz

destroot		{ xinstall -m 755 -d "${destroot}${prefix}/bin" \
			  "${destroot}${prefix}/share/man/man1" \
			  "${destroot}${prefix}/share/man/man8"
			  xinstall -m 755 -W ${worksrcpath} bonnie++ zcav ${destroot}${prefix}/bin
			  xinstall -m 644 -W ${worksrcpath} bon_csv2html.1 bon_csv2txt.1 ${destroot}${prefix}/share/man/man1
			  xinstall -m 644 -W ${worksrcpath} bonnie++.8 zcav.8 ${destroot}${prefix}/share/man/man8
			}		

platform darwin 8	{
	configure.env CC=/usr/bin/gcc-4.0 CPP=/usr/bin/cpp-4.0 CXX=/usr/bin/g++-4.0
}
