diff options
author | pgollucci <pgollucci@FreeBSD.org> | 2009-05-08 23:55:41 +0800 |
---|---|---|
committer | pgollucci <pgollucci@FreeBSD.org> | 2009-05-08 23:55:41 +0800 |
commit | a422bf697b625a25bd6560fcf4241f8c97699eb1 (patch) | |
tree | ceda150a6e9c46f89aa22a8ba347e18b3ebbad77 | |
parent | aea794f82229d8ab6db87d775827aad7fdbefc8a (diff) | |
download | freebsd-ports-gnome-a422bf697b625a25bd6560fcf4241f8c97699eb1.tar.gz freebsd-ports-gnome-a422bf697b625a25bd6560fcf4241f8c97699eb1.tar.zst freebsd-ports-gnome-a422bf697b625a25bd6560fcf4241f8c97699eb1.zip |
- USE_APACHE=yes is deprecated
- Convert to AP_FAST_BUILD/AP_GENPLIST
PR: ports/133685
Approved by: maintainer timeout (30 days)
Submitted by: me
-rw-r--r-- | www/mod_proxy_add_forward/Makefile | 15 | ||||
-rw-r--r-- | www/mod_proxy_add_forward/pkg-plist | 3 |
2 files changed, 7 insertions, 11 deletions
diff --git a/www/mod_proxy_add_forward/Makefile b/www/mod_proxy_add_forward/Makefile index 1024cd18c7aa..305201a01995 100644 --- a/www/mod_proxy_add_forward/Makefile +++ b/www/mod_proxy_add_forward/Makefile @@ -16,18 +16,17 @@ EXTRACT_SUFX= .c MAINTAINER= anders@FreeBSD.org COMMENT= Apache module that adds a client IP header to outgoing proxy requests -USE_APACHE= yes -NO_WRKSUBDIR= YES +USE_APACHE= 1.3 +AP_FAST_BUILD= yes +AP_GENPLIST= yes + +NO_WRKSUBDIR= yes do-extract: - @${MKDIR} ${WRKDIR} + @${MKDIR} ${WRKDIR}/ @${CP} -p ${DISTDIR}/${DISTFILES} ${WRKDIR}/${PORTNAME}.c -do-build: - cd ${WRKSRC} && ${APXS} -c ${PORTNAME}.c - -do-install: - cd ${WRKSRC} && ${APXS} -A -i ${PORTNAME}.so +post-install: @${ECHO} "================================================================================" @${ECHO} "Enable mod_proxy_add_forward in Apache's config manually." @${ECHO} "================================================================================" diff --git a/www/mod_proxy_add_forward/pkg-plist b/www/mod_proxy_add_forward/pkg-plist deleted file mode 100644 index 1b80a71b50b9..000000000000 --- a/www/mod_proxy_add_forward/pkg-plist +++ /dev/null @@ -1,3 +0,0 @@ -libexec/apache/mod_proxy_add_forward.so -@exec %D/sbin/apxs -e -A -n proxy_add_forward %D/%F -@unexec %D/sbin/apxs -e -A -n proxy_add_forward %D/%F |