blob: d6df0077c91c2e876c5757130f3723cb3ce21309 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
# 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
BUILD_DEPENDS= ${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/apache13
RUN_DEPENDS= ${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/apache13
NO_WRKSUBDIR= YES
APXS?= ${LOCALBASE}/sbin/apxs
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>
|