diff options
author | krion <krion@FreeBSD.org> | 2004-07-08 20:40:50 +0800 |
---|---|---|
committer | krion <krion@FreeBSD.org> | 2004-07-08 20:40:50 +0800 |
commit | 97ba4bc5ed633d91ab13c13542b64ead62abf401 (patch) | |
tree | ad4efe40e347611052d5253927d4346e3e4a6a95 /mail/mutt | |
parent | a12b83ab36d93975d303d573ecce9bdff74a4e69 (diff) | |
download | freebsd-ports-gnome-97ba4bc5ed633d91ab13c13542b64ead62abf401.tar.gz freebsd-ports-gnome-97ba4bc5ed633d91ab13c13542b64ead62abf401.tar.zst freebsd-ports-gnome-97ba4bc5ed633d91ab13c13542b64ead62abf401.zip |
Install Muttrc and mime.types if not already present from a
prior installation
PR: ports/68815
Submitted by: maintainer
Diffstat (limited to 'mail/mutt')
-rw-r--r-- | mail/mutt/Makefile | 1 | ||||
-rw-r--r-- | mail/mutt/pkg-plist | 2 |
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 |