PortSystem 1.0 name throttled version 0.4.6 categories net license GPL-2+ maintainers nomaintainer description network bandwidth throttle daemon platforms darwin freebsd long_description \ 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/ extract.suffix .tgz checksums md5 8e87b3eafa07220bb29a923dc4172d55 startupitem.create yes startupitem.name throttled startupitem.executable ${prefix}/sbin/throttled patchfiles patch-src_Makefile.diff post-patch { reinplace "s|/usr/local|${prefix}|g" \ ${worksrcpath}/Makefile \ ${worksrcpath}/throttled-startup \ ${worksrcpath}/throttledStartup/throttledStartup } use_configure no build.target build.dir ${worksrcpath}/src destroot { 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} }