blob: f8277d3c32d80ad1411345133003172500141de1 (
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
27
|
# $NetBSD: Makefile,v 1.5 2006/03/22 22:50:33 tv Exp $
#
DISTNAME= bw_mod-0.6
PKGNAME= ${DISTNAME:S/bw_mod/ap2-bw/}
PKGREVISION= 2
CATEGORIES= www
MASTER_SITES= http://ivn.cl/apache/
EXTRACT_SUFX= .tgz
MAINTAINER= tv@NetBSD.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"
|