summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2005-04-19 15:04:54 +0000
committerminskim <minskim@pkgsrc.org>2005-04-19 15:04:54 +0000
commitd665ca634901e58d68c2d07d380453e7d663cc82 (patch)
tree5da25acad760bf7dc1e5741e318220003feeb5a3 /www
parentaf38aaa023c27e7f9806acd8f385190dbe3d632d (diff)
downloadpkgsrc-d665ca634901e58d68c2d07d380453e7d663cc82.tar.gz
Honor PKGDIRMODE and SHAREMODE.
Diffstat (limited to 'www')
-rw-r--r--www/horde3/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/www/horde3/Makefile b/www/horde3/Makefile
index a2eb4d0f838..899609a23e0 100644
--- a/www/horde3/Makefile
+++ b/www/horde3/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2005/04/11 21:47:53 tv Exp $
+# $NetBSD: Makefile,v 1.6 2005/04/19 15:04:54 minskim Exp $
DISTNAME= horde-3.0.4
CATEGORIES= www
@@ -99,7 +99,8 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/config/*.dist ${HORDEDIR}/config
${INSTALL_DATA} ${WRKSRC}/*.php ${HORDEDIR}
${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${HORDEDIR}
- ${CHMOD} -R a-w ${HORDEDIR}
+ ${FIND} ${HORDEDIR} -type d -print | ${XARGS} ${CHMOD} ${PKGDIRMODE}
+ ${FIND} ${HORDEDIR} -type f -print | ${XARGS} ${CHMOD} ${SHAREMODE}
${CHOWN} ${APACHE_USER}:${SHAREGRP} ${HORDEDIR}/config
${CHMOD} 0750 ${HORDEDIR}/config