aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authoroliver <oliver@FreeBSD.org>2005-05-08 16:40:13 +0800
committeroliver <oliver@FreeBSD.org>2005-05-08 16:40:13 +0800
commit87d4193cf40525c2a734d9fcd1cab1dec30d7429 (patch)
tree691faae30803016246ff3d8c315d675bf6b35449 /mail
parent1c4cc6bec16e6c43895cd9d0ddc157ec0e62ef0f (diff)
downloadfreebsd-ports-gnome-87d4193cf40525c2a734d9fcd1cab1dec30d7429.tar.gz
freebsd-ports-gnome-87d4193cf40525c2a734d9fcd1cab1dec30d7429.tar.zst
freebsd-ports-gnome-87d4193cf40525c2a734d9fcd1cab1dec30d7429.zip
- Use mime.types from misc/mime-support
- Bump PORTREVISION PR: ports/80749 Submitted by: maintainer
Diffstat (limited to 'mail')
-rw-r--r--mail/mutt-devel/Makefile4
-rw-r--r--mail/mutt-devel/scripts/generate-plist3
2 files changed, 2 insertions, 5 deletions
diff --git a/mail/mutt-devel/Makefile b/mail/mutt-devel/Makefile
index 4f15f429e2d6..0bf6917bdd16 100644
--- a/mail/mutt-devel/Makefile
+++ b/mail/mutt-devel/Makefile
@@ -93,7 +93,7 @@
PORTNAME= mutt-devel
PORTVERSION= 1.5.9
-PORTREVISION= 0
+PORTREVISION= 1
CATEGORIES+= mail ipv6
.if defined(WITH_MUTT_NNTP)
CATEGORIES+= news
@@ -197,6 +197,7 @@ pre-build:
-e "s|^(AUTOHEADER = ).+|\1${AUTOHEADER}|" \
${BUILD_WRKSRC}/Makefile
+RUN_DEPENDS+= ${LOCALBASE}/etc/mime.types:${PORTSDIR}/misc/mime-support
.if exists(${LOCALBASE}/bin/aspell) && !defined(WITH_MUTT_ISPELL)
WITH_MUTT_ASPELL= yes
.elif exists(${LOCALBASE}/bin/ispell) && !defined(WITH_MUTT_ASPELL)
@@ -460,7 +461,6 @@ 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 a6c77002d851..379438695c1b 100644
--- a/mail/mutt-devel/scripts/generate-plist
+++ b/mail/mutt-devel/scripts/generate-plist
@@ -29,11 +29,8 @@ 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.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