summaryrefslogtreecommitdiff
path: root/mail/imap-uw
diff options
context:
space:
mode:
authorsketch <sketch@pkgsrc.org>2004-02-15 21:33:15 +0000
committersketch <sketch@pkgsrc.org>2004-02-15 21:33:15 +0000
commit325ba9a0795dcf140d34ee8687feeaede072ecfb (patch)
treead5f9348a53a1cc6ed962da7f3b6c0d212a925e8 /mail/imap-uw
parent3ae23acda94fc77405297f3e4a7c77ce6f093492 (diff)
downloadpkgsrc-325ba9a0795dcf140d34ee8687feeaede072ecfb.tar.gz
Use PKGDIRMODE and SHAREMODE to ensure the installed documentation files can be
properly deleted on operating systems which are picky about permissions.
Diffstat (limited to 'mail/imap-uw')
-rw-r--r--mail/imap-uw/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/mail/imap-uw/Makefile b/mail/imap-uw/Makefile
index 808befc83eb..b50d990e557 100644
--- a/mail/imap-uw/Makefile
+++ b/mail/imap-uw/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.73 2004/02/08 03:00:29 jlam Exp $
+# $NetBSD: Makefile,v 1.74 2004/02/15 21:33:15 sketch Exp $
# ATTENTION:
# The Kerberos support in this software is known to be problematic. If you
# upgrade this package you *must* test it on a system *without* Kerberos
@@ -157,7 +157,8 @@ do-install:
${INSTALL_DATA_DIR} ${DOC_DIR}
${CP} -R ${WRKSRC}/docs/* ${DOC_DIR}
${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${DOC_DIR}
- ${CHMOD} -R a=rX ${DOC_DIR}
+ ${FIND} ${DOC_DIR} -type d -print | ${XARGS} ${CHMOD} ${PKGDIRMODE}
+ ${FIND} ${DOC_DIR} -type f -print | ${XARGS} ${CHMOD} ${SHAREMODE}
.if !defined(IMAP_UW_NO_SSL) || ${IMAP_UW_NO_SSL} != "YES"
.include "../../security/openssl/buildlink2.mk"