blob: 59ca5035cafdd675e21228d3a0b9e4e74988d15d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
# $NetBSD: Makefile,v 1.2 2005/06/17 03:50:40 jlam 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
INSTALLATION_DIRS= share/doc
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"
|