Skip to content
Permalink
Browse files

new port www/mod_cband

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@14612 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
Markus W. Weißmann
Markus W. Weißmann committed Oct 13, 2005
1 parent 625ac0e commit 3bd1c58bc8abab40d2a21486ba1be0e976bb0c27
Showing with 40 additions and 0 deletions.
  1. +40 −0 www/mod_cband/Portfile
@@ -0,0 +1,40 @@
# $Id: Portfile,v 1.1 2005/10/13 20:58:23 mww Exp $

PortSystem 1.0

name mod_cband
version 0.9.5.1
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 68fd4cbf429dfe88d1f56650880c1b54

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
}

0 comments on commit 3bd1c58

Please sign in to comment.
You can’t perform that action at this time.