blob: 5f1fbd8cacf80a241a2ccce2a4fe6125ee69152e (
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
|
# $NetBSD: Makefile,v 1.3 2006/03/22 22:50:33 tv Exp $
#
DISTNAME= mod_rpaf-0.5
PKGNAME= ${DISTNAME:S/mod_/ap-/}
CATEGORIES= www
MASTER_SITES= http://stderr.net/apache/rpaf/download/
MAINTAINER= tv@NetBSD.org
HOMEPAGE= http://stderr.net/apache/rpaf/
COMMENT= Remaps reverse-proxied connections to "real" requesting IPs
APACHE_MODULE= # defined
INSTALLATION_DIRS= share/doc
.include "../../mk/apache.mk"
do-build:
cd ${WRKSRC} && ${APXS} -c mod_rpaf.c
do-install:
cd ${WRKSRC} && ${APXS} -n rpaf_module -i mod_rpaf.${APXS_SUFFIX}
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/mod_rpaf.txt
APXS_SUFFIX?= so
.if ${PKG_APACHE} != "apache13"
APXS_SUFFIX= la
do-configure:
${RM} -f ${WRKSRC}/mod_rpaf.c
${CP} -f ${WRKSRC}/mod_rpaf-2.0.c ${WRKSRC}/mod_rpaf.c
.endif
.include "../../mk/bsd.pkg.mk"
|