2001-06-19 03:59:10 +02:00
|
|
|
# New ports collection makefile for: mod_extract_forwarded
|
|
|
|
# Date created: 9 June 2001
|
|
|
|
# Whom: Anders Nordby <anders@fix.no>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= mod_extract_forwarded
|
2003-04-10 00:07:25 +02:00
|
|
|
PORTVERSION= 1.4
|
2001-06-19 03:59:10 +02:00
|
|
|
CATEGORIES= www
|
2003-04-09 00:34:25 +02:00
|
|
|
MASTER_SITES= http://web.warhound.org/mod_extract_forwarded/ \
|
2002-03-15 01:31:54 +01:00
|
|
|
http://atreides.freenix.no/~anders/
|
2001-06-19 03:59:10 +02:00
|
|
|
|
2002-04-22 03:38:22 +02:00
|
|
|
MAINTAINER= anders@FreeBSD.org
|
2003-03-07 07:14:21 +01:00
|
|
|
COMMENT= An Apache module that can make proxied requests appear with client IP
|
2001-06-19 03:59:10 +02:00
|
|
|
|
2003-11-07 10:12:58 +01:00
|
|
|
USE_APACHE= yes
|
2001-06-19 03:59:10 +02:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
2003-04-10 00:07:25 +02:00
|
|
|
DOCS= doc.html README
|
2001-06-19 03:59:10 +02:00
|
|
|
|
|
|
|
do-build:
|
|
|
|
cd ${WRKSRC} && ${APXS} -c ${PORTNAME}.c
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
cd ${WRKSRC} && ${APXS} -A -i ${PORTNAME}.so
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
${INSTALL} -d -o root -g wheel -m 0755 ${PREFIX}/share/doc/${PORTNAME}
|
|
|
|
.for f in ${DOCS}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/share/doc/${PORTNAME}
|
|
|
|
.endfor
|
|
|
|
.endif
|
|
|
|
${CAT} ${PKGMESSAGE}
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|