freebsd-ports/www/mod_extract_forwarded_ap13/Makefile
James E. Housley bf4b2173ef New port of mod_extract_forwarded, an Apache module that can make proxied
requests appear with client IP.

PR:		27998
Submitted by:	Anders Nordby <anders@fix.no>
2001-06-19 01:59:10 +00:00

38 lines
914 B
Makefile

# New ports collection makefile for: mod_extract_forwarded
# Date created: 9 June 2001
# Whom: Anders Nordby <anders@fix.no>
#
# $FreeBSD$
#
PORTNAME= mod_extract_forwarded
PORTVERSION= 1.2
CATEGORIES= www
MASTER_SITES= http://web.systhug.com/mod_extract_forwarded/ \
http://www.freenix.no/~anders/
MAINTAINER= anders@fix.no
BUILD_DEPENDS= ${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/apache13
RUN_DEPENDS= ${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/apache13
WRKSRC= ${WRKDIR}/${PORTNAME}
APXS?= ${LOCALBASE}/sbin/apxs
DOCS= mod_extract_forwarded.html README
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>