summaryrefslogtreecommitdiff
path: root/www/ap-rpaf/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'www/ap-rpaf/Makefile')
-rw-r--r--www/ap-rpaf/Makefile31
1 files changed, 31 insertions, 0 deletions
diff --git a/www/ap-rpaf/Makefile b/www/ap-rpaf/Makefile
new file mode 100644
index 00000000000..d398fdee7b0
--- /dev/null
+++ b/www/ap-rpaf/Makefile
@@ -0,0 +1,31 @@
+# $NetBSD: Makefile,v 1.1 2006/03/06 19:31:03 tv Exp $
+#
+
+DISTNAME= mod_rpaf-0.5
+PKGNAME= ${DISTNAME:S/mod_/ap-/}
+CATEGORIES= www
+MASTER_SITES= http://stderr.net/apache/rpaf/download/
+
+MAINTAINER= tv@duh.org
+HOMEPAGE= http://stderr.net/apache/rpaf/
+COMMENT= Remaps reverse-proxied connections to "real" requesting IPs
+
+APACHE_MODULE= # defined
+INSTALLATION_DIRS= share/doc
+
+do-build:
+ cd ${WRKSRC} && ${APXS} -c mod_rpaf.c
+
+do-install:
+ cd ${WRKSRC} && ${APXS} -n rpaf_module -i mod_rpaf.la
+ ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/mod_rpaf.txt
+
+.include "../../mk/apache.mk"
+
+.if ${PKG_APACHE} != "apache13"
+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"