1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00

- USE_APACHE=yes is deprecated

- Convert to AP_FAST_BUILD/AP_GENPLIST

PR:             ports/133685
Approved by:    maintainer timeout (30 days)
Submitted by:   me
This commit is contained in:
Philip M. Gollucci 2009-05-08 15:55:41 +00:00
parent 848f0dae36
commit 734d765cfe
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=233430
2 changed files with 7 additions and 11 deletions

View File

@ -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} "================================================================================"

View File

@ -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