summaryrefslogtreecommitdiff
path: root/www/ap2-chroot/Makefile
blob: 675e792a5ce3e7aee275cf207de500ef7e95f309 (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
26
27
# $NetBSD: Makefile,v 1.6 2006/12/15 14:34:21 wiz 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=	pkgsrc-users@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

PKG_APACHE_ACCEPTED=	apache2 apache22

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 "../../mk/apache.mk"
.include "../../mk/bsd.pkg.mk"