2001-03-31 04:14:14 +02:00
|
|
|
# New ports collection makefile for: mod_proxy_add_forward
|
|
|
|
# Date created: 25 March 2001
|
|
|
|
# Whom: Anders Nordby <anders@fix.no>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= mod_proxy_add_forward
|
2003-04-02 00:45:49 +02:00
|
|
|
PORTVERSION= 20020710
|
2001-03-31 04:14:14 +02:00
|
|
|
CATEGORIES= www
|
|
|
|
MASTER_SITES= http://develooper.com/code/mpaf/ \
|
2002-03-15 01:31:54 +01:00
|
|
|
http://atreides.freenix.no/~anders/
|
2003-04-02 00:45:49 +02:00
|
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION}
|
2001-03-31 04:14:14 +02:00
|
|
|
EXTRACT_SUFX= .c
|
|
|
|
|
2002-04-22 03:38:22 +02:00
|
|
|
MAINTAINER= anders@FreeBSD.org
|
2003-03-07 07:14:21 +01:00
|
|
|
COMMENT= Apache module that adds a client IP header to outgoing proxy requests
|
2001-03-31 04:14:14 +02:00
|
|
|
|
2003-11-07 10:12:58 +01:00
|
|
|
USE_APACHE= yes
|
2001-03-31 04:14:14 +02:00
|
|
|
NO_WRKSUBDIR= YES
|
|
|
|
|
|
|
|
do-extract:
|
|
|
|
@${MKDIR} ${WRKDIR}
|
2003-04-02 00:45:49 +02:00
|
|
|
@${CP} -p ${DISTDIR}/${DISTFILES} ${WRKDIR}/${PORTNAME}.c
|
2001-03-31 04:14:14 +02:00
|
|
|
|
|
|
|
do-build:
|
|
|
|
cd ${WRKSRC} && ${APXS} -c ${PORTNAME}.c
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
cd ${WRKSRC} && ${APXS} -A -i ${PORTNAME}.so
|
|
|
|
@${ECHO} "================================================================================"
|
|
|
|
@${ECHO} "Enable mod_proxy_add_forward in Apache's config manually."
|
|
|
|
@${ECHO} "================================================================================"
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|