aboutsummaryrefslogtreecommitdiff
path: root/www/mod_proxy_html/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'www/mod_proxy_html/Makefile')
-rw-r--r--www/mod_proxy_html/Makefile18
1 files changed, 8 insertions, 10 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}