summaryrefslogtreecommitdiff
path: root/www/ap2-chroot/Makefile
blob: 3483af4df4e30c7195c69232f91a9f45e718e2c8 (plain)
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
# $NetBSD: Makefile,v 1.4 2006/02/05 23:11:18 joerg Exp $

DISTNAME=	mod_chroot-0.3
PKGNAME=	ap2-chroot-0.3
PKGREVISION=	2
CATEGORIES=	www security
MASTER_SITES=	http://core.segfault.pl/~hobbit/mod_chroot/dist/

MAINTAINER=	ben@NetBSD.org
HOMEPAGE=	http://core.segfault.pl/~hobbit/mod_chroot/
COMMENT=	Module to easily run Apache in a chroot environment

APACHE_MODULE=		# defined
NO_CONFIGURE=		yes

do-build:
	cd ${WRKSRC} && ${APXS} -c mod_chroot.c

do-install:
	cd ${WRKSRC} && ${APXS} -i mod_chroot.la
	${INSTALL_DATA_DIR} ${PREFIX}/share/doc/mod_chroot
	cd ${WRKSRC} && ${INSTALL_DATA} [A-Z]* ${PREFIX}/share/doc/mod_chroot/

.include "../../www/apache2/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"