summaryrefslogtreecommitdiff
path: root/mail/mutt
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2004-07-08 12:40:50 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2004-07-08 12:40:50 +0000
commitfd77a429354835ec3f32b23489bb62493d1a4aaf (patch)
tree9477711fbee33f757b7ea16962aa61dbd75e48d0 /mail/mutt
parentUpdate to 0.6.3 (diff)
Install Muttrc and mime.types if not already present from a
prior installation PR: ports/68815 Submitted by: maintainer
Notes
Notes: svn path=/head/; revision=113215
Diffstat (limited to 'mail/mutt')
-rw-r--r--mail/mutt/Makefile1
-rw-r--r--mail/mutt/pkg-plist2
2 files changed, 3 insertions, 0 deletions
diff --git a/mail/mutt/Makefile b/mail/mutt/Makefile
index 32cd16eb54aa..730b5e699e34 100644
--- a/mail/mutt/Makefile
+++ b/mail/mutt/Makefile
@@ -8,6 +8,7 @@
PORTNAME= mutt
PORTVERSION= 1.4.2.1
+PORTREVISION= 1
CATEGORIES+= mail ipv6
MASTER_SITES= ftp://ftp.mutt.org/mutt/ \
ftp://ftp.fu-berlin.de/pub/unix/mail/mutt/ \
diff --git a/mail/mutt/pkg-plist b/mail/mutt/pkg-plist
index b53d5514b89d..e83f96f89228 100644
--- a/mail/mutt/pkg-plist
+++ b/mail/mutt/pkg-plist
@@ -9,6 +9,8 @@ bin/pgpring
@unexec if cmp -s %D/etc/mime.types.dist %D/etc/mime.types; then rm -f %D/etc/mime.types; fi
etc/Muttrc.dist
etc/mime.types.dist
+@exec if [ ! -f %D/etc/Muttrc ]; then cp %D/etc/Muttrc.dist %D/etc/Muttrc; fi
+@exec if [ ! -f %D/etc/mime.types ]; then cp %D/etc/mime.types.dist %D/etc/mime.types; fi
%%DOCSDIR%%/COPYRIGHT
%%DOCSDIR%%/ChangeLog
%%DOCSDIR%%/GPL