aboutsummaryrefslogtreecommitdiffstats
path: root/www/mod_jail/Makefile
blob: 1ac645a3144803cbb2a8c6ec422dfca4ffcb2eaa (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
# 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


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>