summaryrefslogtreecommitdiff
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
commit9dbe625b20feb73e12536d4029d3641727324539 (patch)
tree5da25acad760bf7dc1e5741e318220003feeb5a3
parent05d28c1cb61827e85068bbc51b930dd5cc18b8c1 (diff)
downloadpkgsrc-9dbe625b20feb73e12536d4029d3641727324539.tar.gz
Honor PKGDIRMODE and SHAREMODE.
-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