blob: 73e29b1671406d2ca9a889c61062df40f6dabf9f (
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
28
29
30
31
32
33
34
35
36
37
38
39
|
# $NetBSD: Makefile,v 1.7 2017/08/01 17:40:17 wiz Exp $
#
DISTNAME= mod-cband-0.9.7.5
PKGNAME= ${APACHE_PKG_PREFIX}-cband-${DISTNAME:S/mod-cband-//}
CATEGORIES= www
MASTER_SITES= http://cband.linux.pl/download/
EXTRACT_SUFX= .tgz
MAINTAINER= pkgsrc-users@NetBSD.org
#HOMEPAGE= http://codee.pl/cband.html
COMMENT= Bandwidth and connection limiting module for Apache 2
LICENSE= gnu-gpl-v2
APACHE_MODULE_NAME= mod_cband
DOC_DIR= ${PREFIX}/share/doc/${APACHE_MODULE_NAME}
APACHE_MODULE= yes
PKG_APACHE_ACCEPTED= apache22
USE_LIBTOOL= yes
HAS_CONFIGURE= yes
BUILD_TARGET=
INSTALLATION_DIRS+= lib/httpd share/doc/${APACHE_MODULE_NAME}
CONFIGURE_ENV+= APXS=${APXS}
do-install:
cd ${WRKSRC}/src && \
libexecdir=`${APXS} -q LIBEXECDIR` && \
${APXS} -i -S LIBEXECDIR=${DESTDIR}"$${libexecdir}" \
-n ${APACHE_MODULE_NAME} -i ${APACHE_MODULE_NAME}.la
${INSTALL_DATA} ${WRKSRC}/doc/documentation.txt \
${DESTDIR}${DOC_DIR}/documentation.txt
${INSTALL_DATA} ${WRKSRC}/doc/faq.txt ${DESTDIR}${DOC_DIR}/faq.txt
.include "../../mk/apache.mk"
.include "../../mk/bsd.pkg.mk"
|