# $Id: Portfile,v 1.2 2005/10/23 13:55:23 mww Exp $ PortSystem 1.0 name mod_cband version 0.9.5.2 categories www platforms darwin maintainers mww@opendarwin.org description bandwidth limiting module for apache2 long_description mod_cband is an Apache 2 module that solves the problem of \ limiting the bandwidth usage of users, virtual hosts and destinations. \ When the configured transfer limit is exceeded, mod_cband will \ redirect all further requests to a location specified in the \ configuration file. homepage http://cband.linux.pl/ master_sites http://dembol.nasa.pl/download/ distname mod-cband-${version} extract.suffix .tgz checksums md5 655b16a1445d464fe20ecd4b2b082b6f depends_lib port:apache2 configure.args --with-apxs=${prefix}/apache2/bin/apxs build.target src/.libs/mod_cband.so platform darwin 8 { configure.env CC=/usr/bin/gcc-4.0 CPP=/usr/bin/cpp-4.0 CXX=/usr/bin/g++-4.0 } destroot { set moddir ${destroot}${prefix}/apache2/modules set docdir ${destroot}${prefix}/share/doc/${name} xinstall -m 755 -d ${moddir} ${docdir}/examples xinstall -m 644 ${worksrcpath}/src/.libs/mod_cband.so ${moddir} xinstall -m 644 -W ${worksrcpath} AUTHORS Changes LICENSE TODO ${docdir} xinstall -m 644 ${worksrcpath}/conf/vhosts.conf.example ${docdir}/examples }