aboutsummaryrefslogtreecommitdiff
path: root/www/mod_rpaf
diff options
context:
space:
mode:
authorClement Laforet <clement@FreeBSD.org>2004-04-16 13:52:18 +0000
committerClement Laforet <clement@FreeBSD.org>2004-04-16 13:52:18 +0000
commit9659b8cfc964162df12dd1f049f469ea3a1de1fb (patch)
treee754b4e4f647dc4284265616a95be5c2b4dd64cd /www/mod_rpaf
parent024cdc752e2e0380df8da470625deca544b8199c (diff)
downloadports-9659b8cfc964162df12dd1f049f469ea3a1de1fb.tar.gz
ports-9659b8cfc964162df12dd1f049f469ea3a1de1fb.zip
Notes
Diffstat (limited to 'www/mod_rpaf')
-rw-r--r--www/mod_rpaf/Makefile27
-rw-r--r--www/mod_rpaf/pkg-plist3
2 files changed, 8 insertions, 22 deletions
diff --git a/www/mod_rpaf/Makefile b/www/mod_rpaf/Makefile
index 1dbccb5759c0..2ac4fb80824e 100644
--- a/www/mod_rpaf/Makefile
+++ b/www/mod_rpaf/Makefile
@@ -13,23 +13,12 @@ MASTER_SITES= http://stderr.net/apache/rpaf/download/
MAINTAINER= clement@FreeBSD.org
COMMENT= Make proxied requests appear with client IP
-USE_APACHE= yes
+AP_FAST_BUILD= YES
+AP_FAST_BUILD= YES
+AP_GENPLIST= YES
+AP2_SRC_FILE= mod_rpaf-2.0.c
+AP2_PKGNAMESUFFIX= -ap2
-.if defined(WITH_APACHE2)
-PLIST_SUB+= APACHE=apache2
-AP_EXT= la
-SRC_FILE= mod_rpaf-2.0.c
-PKGNAMESUFFIX= -ap2
-.else
-PLIST_SUB+= APACHE=apache
-AP_EXT= so
-SRC_FILE= mod_rpaf.c
-.endif
-
-do-build:
- @cd ${WRKSRC} && ${APXS} -c -o ${PORTNAME}.${AP_EXT} ${SRC_FILE}
-
-do-install:
- ${APXS} -i -a -n ${PORTNAME:S/mod_//} ${WRKSRC}/${PORTNAME}.${AP_EXT}
-
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+.include "${PORTSDIR}/www/apache2/Makefile.modules.3rd"
+.include <bsd.port.post.mk>
diff --git a/www/mod_rpaf/pkg-plist b/www/mod_rpaf/pkg-plist
deleted file mode 100644
index de91bc63a465..000000000000
--- a/www/mod_rpaf/pkg-plist
+++ /dev/null
@@ -1,3 +0,0 @@
-libexec/%%APACHE%%/mod_rpaf.so
-@exec %D/sbin/apxs -e -a -n rpaf %D/%F
-@unexec %D/sbin/apxs -e -A -n rpaf %D/%F