summaryrefslogtreecommitdiff
path: root/mail/mutt
diff options
context:
space:
mode:
authorChristian Weisgerber <naddy@FreeBSD.org>2003-08-04 21:48:03 +0000
committerChristian Weisgerber <naddy@FreeBSD.org>2003-08-04 21:48:03 +0000
commitfdb2aecfd1c88f99703eda915b3c94f3295fdbf4 (patch)
treeb6184e2d47be1ac60ac7a66ce47151b3adfda5b3 /mail/mutt
parentUpdate to 1.05 (diff)
- Do not remove etc/Muttrc when deinstalling and if it was changed.
- Bump PORTREVISION. PR: 55188 Submitted by: Udo Schweigert <udo.schweigert@siemens.com>
Notes
Notes: svn path=/head/; revision=86312
Diffstat (limited to 'mail/mutt')
-rw-r--r--mail/mutt/Makefile3
-rw-r--r--mail/mutt/pkg-plist3
2 files changed, 4 insertions, 2 deletions
diff --git a/mail/mutt/Makefile b/mail/mutt/Makefile
index 3df2437c12ee..f3c3da9f9990 100644
--- a/mail/mutt/Makefile
+++ b/mail/mutt/Makefile
@@ -8,7 +8,7 @@
PORTNAME= mutt
PORTVERSION= 1.4.1
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES+= mail ipv6
MASTER_SITES= ftp://ftp.mutt.org/mutt/ \
ftp://ftp.fu-berlin.de/pub/unix/mail/mutt/ \
@@ -126,6 +126,7 @@ pre-install:
post-install:
@strip ${PREFIX}/bin/mutt
+ ${INSTALL_DATA} ${WRKSRC}/Muttrc ${PREFIX}/etc/Muttrc.dist
.if !defined(NOPORTDOCS)
@${ECHO} "===> Installing Mutt documentation"
@${MKDIR} ${PREFIX}/share/doc/mutt && ${CHMOD} a+rx ${PREFIX}/share/doc/mutt
diff --git a/mail/mutt/pkg-plist b/mail/mutt/pkg-plist
index 12eee9d360f8..274769555953 100644
--- a/mail/mutt/pkg-plist
+++ b/mail/mutt/pkg-plist
@@ -5,7 +5,8 @@ bin/mutt_dotlock
bin/muttbug
bin/pgpewrap
bin/pgpring
-etc/Muttrc
+@unexec if cmp -s %D/etc/Muttrc.dist %D/etc/Muttrc; then rm -f %D/etc/Muttrc; fi
+etc/Muttrc.dist
etc/mime.types
share/doc/mutt/COPYRIGHT
share/doc/mutt/ChangeLog