blob: 767bfd55711178a80b9ca4ed880faad78592cac8 (
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.9 2012/10/28 06:30:05 asau Exp $
#
DISTNAME= mod_rpaf-0.5
PKGNAME= ${APACHE_PKG_PREFIX}-rpaf-0.5
CATEGORIES= www
MASTER_SITES= http://stderr.net/apache/rpaf/download/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://stderr.net/apache/rpaf/
COMMENT= Remaps reverse-proxied connections to "real" requesting IPs
CONFLICTS= ap-rpaf-[0-9]*
APACHE_MODULE= yes
INSTALLATION_DIRS= share/doc
# does not compile with apache24
PKG_APACHE_ACCEPTED= apache13 apache2 apache22
.include "../../mk/apache.mk"
APACHE_MODULE_NAME= mod_rpaf.${MODULE_EXT}
APACHE_MODULE_SRC= mod_rpaf.c
INSTALLATION_DIRS+= share/doc/mod_rpaf
post-install:
${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/mod_rpaf.txt
.if ${PKG_APACHE} == "apache13"
MODULE_EXT= so
.else
MODULE_EXT= la
do-configure:
${RM} -f ${WRKSRC}/mod_rpaf.c
${CP} -f ${WRKSRC}/mod_rpaf-2.0.c ${WRKSRC}/mod_rpaf.c
.endif
.include "../../www/apache/module.mk"
.include "../../mk/bsd.pkg.mk"
|