mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-01 01:17:02 +00:00
f4d7c801f8
Submitted by: dinoex
36 lines
989 B
Makefile
36 lines
989 B
Makefile
# 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
|
|
PORTVERSION= 20020710
|
|
CATEGORIES= www
|
|
MASTER_SITES= http://develooper.com/code/mpaf/ \
|
|
http://atreides.freenix.no/~anders/
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION}
|
|
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
|
|
|
|
do-extract:
|
|
@${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
|
|
@${ECHO} "================================================================================"
|
|
@${ECHO} "Enable mod_proxy_add_forward in Apache's config manually."
|
|
@${ECHO} "================================================================================"
|
|
|
|
.include <bsd.port.mk>
|