summaryrefslogtreecommitdiff
path: root/mail/ja-squirrelmail
diff options
context:
space:
mode:
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"