summaryrefslogtreecommitdiff
path: root/www/ap-throttle/Makefile
blob: 7a150a84bfd2ddffbaa11ac55b37c2b51dcb0350 (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.7 2003/06/10 20:37:56 wiz Exp $

DISTNAME=	mod_throttle312
PKGNAME=	ap-throttle-3.1.2
PKGREVISION=	1
WRKSRC=         ${WRKDIR}/${PKGNAME_NOREV:S/ap-/mod_/}
CATEGORIES=	www
MASTER_SITES=	http://www.snert.com/Software/mod_throttle/
EXTRACT_SUFX=	.tgz

MAINTAINER=	eric@cirr.com
HOMEPAGE=	${MASTER_SITES}
COMMENT=	Apache module for limiting bandwidth usage

USE_BUILDLINK2=	YES

APACHE_MODULE_NAME=	mod_throttle.so
APACHE_MODULE_SRC=	mod_throttle.c

post-install:
	${INSTALL_DATA_DIR} ${PREFIX}/share/doc/mod_throttle
	${INSTALL_DATA} ${WRKSRC}/index.shtml \
			${PREFIX}/share/doc/mod_throttle/index.html

.include "../../www/apache/module.mk"
.include "../../mk/bsd.pkg.mk"