[92421] trunk/dports/www/mod_cband/Portfile
ryandesign at macports.org
ryandesign at macports.org
Fri Apr 27 22:56:51 PDT 2012
Revision: 92421
https://trac.macports.org/changeset/92421
Author: ryandesign at macports.org
Date: 2012-04-27 22:56:51 -0700 (Fri, 27 Apr 2012)
Log Message:
-----------
mod_cband: whitespace changes; add modeline
Modified Paths:
--------------
trunk/dports/www/mod_cband/Portfile
Modified: trunk/dports/www/mod_cband/Portfile
===================================================================
--- trunk/dports/www/mod_cband/Portfile 2012-04-28 05:55:17 UTC (rev 92420)
+++ trunk/dports/www/mod_cband/Portfile 2012-04-28 05:56:51 UTC (rev 92421)
@@ -1,23 +1,26 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
# $Id$
-PortSystem 1.0
+PortSystem 1.0
-name mod_cband
+name mod_cband
version 0.9.7.5
-categories www
-platforms darwin
-maintainers nomaintainer
-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.
+categories www
+platforms darwin
+maintainers nomaintainer
+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://sysdesign.pl/mod_cband/
#master_sites http://dembol.org/downloads/cband/
-distname mod-cband-${version}
-extract.suffix .tgz
+distname mod-cband-${version}
+extract.suffix .tgz
# md5 is needed for http master_site below
checksums md5 5c5d65dc9abe6cdc6931b6dd33be5018 \
@@ -30,23 +33,23 @@
}
}
-depends_lib port:apache2
+depends_lib port:apache2
# Doesn't end up building universal software.
universal_variant no
patchfiles patch-src-mod_cband.h.diff
-configure.args --with-apxs=${prefix}/apache2/bin/apxs
+configure.args --with-apxs=${prefix}/apache2/bin/apxs
-build.target src/.libs/mod_cband.so
+build.target src/.libs/mod_cband.so
destroot.violate_mtree yes
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 ${docdir}
- xinstall -m 644 ${worksrcpath}/conf/vhosts.conf.example ${docdir}/examples
+ 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 ${docdir}
+ xinstall -m 644 ${worksrcpath}/conf/vhosts.conf.example ${docdir}/examples
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120427/093da4f8/attachment.html>
More information about the macports-changes
mailing list