# $Id: Portfile,v 1.2 2006/03/31 18:48:40 matt Exp $

PortSystem 1.0

name			bing
version			1.0.5
categories		net
platforms		darwin
maintainers		darwinports@opendarwin.org
homepage		http://www.freenix.fr/freenix/logiciels/bing.html
description		Bandwidth measurement tool

long_description	Bing is a point-to-point bandwidth measurement tool \
			(hence the 'b'), based on ping. \
			Bing determines the real (raw, as opposed to available \
			or average) throughput on a link by measuring ICMP echo \
			requests roundtrip times for different packet sizes for \
			each end of the link.
			
master_sites		http://www.freenix.org/reseau/
checksums		md5 6ff7c1c2f3586935ed69cbe2deb4f95b

use_configure		no

destroot {		xinstall -d ${destroot}${prefix}/sbin
			xinstall -d ${destroot}${prefix}/share/man/man8
			xinstall -d ${destroot}${prefix}/share/doc/${name}
			xinstall -v -m 4555 ${worksrcpath}/bing \
				${destroot}${prefix}/sbin
			xinstall -v -m 644 ${worksrcpath}/bing.8 \
				${destroot}${prefix}/share/man/man8
			xinstall -v -m 644 -W ${worksrcpath} \
				ChangeLog README \
				${destroot}${prefix}/share/doc/${name}/
			}
