summaryrefslogtreecommitdiff
path: root/www/mod_access_referer/Makefile
blob: 22f31a8d6471efe42cb7d76934eb37b2ac4b3043 (plain) (blame)
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
40
41
# New ports collection makefile for:	mod_access_referer
# Date created:			18 Oct 2000
# Whom:				Alex Kapranoff <kapr@crosswinds.net>
#
# $FreeBSD$
#

PORTNAME=	mod_access_referer
PORTVERSION=	1.0.2
PORTREVISION=	1
CATEGORIES=	www
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	accessreferer
DIST_SUBDIR=	apache

PATCH_SITES=    ${MASTER_SITE_SOURCEFORGE}
PATCH_SITE_SUBDIR=	accessreferer
PATCHFILES=	mod_access_referer_1.0.2_third_part_patch.txt
PATCH_DIST_STRIP=	-l

MAINTAINER=	apache@FreeBSD.org
COMMENT=	Provides access control based on Referer HTTP header for Apache

WANT_APACHE=	13
AP_FAST_BUILD=	YES
AP_GENPLIST=	YES
PORTDOCS=		HACKING LICENSE.txt ChangeLog README TODO mod_access_referer.html

.include <bsd.port.pre.mk>
.include "${PORTSDIR}/www/apache2/Makefile.modules.3rd"

post-install:
.if !defined(NOPORTDOCS)
	${MKDIR} ${DOCSDIR}
.for f in ${PORTDOCS}
	${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
.endfor
.endif
	${CAT} ${PKGMESSAGE}

.include <bsd.port.post.mk>