summaryrefslogtreecommitdiffstats
path: root/www/mod_extract_forwarded2/Makefile
blob: b1341cd7cc16cb8a38d81de7bd21aab521df9479 (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
# New ports collection makefile for:	mod_extract_forwarded2
# Date created:				Sun Nov  9
# Whom:					Clement Laforet <sheepkiller@cultdeadsheep.org>
#
# $FreeBSD$
#

PORTNAME=	mod_extract_forwarded2
PORTVERSION=	0.1
CATEGORIES=	www
MASTER_SITES=	http://www.cotds.org/${PORTNAME}/
DIST_SUBDIR=	apache2

MAINTAINER=	clement@FreeBSD.org
COMMENT=	An Apache module that can make proxied requests appear with client IP

USE_APACHE=	yes
WITH_APACHE2=	yes
PORTDOCS=	doc.html README

do-build:
	cd ${WRKSRC} && ${APXS} -c ${PORTNAME}.c

do-install:
	cd ${WRKSRC} && ${APXS} -A -i -n extract_forwarded ${PORTNAME}.la
.if !defined(NOPORTDOCS)
	${MKDIR} ${DOCSDIR}
.for f in ${PORTDOCS}
	${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
.endfor
.endif
	${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>
OpenPOWER on IntegriCloud