aboutsummaryrefslogtreecommitdiff
path: root/www/mod_proxy_html
diff options
context:
space:
mode:
authorPhilippe Audeoud <jadawin@FreeBSD.org>2008-03-31 14:51:23 +0000
committerPhilippe Audeoud <jadawin@FreeBSD.org>2008-03-31 14:51:23 +0000
commitcd49f82e33bcc42e63243f27c17c31b368eb6b6d (patch)
tree98a43f1790e5de0992c7aa5f6f6afadc6c2ee806 /www/mod_proxy_html
parent644464416586b8aca4a6ec7c0e005409b7ba900f (diff)
downloadports-cd49f82e33bcc42e63243f27c17c31b368eb6b6d.tar.gz
ports-cd49f82e33bcc42e63243f27c17c31b368eb6b6d.zip
Notes
Diffstat (limited to 'www/mod_proxy_html')
-rw-r--r--www/mod_proxy_html/Makefile16
-rw-r--r--www/mod_proxy_html/distinfo6
-rw-r--r--www/mod_proxy_html/files/pkg-message.in11
-rw-r--r--www/mod_proxy_html/pkg-plist2
4 files changed, 21 insertions, 14 deletions
diff --git a/www/mod_proxy_html/Makefile b/www/mod_proxy_html/Makefile
index 32f26763ea18..0a4868b28646 100644
--- a/www/mod_proxy_html/Makefile
+++ b/www/mod_proxy_html/Makefile
@@ -6,32 +6,28 @@
#
PORTNAME= mod_proxy_html
-PORTVERSION= 2.5.1
+PORTVERSION= 3.0.0
CATEGORIES= www
MASTER_SITES= http://apache.webthing.com/${PORTNAME}/
DISTNAME= ${PORTNAME}
-EXTRACT_SUFX= .c
+EXTRACT_SUFX= .tgz
MAINTAINER= dsl@bitwizards.com.au
COMMENT= Apache module for rewriting HTML links in proxied content
+SUB_FILES= pkg-message
USE_GNOME= libxml2
-USE_APACHE= yes
-WITH_APACHE2= yes
+USE_APACHE?=2.2
NO_WRKSUBDIR= yes
XML2_INC= ${LOCALBASE}/include/libxml2
XML2_LIB= ${LOCALBASE}/lib
-do-extract:
- @${MKDIR} ${WRKDIR}
- @${CP} -p ${DISTDIR}/${DISTFILES} ${WRKDIR}/${PORTNAME}.c
-
do-build:
- @(cd ${WRKSRC} && ${APXS} -c -I ${XML2_INC} -L ${XML2_LIB} -lxml2 ${PORTNAME}.c)
+ @(cd ${WRKDIR}/${PORTNAME} && ${APXS} -c -I ${XML2_INC} -L ${XML2_LIB} -lxml2 ${PORTNAME}.c)
do-install:
- @(cd ${WRKSRC} && ${APXS} -A -i ${PORTNAME}.la)
+ @(cd ${WRKDIR}/${PORTNAME} && ${APXS} -A -i ${PORTNAME}.la)
post-install:
@${CAT} ${PKGMESSAGE}
diff --git a/www/mod_proxy_html/distinfo b/www/mod_proxy_html/distinfo
index 5302907025fd..0d60ebbf4cbe 100644
--- a/www/mod_proxy_html/distinfo
+++ b/www/mod_proxy_html/distinfo
@@ -1,3 +1,3 @@
-MD5 (mod_proxy_html.c) = 21eac7b73e83f5ba695a06f2f2ae2e43
-SHA256 (mod_proxy_html.c) = c4812185c3d44c96dd4f5abc89fa3fec7eb8a0ae5e4cba2c6bf527a3e8473c42
-SIZE (mod_proxy_html.c) = 31789
+MD5 (mod_proxy_html.tgz) = 499a09839bcc212ea712193767477e0c
+SHA256 (mod_proxy_html.tgz) = c2c873627f51d513839eca809f70b2907f83a32903b29bd7c8fc765ff758f4a4
+SIZE (mod_proxy_html.tgz) = 20426
diff --git a/www/mod_proxy_html/files/pkg-message.in b/www/mod_proxy_html/files/pkg-message.in
new file mode 100644
index 000000000000..4e6dcfe8b3c5
--- /dev/null
+++ b/www/mod_proxy_html/files/pkg-message.in
@@ -0,0 +1,11 @@
+================================================================================
+
+Edit your Apache configuration file to enable mod_proxy_html.
+
+Documentation available:
+
+ Configuration guide: http://apache.webthing.com/mod_proxy_html/config.html
+
+ Reverse Proxy Tutorial: http://www.apacheweek.com/features/reverseproxies
+
+================================================================================
diff --git a/www/mod_proxy_html/pkg-plist b/www/mod_proxy_html/pkg-plist
index 16c68ff6f9d5..9799d9df5f1f 100644
--- a/www/mod_proxy_html/pkg-plist
+++ b/www/mod_proxy_html/pkg-plist
@@ -1,3 +1,3 @@
-libexec/apache2/mod_proxy_html.so
+libexec/apache22/mod_proxy_html.so
@exec %D/sbin/apxs -e -A -n proxy_html %D/%F
@unexec %D/sbin/apxs -e -A -n proxy_html %D/%F