aboutsummaryrefslogtreecommitdiff
path: root/www/mod_jail/Makefile
blob: 17e4e042eaf887e46992f5769f763ae47e437ece (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
# New ports collection makefile for:		mod_jail
# Date created:				Oct 7 2005
# Whom:					Frank Laszlo <laszlof@vonostingroup.com>
#
# $FreeBSD$
#

PORTNAME=	mod_jail
PORTVERSION=	0.4
PORTREVISION=	2
CATEGORIES=	www
MASTER_SITES=	http://igorpopov.newmail.ru/

MAINTAINER=	apache@FreeBSD.org
COMMENT=	Apache 1.3.x/2.0.xx module to enable an easy alternative to mod_chroot

MAKE_JOBS_SAFE=  yes

WRKSRC=		${WRKDIR}/mod_jail
USE_APACHE=	1.3+
AP_FAST_BUILD=	YES
AP_GENPLIST=	YES

PORTDOCS=	changelog.html documentation.html download.html \
		index.html

.include <bsd.port.pre.mk>

post-extract:
	@${REINPLACE_CMD} -e "s|= apxs|= ${APXS}|" ${WRKSRC}/Makefile

post-install:
.if !defined(NOPORTDOCS)
	@${MKDIR} ${DOCSDIR}
	@cd ${WRKSRC}/doc && \
		${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
.endif

.include <bsd.port.post.mk>