summaryrefslogtreecommitdiff
path: root/mail/imap-uw
diff options
context:
space:
mode:
authorsketch <sketch>2004-02-15 21:33:15 +0000
committersketch <sketch>2004-02-15 21:33:15 +0000
commit52c81803be9999bcda512116ac5c9e3b729900f8 (patch)
treead5f9348a53a1cc6ed962da7f3b6c0d212a925e8 /mail/imap-uw
parent4f913e54510172365f94bdd905435c4b3b46f0c1 (diff)
downloadpkgsrc-52c81803be9999bcda512116ac5c9e3b729900f8.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"