From 78b1f80b8bba53455fee5e132d7604bfa3e4a807 Mon Sep 17 00:00:00 2001 From: jadawin Date: Mon, 7 Apr 2008 14:13:31 +0000 Subject: - Fix build - Update pkg-descr - Bump PORTREVISION Pointyhat to: jadawin Approved by: David Lay (maintainer), tabthorpe (mentor) --- www/mod_proxy_html/Makefile | 18 ++++++++---------- www/mod_proxy_html/pkg-descr | 2 +- www/mod_proxy_html/pkg-plist | 3 --- 3 files changed, 9 insertions(+), 14 deletions(-) delete mode 100644 www/mod_proxy_html/pkg-plist (limited to 'www') 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 +- David Lay 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 -- cgit