summaryrefslogtreecommitdiff
path: root/mail/ja-squirrelmail
diff options
context:
space:
mode:
authormartti <martti@pkgsrc.org>2004-12-22 08:08:08 +0000
committermartti <martti@pkgsrc.org>2004-12-22 08:08:08 +0000
commit668b3644f91d4f57c53939cd2beda23360af43f0 (patch)
tree4d7a9dd3393727db8b9f8d0b7fd3d716597b1597 /mail/ja-squirrelmail
parentfd426495a4b78d6cb0c18ffd26d36db52c931b42 (diff)
downloadpkgsrc-668b3644f91d4f57c53939cd2beda23360af43f0.tar.gz
chmod directories and other files
Diffstat (limited to 'mail/ja-squirrelmail')
-rw-r--r--mail/ja-squirrelmail/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/mail/ja-squirrelmail/Makefile b/mail/ja-squirrelmail/Makefile
index cbea8a946ce..a25ed89eb35 100644
--- a/mail/ja-squirrelmail/Makefile
+++ b/mail/ja-squirrelmail/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2004/12/22 07:27:07 martti Exp $
+# $NetBSD: Makefile,v 1.9 2004/12/22 08:08:08 martti Exp $
DISTNAME= squirrelmail-1.4.3a
PKGNAME= ja-${DISTNAME}
@@ -76,9 +76,10 @@ do-install:
${EGDIR}/squirrelmail.conf
${CP} -R ${WRKSRC}/* ${SMDIR}
${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${SMDIR}
+ ${FIND} ${SMDIR} -type d -print | ${XARGS} ${CHMOD} ${PKGDIRMODE}
${FIND} ${SMDIR} -type f -print | ${XARGS} ${CHMOD} ${SHAREMODE}
- ${CP} ${WRKSRC}/data/index.php ${USER_PREFS_DIR}/
- ${CP} ${WRKSRC}/data/.htaccess ${USER_PREFS_DIR}/
+ ${INSTALL_DATA} ${WRKSRC}/data/index.php ${USER_PREFS_DIR}/
+ ${INSTALL_DATA} ${WRKSRC}/data/.htaccess ${USER_PREFS_DIR}/
.include "../../lang/perl5/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"