summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorabs <abs@pkgsrc.org>2009-12-17 19:38:14 +0000
committerabs <abs@pkgsrc.org>2009-12-17 19:38:14 +0000
commit4aa75fcf1c1772b7749c3b2f51cde0f297143c7b (patch)
treeb564acd27ee105f22213ce99e64206790ffd1994
parent0d1795bf2ee03aa4231b49262e1aba700ca46ef5 (diff)
downloadpkgsrc-4aa75fcf1c1772b7749c3b2f51cde0f297143c7b.tar.gz
Fix the do-install to include DESTDIR references - not sufficient in itself so PKG_DESTDIR_SUPPORT not turned on
-rw-r--r--www/ap2-chroot/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/www/ap2-chroot/Makefile b/www/ap2-chroot/Makefile
index d4e851f10c0..54a0f50606c 100644
--- a/www/ap2-chroot/Makefile
+++ b/www/ap2-chroot/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2007/06/30 16:09:08 joerg Exp $
+# $NetBSD: Makefile,v 1.8 2009/12/17 19:38:14 abs 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
-APACHE_MODULE= # defined
+APACHE_MODULE= yes
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
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/mod_chroot
- cd ${WRKSRC} && ${INSTALL_DATA} [A-Z]* ${PREFIX}/share/doc/mod_chroot/
+ cd ${WRKSRC} && ${INSTALL_DATA} [A-Z]* ${DESTDIR}${PREFIX}/share/doc/mod_chroot/
.include "../../mk/apache.mk"
.include "../../mk/bsd.pkg.mk"