aboutsummaryrefslogtreecommitdiff
path: root/www/mod_extract_forwarded
diff options
context:
space:
mode:
authorPhilip M. Gollucci <pgollucci@FreeBSD.org>2009-05-08 15:47:15 +0000
committerPhilip M. Gollucci <pgollucci@FreeBSD.org>2009-05-08 15:47:15 +0000
commit6cfe00ccd045d96af47690aedfd704799316cba3 (patch)
treea0226821ea221b696567c77a55ed3a16c0094bdb /www/mod_extract_forwarded
parentffe8054cc0f1ffe934da7f43fd966c15671f026b (diff)
Notes
Diffstat (limited to 'www/mod_extract_forwarded')
-rw-r--r--www/mod_extract_forwarded/Makefile20
-rw-r--r--www/mod_extract_forwarded/pkg-plist6
2 files changed, 10 insertions, 16 deletions
diff --git a/www/mod_extract_forwarded/Makefile b/www/mod_extract_forwarded/Makefile
index f5c06506c7a0..8951f2336da1 100644
--- a/www/mod_extract_forwarded/Makefile
+++ b/www/mod_extract_forwarded/Makefile
@@ -8,25 +8,25 @@
PORTNAME= mod_extract_forwarded
PORTVERSION= 1.4
CATEGORIES= www
-MASTER_SITES= http://web.warhound.org/mod_extract_forwarded/ \
+MASTER_SITES= http://web.warhound.org/${PORTNAME}/ \
http://atreides.freenix.no/~anders/
MAINTAINER= anders@FreeBSD.org
COMMENT= An Apache module that can make proxied requests appear with client IP
-USE_APACHE= yes
+USE_APACHE= 1.3
+AP_FAST_BUILD= yes
+AP_GENPLIST= yes
+
WRKSRC= ${WRKDIR}/${PORTNAME}
-DOCS= doc.html README
-do-build:
- cd ${WRKSRC} && ${APXS} -c ${PORTNAME}.c
+PORTDOCS= doc.html README
-do-install:
- cd ${WRKSRC} && ${APXS} -A -i ${PORTNAME}.so
+post-install:
.if !defined(NOPORTDOCS)
- ${INSTALL} -d -o root -g wheel -m 0755 ${PREFIX}/share/doc/${PORTNAME}
-.for f in ${DOCS}
- ${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/share/doc/${PORTNAME}
+ ${MKDIR} ${DOCSDIR}/
+.for f in ${PORTDOCS}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}/
.endfor
.endif
${CAT} ${PKGMESSAGE}
diff --git a/www/mod_extract_forwarded/pkg-plist b/www/mod_extract_forwarded/pkg-plist
deleted file mode 100644
index 012a5a22a315..000000000000
--- a/www/mod_extract_forwarded/pkg-plist
+++ /dev/null
@@ -1,6 +0,0 @@
-libexec/apache/mod_extract_forwarded.so
-@exec %D/sbin/apxs -e -A -n extract_forwarded %D/%F
-@unexec %D/sbin/apxs -e -A -n extract_forwarded %D/%F
-%%PORTDOCS%%share/doc/mod_extract_forwarded/doc.html
-%%PORTDOCS%%share/doc/mod_extract_forwarded/README
-%%PORTDOCS%%@dirrm share/doc/mod_extract_forwarded