blob: fbca8a39eeeab5470b1705b7476fd3f3817c539a (
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
40
41
|
# $NetBSD: Makefile,v 1.4 2010/07/02 17:07:31 joerg 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
PKG_DESTDIR_SUPPORT= user-destdir
APACHE_MODULE_NAME= mod_cband
DOC_DIR= ${PREFIX}/share/doc/${APACHE_MODULE_NAME}
APACHE_MODULE= yes
PKG_APACHE_ACCEPTED= apache2 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"
|