aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjadawin <jadawin@FreeBSD.org>2008-04-07 22:13:31 +0800
committerjadawin <jadawin@FreeBSD.org>2008-04-07 22:13:31 +0800
commit78b1f80b8bba53455fee5e132d7604bfa3e4a807 (patch)
treec0b46e22fee8ae92dd301193e358f8653365ea5c
parent4991db9949fe33d5e106a263e61d3408f543a3f5 (diff)
downloadfreebsd-ports-gnome-78b1f80b8bba53455fee5e132d7604bfa3e4a807.tar.gz
freebsd-ports-gnome-78b1f80b8bba53455fee5e132d7604bfa3e4a807.tar.zst
freebsd-ports-gnome-78b1f80b8bba53455fee5e132d7604bfa3e4a807.zip
- Fix build
- Update pkg-descr - Bump PORTREVISION Pointyhat to: jadawin Approved by: David Lay (maintainer), tabthorpe (mentor)
-rw-r--r--www/mod_proxy_html/Makefile18
-rw-r--r--www/mod_proxy_html/pkg-descr2
-rw-r--r--www/mod_proxy_html/pkg-plist3
3 files changed, 9 insertions, 14 deletions
diff --git a/www/mod_proxy_html/Makefile b/www/mod_proxy_html/Makefile
index 0a4868b28646..eef8a6b2acf3 100644
--- a/www/mod_proxy_html/Makefile
+++ b/www/mod_proxy_html/Makefile
@@ -7,6 +7,7 @@
PORTNAME= mod_proxy_html
PORTVERSION= 3.0.0
+PORTREVISION= 1
CATEGORIES= www
MASTER_SITES= http://apache.webthing.com/${PORTNAME}/
DISTNAME= ${PORTNAME}
@@ -16,18 +17,15 @@ MAINTAINER= dsl@bitwizards.com.au
COMMENT= Apache module for rewriting HTML links in proxied content
SUB_FILES= pkg-message
+USE_APACHE= 2.0+
+AP_FAST_BUILD= YES
+AP_GENPLIST= YES
+SHORTMODNAME= proxy_html
USE_GNOME= libxml2
-USE_APACHE?=2.2
-NO_WRKSUBDIR= yes
-XML2_INC= ${LOCALBASE}/include/libxml2
-XML2_LIB= ${LOCALBASE}/lib
-
-do-build:
- @(cd ${WRKDIR}/${PORTNAME} && ${APXS} -c -I ${XML2_INC} -L ${XML2_LIB} -lxml2 ${PORTNAME}.c)
-
-do-install:
- @(cd ${WRKDIR}/${PORTNAME} && ${APXS} -A -i ${PORTNAME}.la)
+AP_INC+= ${LOCALBASE}/include/libxml2
+AP_LIB+= ${LOCALBASE}/lib
+AP_EXTRAS+= -lxml2
post-install:
@${CAT} ${PKGMESSAGE}
diff --git a/www/mod_proxy_html/pkg-descr b/www/mod_proxy_html/pkg-descr
index e01cb254052e..c424a6e24744 100644
--- a/www/mod_proxy_html/pkg-descr
+++ b/www/mod_proxy_html/pkg-descr
@@ -5,4 +5,4 @@ HTTP headers, and is an essential component of a reverse proxy.
WWW: http://apache.webthing.com/mod_proxy_html/
-- David Lay <dsl@webize.com.au>
+- David Lay <dsl@bitwizards.com.au>
diff --git a/www/mod_proxy_html/pkg-plist b/www/mod_proxy_html/pkg-plist
deleted file mode 100644
index 9799d9df5f1f..000000000000
--- a/www/mod_proxy_html/pkg-plist
+++ /dev/null
@@ -1,3 +0,0 @@
-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