description network bandwidth throttle daemon
throttled is a bandwidth throttle daemon for Mac OS X, FreeBSD, and Linux \
which allows you to put a cap on your upstream bandwidth and keep your download \
speeds high even when your server is sending out at full speed.
homepage http://www.intrarts.com/throttled.html
master_sites http://www.intrarts.com/Files/
checksums md5 8e87b3eafa07220bb29a923dc4172d55
startupitem.name throttled
startupitem.executable ${prefix}/sbin/throttled
patchfiles patch-src_Makefile.diff
reinplace "s|/usr/local|${prefix}|g" \
${worksrcpath}/Makefile \
${worksrcpath}/throttled-startup \
${worksrcpath}/throttledStartup/throttledStartup
build.dir ${worksrcpath}/src
xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
xinstall -m 755 -s ${worksrcpath}/src/throttled ${destroot}${prefix}/sbin
xinstall -m 644 ${worksrcpath}/throttled-startup \
${destroot}${prefix}/etc/throttled.conf.sample
xinstall -m 644 -W ${worksrcpath} README.txt COPYING.txt \
${destroot}${prefix}/share/doc/${name}