diff options
Diffstat (limited to 'www/ap2-chroot/Makefile')
-rw-r--r-- | www/ap2-chroot/Makefile | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/www/ap2-chroot/Makefile b/www/ap2-chroot/Makefile index 54a0f50606c..ac8a958ce35 100644 --- a/www/ap2-chroot/Makefile +++ b/www/ap2-chroot/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.8 2009/12/17 19:38:14 abs Exp $ +# $NetBSD: Makefile,v 1.9 2010/02/20 14:58:46 joerg Exp $ DISTNAME= mod_chroot-0.3 PKGNAME= ${APACHE_PKG_PREFIX}-chroot-0.3 @@ -10,18 +10,18 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://core.segfault.pl/~hobbit/mod_chroot/ COMMENT= Module to easily run Apache in a chroot environment +PKG_DESTDIR_SUPPORT= user-destdir + APACHE_MODULE= yes +APACHE_MODULE_NAME= mod_chroot.la NO_CONFIGURE= yes PKG_APACHE_ACCEPTED= apache2 apache22 INSTALLATION_DIRS+= share/doc/mod_chroot -do-build: - cd ${WRKSRC} && ${APXS} -c mod_chroot.c - -do-install: - cd ${WRKSRC} && ${APXS} -i mod_chroot.la - cd ${WRKSRC} && ${INSTALL_DATA} [A-Z]* ${DESTDIR}${PREFIX}/share/doc/mod_chroot/ +post-install: + ${INSTALL_DATA} ${WRKSRC}/[A-Z]* ${DESTDIR}${PREFIX}/share/doc/mod_chroot/ .include "../../mk/apache.mk" +.include "../../www/apache/module.mk" .include "../../mk/bsd.pkg.mk" |