summaryrefslogtreecommitdiff
path: root/www/ap-throttle/Makefile
blob: eedcf174eef2002fe89baa63d80b1b5e1535602b (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
# $NetBSD: Makefile,v 1.10 2005/04/11 21:47:51 tv Exp $

DISTNAME=	mod_throttle312
PKGNAME=	ap-throttle-3.1.2
PKGREVISION=	1
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

WRKSRC=         ${WRKDIR}/${PKGNAME_NOREV:S/ap-/mod_/}

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"