aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mutt-devel
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2004-07-08 21:17:55 +0800
committerkrion <krion@FreeBSD.org>2004-07-08 21:17:55 +0800
commit765bb8d5bd8921219e76f055007ee58804d88c79 (patch)
tree6a7439fc6b69b24447e14548d32dda025105dd01 /mail/mutt-devel
parent97ba4bc5ed633d91ab13c13542b64ead62abf401 (diff)
downloadfreebsd-ports-gnome-765bb8d5bd8921219e76f055007ee58804d88c79.tar.gz
freebsd-ports-gnome-765bb8d5bd8921219e76f055007ee58804d88c79.tar.zst
freebsd-ports-gnome-765bb8d5bd8921219e76f055007ee58804d88c79.zip
Install Muttrc and mime.types if not already present from a
prior installation PR: ports/68816 Submitted by: maintainer
Diffstat (limited to 'mail/mutt-devel')
-rw-r--r--mail/mutt-devel/Makefile2
-rw-r--r--mail/mutt-devel/scripts/generate-plist2
2 files changed, 3 insertions, 1 deletions
diff --git a/mail/mutt-devel/Makefile b/mail/mutt-devel/Makefile
index f9fd2caaf4b5..0f9dd2509ea8 100644
--- a/mail/mutt-devel/Makefile
+++ b/mail/mutt-devel/Makefile
@@ -84,7 +84,7 @@
PORTNAME= mutt-devel
PORTVERSION= 1.5.6
-PORTREVISION= 5
+PORTREVISION= 6
CATEGORIES+= mail ipv6
.if defined(WITH_MUTT_NNTP)
CATEGORIES+= news
diff --git a/mail/mutt-devel/scripts/generate-plist b/mail/mutt-devel/scripts/generate-plist
index ff187a0263f1..4d2791716c83 100644
--- a/mail/mutt-devel/scripts/generate-plist
+++ b/mail/mutt-devel/scripts/generate-plist
@@ -32,6 +32,8 @@ bin/smime_keys
@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
EOF
if [ "$MUTT_NLS" = "yes" ]; then