summaryrefslogtreecommitdiff
path: root/www/mod_jail/Makefile
blob: 21e97923646f54916b34999a24be25dcb044ddbe (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
# Created by: Frank Laszlo <laszlof@vonostingroup.com>
# $FreeBSD$

PORTNAME=	mod_jail
PORTVERSION=	0.5.2
CATEGORIES=	www
MASTER_SITES=	http://mod-jail.googlecode.com/files/

MAINTAINER=	apache@FreeBSD.org
COMMENT=	Apache module to enable an easy alternative to mod_chroot

MAKE_JOBS_SAFE=	yes

USE_APACHE=	22+
AP_FAST_BUILD=	yes
AP_GENPLIST=	yes

NOPORTDOCS=	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>