aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mutt-devel
diff options
context:
space:
mode:
authorleeym <leeym@FreeBSD.org>2004-02-08 11:23:07 +0800
committerleeym <leeym@FreeBSD.org>2004-02-08 11:23:07 +0800
commit9ad40a5423b275f31e7c58c90be10d47cbb9c634 (patch)
treea6e74be02e07c1584ca74a5993921ea2adcc3e0b /mail/mutt-devel
parent060b959e6321763d956064c9f8358551db973684 (diff)
downloadfreebsd-ports-gnome-9ad40a5423b275f31e7c58c90be10d47cbb9c634.tar.gz
freebsd-ports-gnome-9ad40a5423b275f31e7c58c90be10d47cbb9c634.tar.zst
freebsd-ports-gnome-9ad40a5423b275f31e7c58c90be10d47cbb9c634.zip
- Preserve $PREFIX/etc/mime.types
- Add $PREFIX/etc/mime.types.dist PR: 62453 Submitted by: Udo Schweigert <udo.schweigert@siemens.com>
Diffstat (limited to 'mail/mutt-devel')
-rw-r--r--mail/mutt-devel/Makefile1
-rw-r--r--mail/mutt-devel/scripts/generate-plist3
2 files changed, 3 insertions, 1 deletions
diff --git a/mail/mutt-devel/Makefile b/mail/mutt-devel/Makefile
index 4eb713dab4a1..18ffc9338912 100644
--- a/mail/mutt-devel/Makefile
+++ b/mail/mutt-devel/Makefile
@@ -342,6 +342,7 @@ pre-install:
post-install:
@${ECHO} > ${PKGMESSAGE}
${INSTALL_DATA} ${WRKSRC}/Muttrc ${PREFIX}/etc/Muttrc.dist
+ ${INSTALL_DATA} ${WRKSRC}/mime.types ${PREFIX}/etc/mime.types.dist
.if !defined(NOPORTDOCS)
@${ECHO} "===> Installing Mutt documentation"
@${MKDIR} ${DOCSDIR} && ${CHMOD} a+rx ${DOCSDIR}
diff --git a/mail/mutt-devel/scripts/generate-plist b/mail/mutt-devel/scripts/generate-plist
index c4db6ceb8f4c..6bba48985e70 100644
--- a/mail/mutt-devel/scripts/generate-plist
+++ b/mail/mutt-devel/scripts/generate-plist
@@ -29,8 +29,9 @@ bin/pgpewrap
bin/pgpring
bin/smime_keys
@unexec if cmp -s %D/etc/Muttrc.dist %D/etc/Muttrc; then rm -f %D/etc/Muttrc; fi
+@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
+etc/mime.types.dist
EOF
if [ "$MUTT_NLS" = "yes" ]; then