PortSystem 1.0

name			bing
version			1.0.5
revision		1
checksums		rmd160  a668b847e842ec9403bd2c3fafc66fec7e093b0e \
				sha256  ceb805914d4584970f6d6cd32226afe69852409571099f05d999a1d47bf96ddc \
				size    28141
categories		net
license			BSD-old
maintainers		nomaintainer
homepage		https://web.archive.org/web/20050901062003/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		freebsd

patchfiles			bing.c.patch

use_configure		no

variant universal {}

build.env		"CC=${configure.cc}" \
				"CFLAGS=${configure.cflags} ${configure.cppflags} [get_canonical_archflags cc]" \
				"CLIBS=${configure.ldflags} [get_canonical_archflags ld]"

destroot {
			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}/
			}
