diff options
author | tv <tv@pkgsrc.org> | 2005-05-10 17:00:39 +0000 |
---|---|---|
committer | tv <tv@pkgsrc.org> | 2005-05-10 17:00:39 +0000 |
commit | 109c10926fa2d8b32f30a908a72c36d60889bfdd (patch) | |
tree | 6b330a7f8ded972f96e4d421e8793181afdd5cec /www/ap2-bw/Makefile | |
parent | 0b9506257721a5be85d846e8a615d7663e0ebfbe (diff) | |
download | pkgsrc-109c10926fa2d8b32f30a908a72c36d60889bfdd.tar.gz |
Add ap2-bw-0.6. DESCR:
bw_mod is an Apache 2 module to limit bandwidth consumed by browsers,
based in concept on the widely used Apache 1 "mod_bandwidth".
Diffstat (limited to 'www/ap2-bw/Makefile')
-rw-r--r-- | www/ap2-bw/Makefile | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/www/ap2-bw/Makefile b/www/ap2-bw/Makefile new file mode 100644 index 00000000000..0b86c786680 --- /dev/null +++ b/www/ap2-bw/Makefile @@ -0,0 +1,25 @@ +# $NetBSD: Makefile,v 1.1.1.1 2005/05/10 17:00:39 tv Exp $ +# + +DISTNAME= bw_mod-0.6 +PKGNAME= ${DISTNAME:S/bw_mod/ap2-bw/} +CATEGORIES= www +MASTER_SITES= http://ivn.cl/apache/ +EXTRACT_SUFX= .tgz + +MAINTAINER= tv@duh.org +HOMEPAGE= http://ivn.cl/apache/ +COMMENT= Class-based bandwidth limiting module for Apache 2 + +APACHE_MODULE= # defined + +do-build: + @${ECHO} '#include "${DISTNAME}.c"' >${WRKSRC}/mod_bw.c + cd ${WRKSRC} && ${APXS} -c mod_bw.c + +do-install: + cd ${WRKSRC} && ${APXS} -n bw_module -i mod_bw.la + ${INSTALL_DATA} ${WRKSRC}/${DISTNAME}.txt ${PREFIX}/share/doc/apache_mod_bw.txt + +.include "../../www/apache2/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" |