601583c320
Patch provided by Sergey Svishchev in private mail.
26 lines
691 B
Makefile
26 lines
691 B
Makefile
# $NetBSD: Makefile,v 1.15 2007/02/22 19:27:18 wiz Exp $
|
|
|
|
DISTNAME= mod_throttle312
|
|
PKGNAME= ap13-throttle-3.1.2
|
|
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
|
|
|
|
CONFLICTS= ap-throttle-[0-9]*
|
|
|
|
WRKSRC= ${WRKDIR}/${PKGNAME_NOREV:S/ap13-/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"
|