summaryrefslogtreecommitdiff
path: root/mail/imap-uw
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2004-09-06 19:55:07 +0000
committertron <tron@pkgsrc.org>2004-09-06 19:55:07 +0000
commit04296e2b0cdf59d6345d86c35cbb79282bff985b (patch)
treee63eff1aea74b64080ba54e343ad3f432a8e1c63 /mail/imap-uw
parent14f8cb056554a259934c6e418d5b97f8262d730d (diff)
downloadpkgsrc-04296e2b0cdf59d6345d86c35cbb79282bff985b.tar.gz
Fix too complicated and broken shell code in "post-extract" target which
clobbered the contents of the manual pages.
Diffstat (limited to 'mail/imap-uw')
-rw-r--r--mail/imap-uw/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/mail/imap-uw/Makefile b/mail/imap-uw/Makefile
index c108f7d62dc..7b2e6c918a2 100644
--- a/mail/imap-uw/Makefile
+++ b/mail/imap-uw/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.78 2004/08/12 12:13:54 adam Exp $
+# $NetBSD: Makefile,v 1.79 2004/09/06 19:55:07 tron 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
@@ -102,13 +102,13 @@ post-extract:
#
# Correct hardcoded paths in man pages.
#
- cd ${WRKSRC}; for file in ${MANFILES}; do \
- f=`${ECHO} $${file} | ${SED} "s|\(.*\)\.\([0-9]\).*|\1.\2|"`; \
+ cd ${WRKSRC}; for FILE in ${MANFILES}; do \
+ ${CP} $${FILE} $${FILE}.broken; \
${SED} -e "s|/usr/etc/imapd|${PREFIX}/libexec/imapd|g" \
-e "s|/etc/rimapd|${PREFIX}/sbin/rimapd|g" \
-e "s|/usr/etc/ipop2d|${PREFIX}/libexec/ipop2d|g" \
-e "s|/usr/etc/ipop3d|${PREFIX}/libexec/ipop3d|g" \
- $${file} > $${f}; \
+ $${FILE}.broken > $${FILE}; \
done
BUILD_DEFS+= IMAP_UW_MAILSPOOLHOME