27 lines
694 B
Makefile
27 lines
694 B
Makefile
# $NetBSD: Makefile,v 1.17 2012/10/28 06:30:05 asau 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
|
|
|
|
INSTALLATION_DIRS+= share/doc/mod_throttle
|
|
|
|
post-install:
|
|
${INSTALL_DATA} ${WRKSRC}/index.shtml \
|
|
${DESTDIR}${PREFIX}/share/doc/mod_throttle/index.html
|
|
|
|
.include "../../www/apache/module.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|