aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mutt14
diff options
context:
space:
mode:
authornaddy <naddy@FreeBSD.org>2003-08-05 05:48:03 +0800
committernaddy <naddy@FreeBSD.org>2003-08-05 05:48:03 +0800
commit5dbe9a6bdb8ac69e6453f33a4a3acef43ca399b8 (patch)
tree34bbb34b7af14516c5b8095921b204215d09e465 /mail/mutt14
parentb31c22945d3ab60b7bb368c1ff5ff23bdbb06b90 (diff)
downloadfreebsd-ports-graphics-5dbe9a6bdb8ac69e6453f33a4a3acef43ca399b8.tar.gz
freebsd-ports-graphics-5dbe9a6bdb8ac69e6453f33a4a3acef43ca399b8.tar.zst
freebsd-ports-graphics-5dbe9a6bdb8ac69e6453f33a4a3acef43ca399b8.zip
- Do not remove etc/Muttrc when deinstalling and if it was changed.
- Bump PORTREVISION. PR: 55188 Submitted by: Udo Schweigert <udo.schweigert@siemens.com>
Diffstat (limited to 'mail/mutt14')
-rw-r--r--mail/mutt14/Makefile3
-rw-r--r--mail/mutt14/pkg-plist3
2 files changed, 4 insertions, 2 deletions
diff --git a/mail/mutt14/Makefile b/mail/mutt14/Makefile
index 3df2437c12e..f3c3da9f999 100644
--- a/mail/mutt14/Makefile
+++ b/mail/mutt14/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/mutt14/pkg-plist b/mail/mutt14/pkg-plist
index 12eee9d360f..27476955595 100644
--- a/mail/mutt14/pkg-plist
+++ b/mail/mutt14/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