summaryrefslogtreecommitdiff
path: root/www/mod_access_referer/Makefile
blob: 4def9ccd7890121599f3e4f533f0c5f1c1d1f6f9 (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
# 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
CATEGORIES=	www
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	accessreferer

MAINTAINER=	ports@freebsd.org

BUILD_DEPENDS=	${APXS}:${APACHE_PORT}
RUN_DEPENDS=	${APXS}:${APACHE_PORT}

APXS?=		${LOCALBASE}/sbin/apxs
APACHE_PORT?=	${PORTSDIR}/www/apache13

DOCS=		HACKING LICENSE.txt ChangeLog README TODO mod_access_referer.html

do-build:
	@cd ${WRKSRC} && \
	${APXS} -c mod_access_referer.c

do-install:
	${APXS} -i -A -n access_referer ${WRKSRC}/mod_access_referer.so
.if !defined(NOPORTDOCS)
	${MKDIR} ${PREFIX}/share/doc/mod_access_referer
.for f in ${DOCS}
	${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/share/doc/mod_access_referer/
.endfor
.endif
	${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>