summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcrees <crees@FreeBSD.org>2012-07-22 09:15:04 +0000
committercrees <crees@FreeBSD.org>2012-07-22 09:15:04 +0000
commit684ed7d3237ce53b07278b691fb9f1bd419b4876 (patch)
tree48afad7ae2c1b5fd6c866fadb03127860561cb60
parent2606632901a94a288ceae0e73b855dc4f4e840c3 (diff)
downloadFreeBSD-ports-684ed7d3237ce53b07278b691fb9f1bd419b4876.zip
FreeBSD-ports-684ed7d3237ce53b07278b691fb9f1bd419b4876.tar.gz
Move mail/mutt to mail/mutt14
Move mail/mutt-lite to mail/mutt14-lite Move mail/mutt-devel to mail/mutt Moving mail/mutt-devel-lite to mail/mutt-lite will follow next to avoid breaking the cvs exporter PR: ports/169546 Suggested by: obrien Approved by: maintainer
-rw-r--r--MOVED2
-rw-r--r--UPDATING11
-rw-r--r--chinese/mutt/Makefile4
-rw-r--r--mail/Makefile6
-rw-r--r--mail/mutt-devel/Makefile623
-rw-r--r--mail/mutt-devel/distinfo10
-rw-r--r--mail/mutt-devel/files/extra-patch-doc-ref12
-rw-r--r--mail/mutt-devel/files/patch-0232
-rw-r--r--mail/mutt-devel/files/patch-0543
-rw-r--r--mail/mutt-devel/files/patch-0810
-rw-r--r--mail/mutt-devel/files/patch-examples109
-rw-r--r--mail/mutt-devel/files/patch-init.c39
-rw-r--r--mail/mutt-devel/files/patch-mktemp23
-rw-r--r--mail/mutt-devel/files/patch-threadcomplete37
-rw-r--r--mail/mutt-devel/pkg-descr12
-rw-r--r--mail/mutt/Makefile646
-rw-r--r--mail/mutt/distinfo16
-rw-r--r--mail/mutt/files/extra-patch-aspell (renamed from mail/mutt-devel/files/extra-patch-aspell)0
-rw-r--r--mail/mutt/files/extra-patch-doc-ref22
-rw-r--r--mail/mutt/files/extra-patch-doc-xml (renamed from mail/mutt-devel/files/extra-patch-doc-xml)0
-rw-r--r--mail/mutt/files/extra-patch-greeting (renamed from mail/mutt-devel/files/extra-patch-greeting)0
-rw-r--r--mail/mutt/files/extra-patch-ifdef (renamed from mail/mutt-devel/files/extra-patch-ifdef)0
-rw-r--r--mail/mutt/files/extra-patch-maildir-mtime (renamed from mail/mutt-devel/files/extra-patch-maildir-mtime)0
-rw-r--r--mail/mutt/files/extra-patch-maildir-mtime-nntp (renamed from mail/mutt-devel/files/extra-patch-maildir-mtime-nntp)0
-rw-r--r--mail/mutt/files/extra-patch-no-mbox-manpage (renamed from mail/mutt-devel/files/extra-patch-no-mbox-manpage)0
-rw-r--r--mail/mutt/files/extra-patch-nodoc-contrib (renamed from mail/mutt-devel/files/extra-patch-nodoc-contrib)0
-rw-r--r--mail/mutt/files/extra-patch-parent-child-match (renamed from mail/mutt-devel/files/extra-patch-parent-child-match)0
-rw-r--r--mail/mutt/files/extra-patch-pgp-dw (renamed from mail/mutt-devel/files/extra-patch-pgp-dw)0
-rw-r--r--mail/mutt/files/extra-patch-reverse_reply (renamed from mail/mutt-devel/files/extra-patch-reverse_reply)0
-rw-r--r--mail/mutt/files/extra-patch-sidebar (renamed from mail/mutt-devel/files/extra-patch-sidebar)0
-rw-r--r--mail/mutt/files/extra-patch-sidebar-nntp (renamed from mail/mutt-devel/files/extra-patch-sidebar-nntp)0
-rw-r--r--mail/mutt/files/extra-patch-signature-menu (renamed from mail/mutt-devel/files/extra-patch-signature-menu)0
-rw-r--r--mail/mutt/files/extra-patch-smime-outlook (renamed from mail/mutt-devel/files/extra-patch-smime-outlook)0
-rw-r--r--mail/mutt/files/extra-patch-trash-purge (renamed from mail/mutt-devel/files/extra-patch-trash-purge)0
-rw-r--r--mail/mutt/files/patch-0275
-rw-r--r--mail/mutt/files/patch-0313
-rw-r--r--mail/mutt/files/patch-0544
-rw-r--r--mail/mutt/files/patch-084
-rw-r--r--mail/mutt/files/patch-Makefile.am (renamed from mail/mutt-devel/files/patch-Makefile.am)0
-rw-r--r--mail/mutt/files/patch-Makefile.am.doc (renamed from mail/mutt-devel/files/patch-Makefile.am.doc)0
-rw-r--r--mail/mutt/files/patch-aclocal.m411
-rw-r--r--mail/mutt/files/patch-bdb (renamed from mail/mutt-devel/files/patch-bdb)0
-rw-r--r--mail/mutt/files/patch-color-eol (renamed from mail/mutt-devel/files/patch-color-eol)0
-rw-r--r--mail/mutt/files/patch-configure.ac (renamed from mail/mutt-devel/files/patch-configure.ac)0
-rw-r--r--mail/mutt/files/patch-configure.in14
-rw-r--r--mail/mutt/files/patch-contrib-Makefile.am (renamed from mail/mutt-devel/files/patch-contrib-Makefile.am)0
-rw-r--r--mail/mutt/files/patch-contrib-Makefile.in11
-rw-r--r--mail/mutt/files/patch-crypt-gpgme.c (renamed from mail/mutt-devel/files/patch-crypt-gpgme.c)0
-rw-r--r--mail/mutt/files/patch-date-conditional (renamed from mail/mutt-devel/files/patch-date-conditional)0
-rw-r--r--mail/mutt/files/patch-doc-manual.xml.head (renamed from mail/mutt-devel/files/patch-doc-manual.xml.head)0
-rw-r--r--mail/mutt/files/patch-doc-mutt.man34
-rw-r--r--mail/mutt/files/patch-examples119
-rw-r--r--mail/mutt/files/patch-gnutls-CN-validation (renamed from mail/mutt-devel/files/patch-gnutls-CN-validation)0
-rw-r--r--mail/mutt/files/patch-imap-message.c (renamed from mail/mutt-devel/files/patch-imap-message.c)0
-rw-r--r--mail/mutt/files/patch-m4-gssapi.m433
-rw-r--r--mail/mutt/files/patch-mktemp30
-rw-r--r--mail/mutt/files/patch-nbsp (renamed from mail/mutt-devel/files/patch-nbsp)0
-rw-r--r--mail/mutt/files/patch-pgp (renamed from mail/mutt-devel/files/patch-pgp)0
-rw-r--r--mail/mutt/files/patch-smime-self (renamed from mail/mutt-devel/files/patch-smime-self)0
-rw-r--r--mail/mutt/files/patch-smime-sender (renamed from mail/mutt-devel/files/patch-smime-sender)0
-rw-r--r--mail/mutt/files/patch-threadcomplete80
-rw-r--r--mail/mutt/files/patch-z22
-rw-r--r--mail/mutt/pkg-plist79
-rw-r--r--mail/mutt/pkg-plist.htmlfiles346
-rw-r--r--mail/mutt/scripts/generate-plist (renamed from mail/mutt-devel/scripts/generate-plist)0
-rw-r--r--mail/mutt14-lite/Makefile (renamed from mail/mutt-lite/Makefile)4
-rw-r--r--mail/mutt14/Makefile6
67 files changed, 719 insertions, 1863 deletions
diff --git a/MOVED b/MOVED
index e5bb367..01907b1 100644
--- a/MOVED
+++ b/MOVED
@@ -3555,3 +3555,5 @@ archivers/zlib||2012-07-18|Removed in favor of base system zlib
devel/app|devel/papp|2012-07-18|Project renamed upstream
databases/redis-scripting|databases/redis-devel|2012-07-19|Removed, please use databases/redis-devel instead.
devel/acpicatools||2012-07-22|Has expired: It's quite obsolete and is already in base system for a long time
+mail/mutt-devel|mail/mutt|2012-07-22|mail/mutt-devel is ready for primetime
+mail/mutt-devel-lite|mail/mutt-lite|2012-07-22|mail/mutt-devel is ready for primetime
diff --git a/UPDATING b/UPDATING
index 29e8b77..55451c1 100644
--- a/UPDATING
+++ b/UPDATING
@@ -5,6 +5,17 @@ they are unavoidable.
You should get into the habit of checking this file for changes each time
you update your ports collection, before attempting any port upgrades.
+20120722
+ AFFECTS: users of mail/mutt
+ AUTHOR: crees@FreeBSD.org
+
+ mail/mutt-devel has been moved to mail/mutt, since 1.5 has been around
+ for a while.
+
+ Should you wish to stick with version 1.4 at this time;
+
+ # portmaster -o mail/mutt14 mutt
+
20120721
AFFECTS: users of audio/libogg
AUTHOR: naddy@FreeBSD.org
diff --git a/chinese/mutt/Makefile b/chinese/mutt/Makefile
index ab26fa4..ff38808 100644
--- a/chinese/mutt/Makefile
+++ b/chinese/mutt/Makefile
@@ -9,7 +9,7 @@
PORTREVISION= 2
CATEGORIES= chinese
-MASTERDIR= ${.CURDIR}/../../mail/mutt-devel
+MASTERDIR= ${.CURDIR}/../../mail/mutt
REVISEDATE= 20100927
PORTREVISION= ${REVISEDATE}
@@ -19,7 +19,7 @@ PORTREVISION= ${REVISEDATE}
MAINTAINER= rafan@FreeBSD.org
COMMENT= The Mongrel of Mail User Agents with Chinese support
-CONFLICTS= ja-mutt-[0-9]* ja-mutt-devel-[0-9]* mutt-[0-9]* mutt-devel-[0-9]* mutt-devel-lite-[0-9]* mutt-lite-[0-9]*
+CONFLICTS= ja-mutt-[0-9]* ja-mutt-devel-[0-9]* mutt-[0-9]* mutt-lite-[0-9]*
LIB_DEPENDS+= hz.0:${PORTSDIR}/chinese/autoconvert
diff --git a/mail/Makefile b/mail/Makefile
index 44c6892..7b5eddd 100644
--- a/mail/Makefile
+++ b/mail/Makefile
@@ -300,9 +300,9 @@
SUBDIR += mu
SUBDIR += mulberry
SUBDIR += mutt
- SUBDIR += mutt-devel
- SUBDIR += mutt-devel-lite
- SUBDIR += mutt-lite
+ SUBDIR += mutt14
+ SUBDIR += mutt14-lite
+# SUBDIR += mutt-lite
SUBDIR += mutt_vc_query
SUBDIR += muttils
SUBDIR += muttzilla
diff --git a/mail/mutt-devel/Makefile b/mail/mutt-devel/Makefile
deleted file mode 100644
index b7457f3..0000000
--- a/mail/mutt-devel/Makefile
+++ /dev/null
@@ -1,623 +0,0 @@
-# ex:ts=8
-# Ports collection makefile for: mutt development
-# Date created: 6 Jun 2001
-# Whom: Udo Schweigert
-#
-# $FreeBSD$
-#
-# There are several knobs which are used to define additions to the core
-# mutt functionality.
-#
-# As all of the knobs have a unique name which should not interfere with
-# other ports you can add them to /etc/make.conf, e.g. a line like
-# "WITH_MUTT_NNTP=yes" will enable mutt's nntp facilities.
-#
-# In addition to the knobs listed below you can enable other configuration
-# options of mutt by adding them to the MUTT_CONFIGURE_ARGS variable. For
-# example you could say "MUTT_CONFIGURE_ARGS=--with-homespool=MyMail" to
-# configure a different file for mutt's homespool.
-#
-# The two most important knobs are:
-#
-# In general you can choose between using ncurses (WITH_MUTT_NCURSES)
-# and SLANG (WITH_MUTT_SLANG). Note that you may have to set the variables
-# COLORTERM=yes and COLORFGBG="color1;color2" in your environment to get slang
-# function properly.
-# The default version for ncurses is that which comes with the operating
-# system. If you want to use the ncurses supplied by the ports-system define
-# WITH_MUTT_NCURSES_PORT.
-#
-# If you want to install the mutt documentation in html and ps format define:
-# WITH_MUTT_HTML
-# This is a default knob and can be disabled by WITHOUT_MUTT_HTML
-#
-# If you do not want that the documentation is rebuilt using the xml tools
-# define:
-# WITHOUT_MUTT_XML
-# (this can only be stated if WITHOUT_MUTT_HTML is defined)
-#
-# If you want to access compressed email folders define:
-# WITH_MUTT_COMPRESSED_FOLDERS
-# This is a default knob and can be disabled by WITHOUT_MUTT_COMPRESSED_FOLDERS
-#
-# If you do not want mutt to use the iconv library define:
-# WITHOUT_MUTT_ICONV
-#
-# If you want mutt to use the idn library define:
-# WITH_MUTT_IDN
-#
-# If you want to make use of the gpgme interface define:
-# WITH_MUTT_GPGME
-#
-# If you want to enable extended quoting functions define:
-# WITH_MUTT_QUOTE_PATCH
-# This is a default knob and can be disabled by WITHOUT_MUTT_QUOTE_PATCH
-#
-# If you want to have the IMAP header cache define:
-# WITH_MUTT_IMAP_HEADER_CACHE
-#
-# If you want to have the Maildir and the IMAP header cache define:
-# WITH_MUTT_MAILDIR_HEADER_CACHE
-#
-# If you want to make SMIME outlook compatible define:
-# WITH_MUTT_SMIME_OUTLOOK_COMPAT
-# This is a default knob and can be disabled by
-# WITHOUT_MUTT_SMIME_OUTLOOK_COMPAT
-#
-# If you want to read and post news with mutt define:
-# WITH_MUTT_NNTP
-#
-# If you want to use the SASL2 authentication features with your email server
-# define
-# WITH_MUTT_CYRUS_SASL2
-#
-# If you want mutt to use the GNU aspell spelling checker define:
-# WITH_MUTT_ASPELL
-#
-# If you want mutt to use the ispell spelling checker define:
-# WITH_MUTT_ISPELL
-#
-# If you want to use the signature menu define:
-# WITH_MUTT_SIGNATURE_MENU
-#
-# If you want to use the printf-like enhancement to the mbox-hook command
-# define:
-# WITH_MUTT_MBOX_HOOK_PATCH
-#
-# If you want to use the ifdef feature define:
-# WITH_MUTT_IFDEF_PATCH
-#
-# If you want to have the Maildir mtime patch define:
-# WITH_MUTT_MAILDIR_MTIME_PATCH
-#
-# If you want to have the Mailbox Sidebar patch define:
-# WITH_MUTT_SIDEBAR_PATCH
-#
-# If you do not want mutt to use the flock() function define:
-# WITHOUT_MUTT_FLOCK
-#
-# If you want to enable the reverse_reply option define:
-# WITH_MUTT_REVERSE_REPLY_PATCH
-#
-# If you want to enable the `greeting' option define:
-# WITH_MUTT_GREETING_PATCH
-#
-# If you want to enable the parent/child match support define:
-# WITH_MUTT_PARENT_CHILD_MATCH_PATCH
-#
-# If you want to be able to use a trash folder for deleted emails (especially useful
-# for example for googlemail) define:
-# WITH_MUTT_TRASH_PATCH
-#
-# If you want to enable the internal SMTP relay support define:
-# WITH_MUTT_SMTP
-#
-# If you want to enable debugging capabilities define:
-# WITH_MUTT_DEBUG
-#
-# If you do not want to install the manpages mbox.5 and mmdf.5 (because that
-# conflicts with other ports which installed these:
-# WITHOUT_MUTT_MAILBOX_MANPAGES
-#
-# Use CFLAGS_ADD and LDFLAGS_ADD to append additional CLFAGS and LDFLAGS.
-#
-
-PORTNAME= mutt-devel
-PORTVERSION= 1.5.21
-PORTREVISION?= 4
-CATEGORIES+= mail ipv6
-.if defined(WITH_MUTT_NNTP)
-CATEGORIES+= news
-.endif
-MASTER_SITES= ftp://ftp.mutt.org/mutt/devel/ \
- ftp://ftp.fu-berlin.de/pub/unix/mail/mutt/devel/ \
- ftp://ftp.demon.co.uk/pub/mirrors/mutt/devel/ \
- http://www.mutt.org.ua/download/mutt-${VVV_PATCH_VERSION}/:vvv \
- http://www2.mutt.org.ua/download/mutt-${VVV_PATCH_VERSION}/:vvv \
- http://www3.mutt.org.ua/download/mutt-${VVV_PATCH_VERSION}/:vvv \
- ftp://ftp.mutt.org.ua/pub/mutt/mutt-${VVV_PATCH_VERSION}/:vvv \
- ftp://ftp3.mutt.org.ua/pub/mutt/mutt-${VVV_PATCH_VERSION}/:vvv \
- http://www.spinnaker.de/mutt/compressed/:rr \
- http://lunar-linux.org/~tchan/mutt/:tchan
-DISTNAME= mutt-${PORTVERSION}
-DISTFILES= ${DISTNAME}${EXTRACT_SUFX}
-EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
-
-PATCH_SITES+= http://www.mutt.org.ua/download/mutt-${VVV_PATCH_VERSION}/:vvv \
- http://www2.mutt.org.ua/download/mutt-${VVV_PATCH_VERSION}/:vvv \
- http://www3.mutt.org.ua/download/mutt-${VVV_PATCH_VERSION}/:vvv \
- ftp://ftp.mutt.org.ua/pub/mutt/mutt-${VVV_PATCH_VERSION}/:vvv \
- ftp://ftp3.mutt.org.ua/pub/mutt/mutt-${VVV_PATCH_VERSION}/:vvv \
- http://home.woolridge.ca/mutt/patches/:dw \
- http://www.spinnaker.de/mutt/compressed/:rr \
- http://www.emaillab.org/mutt/${AC_PATCH_VERSION}/:jp
-
-MAINTAINER?= udo.schweigert@siemens.com
-COMMENT?= The Mongrel of Mail User Agents (development version)
-
-CONFLICTS?= ja-mutt-[0-9]* ja-mutt-devel-[0-9]* mutt-[0-9]* mutt-devel-lite-[0-9]* mutt-lite-[0-9]* zh-mutt-devel-[0-9]*
-
-DIST_SUBDIR= mutt
-DOCSDIR?= ${PREFIX}/share/doc/mutt
-EXAMPLESDIR?= ${PREFIX}/share/examples/mutt
-DATADIR?= ${PREFIX}/share/mutt
-CONFIGURE_ENV= CC="${CC} -I${LOCALBASE}/include"
-CONFIGURE_ARGS= --disable-fcntl --with-ssl=${OPENSSLBASE} \
- --with-docdir=${DOCSDIR} --sysconfdir=${PREFIX}/etc \
- --enable-external-dotlock --enable-pop --enable-imap \
- --disable-warnings
-.if defined(MUTT_CONFIGURE_ARGS)
-CONFIGURE_ARGS+= ${MUTT_CONFIGURE_ARGS}
-.endif
-
-USE_AUTOTOOLS= automake autoconf
-USE_OPENSSL= yes
-USE_NCURSES= yes
-USE_NCURSES_RPATH= yes
-
-.if !defined (MUTT_LITE)
-OPTIONS= MUTT_ASPELL "Enable aspell support" off \
- MUTT_COMPRESSED_FOLDERS "Enable compressed folders" on \
- MUTT_CYRUS_SASL2 "Enable SASL2 authentication" off \
- MUTT_DEBUG "Enable debugging capabilities" off \
- MUTT_FLOCK "Enable flock() usage" off \
- MUTT_GPGME "Enable gpgme interface" off \
- MUTT_GREETING_PATCH "Enable greeting" off \
- MUTT_HTML "Enable HTML documentation" on \
- MUTT_ICONV "Enable iconv support" on \
- MUTT_IDN "Enable idn support" off \
- MUTT_IFDEF_PATCH "Enable ifdef feature" off \
- MUTT_IMAP_HEADER_CACHE "Enable imap header cache" off \
- MUTT_ISPELL "Enable ispell support" off \
- MUTT_LOCALES_FIX "Enable locales fix" off \
- MUTT_MAILBOX_MANPAGES "Install mbox.5/mmdf.5 manpages" on \
- MUTT_MAILDIR_HEADER_CACHE "Enable maildir header cache" off \
- MUTT_MAILDIR_MTIME_PATCH "Enable Maildir mtime patch" off \
- MUTT_MBOX_HOOK_PATCH "Enable enhanced mbox-hook" off \
- MUTT_NCURSES "Enable ncurses support" on \
- MUTT_NCURSES_PORT "Use ncurses from port" off \
- MUTT_NNTP "Enable news reader" off \
- MUTT_PARENT_CHILD_MATCH_PATCH "Enable parent/child match" off \
- MUTT_QUOTE_PATCH "Enable extended quoting" on \
- MUTT_REVERSE_REPLY_PATCH "Enable reverse_reply" off \
- MUTT_SGMLFORMAT "Enable sgml support" on \
- MUTT_SIDEBAR_PATCH "Enable sidebar" off \
- MUTT_SIGNATURE_MENU "Enable signature menu" off \
- MUTT_SLANG "Enable slang support" off \
- MUTT_SMIME_OUTLOOK_COMPAT "SMIME outlook compatible" on \
- MUTT_SMTP "Enable SMTP relay support" off \
- MUTT_TRASH_PATCH "Enable trash folder support" off \
- MUTT_XML "Use XML tools for docu" on
-.endif
-
-PLIST= ${WRKDIR}/PLIST
-PKGMESSAGE= ${WRKDIR}/pkg-message
-SCRIPTS_ENV= WRKDIR="${WRKDIR}"
-
-.include <bsd.port.pre.mk>
-
-DW_PATCH_VERSION= 1.5.6
-AC_PATCH_VERSION= 1.5.9
-DW_MBOX_PATCH_VERSION= 1.5.18
-.if !defined(VVV_PATCH_VERSION)
-VVV_PATCH_VERSION= ${PORTVERSION}
-.endif
-.if !defined(RR_PATCH_VERSION)
-RR_PATCH_VERSION= ${PORTVERSION}
-.endif
-.if !defined(DW_PATCH_VERSION)
-DW_PATCH_VERSION= ${PORTVERSION}
-.endif
-.if !defined(DW_MBOX_PATCH_VERSION)
-DW_MBOX_PATCH_VERSION= ${DW_PATCH_VERSION}
-.endif
-.if !defined(AC_PATCH_VERSION)
-AC_PATCH_VERSION= ${PORTVERSION}
-.endif
-.if defined(WITH_MUTT_MAILDIR_HEADER_CACHE)
-WITH_MUTT_IMAP_HEADER_CACHE= yes
-.endif
-
-.if defined (MUTT_LITE)
-WITHOUT_MUTT_XML= yes
-WITHOUT_MUTT_COMPRESSED_FOLDERS= yes
-WITHOUT_MUTT_QUOTE_PATCH= yes
-WITHOUT_MUTT_HTML= yes
-WITH_MUTT_NCURSES= yes
-PKGNAMESUFFIX= -lite
-.endif
-
-# XXX
-# this should be done automagically by aclocal but ....
-# for now, this will have to do
-pre-build:
- @${REINPLACE_CMD} -E -e "s|^(ACLOCAL = ).+|\1${ACLOCAL}|" \
- -e "s|^(AUTOCONF = ).+|\1${AUTOCONF}|" \
- -e "s|^(AUTOMAKE = ).+|\1${AUTOMAKE}|" \
- -e "s|^(AUTOHEADER = ).+|\1${AUTOHEADER}|" \
- ${BUILD_WRKSRC}/Makefile
-
-RUN_DEPENDS+= ${LOCALBASE}/etc/mime.types:${PORTSDIR}/misc/mime-support
-.if !defined (MUTT_LITE)
-.if exists(${LOCALBASE}/bin/aspell) && !defined(WITH_MUTT_ISPELL)
-WITH_MUTT_ASPELL= yes
-.elif exists(${LOCALBASE}/bin/ispell) && !defined(WITH_MUTT_ASPELL)
-WITH_MUTT_ISPELL= yes
-.endif
-.if defined(PACKAGE_BUILDING) && !defined(WITH_MUTT_ASPELL) && \
- !defined(WITH_MUTT_ISPELL)
-WITH_MUTT_ASPELL= yes
-.endif
-.if defined(WITH_MUTT_ASPELL)
-BUILD_DEPENDS+= aspell:${PORTSDIR}/textproc/aspell
-RUN_DEPENDS+= aspell:${PORTSDIR}/textproc/aspell
-.elif defined(WITH_MUTT_ISPELL)
-BUILD_DEPENDS+= ispell:${PORTSDIR}/textproc/ispell
-RUN_DEPENDS+= ispell:${PORTSDIR}/textproc/ispell
-.endif
-.if defined(PACKAGE_BUILDING)
-RUN_DEPENDS+= urlview:${PORTSDIR}/textproc/urlview
-.endif
-.endif
-
-.if defined(WITH_MUTT_NCURSES_PORT)
-WITH_MUTT_NCURSES= yes
-.endif
-.if defined(WITH_MUTT_SLANG) || defined(WITH_SLANG)
-MUTT_USES_SLANG= yes
-.endif
-.if defined(WITH_MUTT_NCURSES) && !defined(MUTT_USES_SLANG)
-MUTT_USES_NCURSES= yes
-.endif
-.if !defined(MUTT_USES_SLANG) && !defined(WITHOUT_MUTT_SLANG)
-MUTT_USES_NCURSES= yes
-.endif
-.if defined(WITHOUT_MUTT_SGMLFORMAT)
-XML_USED= no
-.endif
-.if defined(WITHOUT_MUTT_XML)
-XML_USED= no
-.endif
-.if !defined(XML_USED)
-XML_USED= no
-.endif
-.if !defined(WITHOUT_NLS)
-USE_GETTEXT= yes
-.endif
-.if !defined(WITHOUT_MUTT_ICONV)
-USE_ICONV= yes
-.endif
-.if defined(NOPORTDOCS)
-XML_USED= no
-.endif
-.if defined(WITH_MUTT_NCURSES_PORT)
-.if !defined(MUTT_USES_SLANG)
-MUTT_USES_NCURSES_PORT= yes
-.endif
-.endif
-.if defined(MUTT_USES_NCURSES_PORT)
-WITH_NCURSES_PORT= yes
-CFLAGS+= -I${NCURSESINC}
-.elif defined(MUTT_USES_SLANG)
-LIB_DEPENDS+= slang.2:${PORTSDIR}/devel/libslang2
-.endif
-.if defined(WITH_MUTT_CYRUS_SASL2)
-LIB_DEPENDS+= sasl2.2:${PORTSDIR}/security/cyrus-sasl2
-.endif
-.if exists(${LOCALBASE}/lib/libidn.so) && !defined(WITHOUT_MUTT_IDN)
-WITH_MUTT_IDN= yes
-.endif
-.if defined(WITH_MUTT_IDN)
-LIB_DEPENDS+= idn:${PORTSDIR}/dns/libidn
-.endif
-.if defined(WITH_MUTT_GPGME)
-LIB_DEPENDS+= gpgme:${PORTSDIR}/security/gpgme
-.endif
-.if ! defined(WITHOUT_MUTT_SMIME_OUTLOOK_COMPAT)
-post-patch::
- @${PATCH} ${PATCH_ARGS} < ${PATCHDIR}/extra-patch-smime-outlook
-.endif
-.if defined(WITH_MUTT_SIGNATURE_MENU)
-IGNORE= the WITH_MUTT_SIGNATURE_MENU does not work at the moment
-XML_NEEDED= yes
-post-patch::
- @${PATCH} ${PATCH_ARGS} -p1 < ${PATCHDIR}/extra-patch-signature-menu
-.endif
-.if defined(WITH_MUTT_MAILDIR_MTIME_PATCH)
-post-patch::
-.if defined(WITH_MUTT_NNTP)
- @${PATCH} ${PATCH_ARGS} < ${PATCHDIR}/extra-patch-maildir-mtime-nntp
-.else
- @${PATCH} ${PATCH_ARGS} < ${PATCHDIR}/extra-patch-maildir-mtime
-.endif
-.endif
-
-.if defined(WITH_MUTT_ASPELL)
-post-patch::
- @${PATCH} ${PATCH_ARGS} < ${PATCHDIR}/extra-patch-aspell
-.endif
-
-.if defined(WITH_MUTT_REVERSE_REPLY_PATCH)
-post-patch::
- @${PATCH} ${PATCH_ARGS} < ${PATCHDIR}/extra-patch-reverse_reply
-.endif
-
-.if defined(WITH_MUTT_PARENT_CHILD_MATCH_PATCH)
-post-patch::
- @${PATCH} ${PATCH_ARGS} -p1 < ${PATCHDIR}/extra-patch-parent-child-match
-.endif
-
-.if defined(WITHOUT_MUTT_FLOCK)
-CONFIGURE_ARGS+= --disable-flock
-.else
-CONFIGURE_ARGS+= --enable-flock
-.endif
-.if defined(WITH_MUTT_LOCALES_FIX)
-CONFIGURE_ARGS+= --enable-locales-fix
-.endif
-.if defined(MUTT_USES_NCURSES_PORT)
-CONFIGURE_ARGS+= --with-curses=${NCURSESBASE}
-.elif defined(MUTT_USES_SLANG)
-CONFIGURE_ARGS+= --with-slang=${LOCALBASE}
-.else
-CONFIGURE_ARGS+= --with-curses=${NCURSESBASE}
-.endif
-.if defined(WITH_MUTT_CYRUS_SASL2)
-CONFIGURE_ARGS+= --with-sasl=${LOCALBASE}
-.endif
-.if defined(WITHOUT_NLS)
-CONFIGURE_ARGS+= --disable-nls
-.endif
-.if defined(WITHOUT_MUTT_ICONV)
-CONFIGURE_ARGS+= --disable-iconv
-.else
-CONFIGURE_ARGS+= --with-libiconv-prefix=${LOCALBASE}
-.endif
-.if defined(WITH_MUTT_IDN)
-CONFIGURE_ARGS+= --with-idn
-.else
-CONFIGURE_ARGS+= --without-idn
-.endif
-.if defined(WITH_MUTT_GPGME)
-CONFIGURE_ARGS+= --enable-gpgme
-.else
-CONFIGURE_ARGS+= --disable-gpgme
-.endif
-LDFLAGS=
-.if !defined(WITHOUT_GSSAPI)
-.if exists(${LOCALBASE}/bin/krb5-config)
-LIB_DEPENDS+= gssapi_krb5:${PORTSDIR}/security/krb5
-CONFIGURE_ARGS+= --with-gss=${LOCALBASE}
-.elif exists(${KRB5_HOME}/bin/krb5-config)
-LIB_DEPENDS+= gssapi_krb5:${PORTSDIR}/security/krb5
-CONFIGURE_ARGS+= --with-gss=${KRB5_HOME}
-LDFLAGS+= -L${KRB5_HOME}/lib -rpath=${KRB5_HOME}/lib
-.elif exists(${HEIMDAL_HOME}/bin/krb5-config)
-LIB_DEPENDS+= gssapi_krb5:${PORTSDIR}/security/krb5
-CONFIGURE_ARGS+= --with-gss=${HEIMDAL_HOME}
-LDFLAGS+= -L${HEIMDAL_HOME}/lib -rpath=${HEIMDAL_HOME}/lib
-.elif (defined(MAKE_KERBEROS5)) || exists(/usr/lib/libkrb5.a)
-CONFIGURE_ARGS+= --with-gss
-USE_KRB5_SYS=YES
-.endif
-.endif
-LDFLAGS+= -L${LOCALBASE}/lib -rpath=${LOCALBASE}/lib:/usr/lib
-CFLAGS+= ${CFLAGS_ADD}
-LDFLAGS+= ${LDFLAGS_ADD}
-.if defined(WITH_MUTT_SMTP)
-CONFIGURE_ARGS+= --enable-smtp
-.else
-CONFIGURE_ARGS+= --disable-smtp
-.endif
-.if defined(WITH_MUTT_DEBUG)
-CONFIGURE_ARGS+= --enable-debug
-.endif
-
-PATCH_DIST_STRIP= -p1
-
-.if ! defined (WITHOUT_MUTT_COMPRESSED_FOLDERS)
-DISTFILES+= patch-${RR_PATCH_VERSION}.rr.compressed.gz:vvv
-CONFIGURE_ARGS+= --enable-compressed
-XML_NEEDED= yes
-pre-patch::
- @${GUNZIP_CMD} -c ${DISTDIR}/${DIST_SUBDIR}/patch-${RR_PATCH_VERSION}.rr.compressed.gz > ${WRKDIR}/patch-compressed
- @${REINPLACE_CMD} -E '/^diff.*\/doc\/manual.txt$$/,/^diff/d' \
- ${WRKDIR}/patch-compressed
- @${PATCH} ${PATCH_ARGS} -p1 < ${WRKDIR}/patch-compressed
-.endif
-.if defined(WITH_MUTT_NNTP)
-DISTFILES+= patch-${VVV_PATCH_VERSION}.vvv.nntp.gz:vvv
-CONFIGURE_ARGS+= --enable-nntp
-XML_NEEDED= yes
-pre-patch::
- @${GUNZIP_CMD} -c ${DISTDIR}/${DIST_SUBDIR}/patch-${VVV_PATCH_VERSION}.vvv.nntp.gz > ${WRKDIR}/patch-nntp
- @${REINPLACE_CMD} -E '/^diff.*\/doc\/manual.txt$$/,/^diff/d' \
- ${WRKDIR}/patch-nntp
- @${PATCH} ${PATCH_ARGS} -p1 < ${WRKDIR}/patch-nntp
-.endif
-.if ! defined(WITHOUT_MUTT_QUOTE_PATCH)
-PATCHFILES+= patch-${VVV_PATCH_VERSION}.vvv.initials.gz:vvv \
- patch-${VVV_PATCH_VERSION}.vvv.quote.gz:vvv
-XML_NEEDED= yes
-.endif
-.if defined(WITH_MUTT_IFDEF_PATCH)
-post-patch::
- @${PATCH} ${PATCH_ARGS} -p1 < ${PATCHDIR}/extra-patch-ifdef
-.endif
-.if defined(WITH_MUTT_MBOX_HOOK_PATCH)
-IGNORE= the WITH_MUTT_MBOX_HOOK_PATCH does not work at the moment
-#PATCHFILES+= p0-patch-${DW_MBOX_PATCH_VERSION}.dw.mbox-hook.1:dw
-.endif
-.if defined(WITH_MUTT_SIDEBAR_PATCH)
-XML_NEEDED= yes
-.if defined(WITH_MUTT_NNTP)
-post-patch::
- @${PATCH} ${PATCH_ARGS} -p1 < ${PATCHDIR}/extra-patch-sidebar-nntp
-.else
-post-patch::
- @${PATCH} ${PATCH_ARGS} -p1 < ${PATCHDIR}/extra-patch-sidebar
-.endif
-.endif
-.if defined(WITH_MUTT_GREETING_PATCH)
-post-patch::
- @${PATCH} ${PATCH_ARGS} -p1 < ${PATCHDIR}/extra-patch-greeting
-.endif
-.if defined(WITH_MUTT_TRASH_PATCH)
-post-patch::
- @${PATCH} ${PATCH_ARGS} -p1 < ${PATCHDIR}/extra-patch-trash-purge
-.endif
-
-WRKSRC= ${WRKDIR}/${DISTNAME:S/i$//}
-MAN1= mutt.1 mutt_dotlock.1 flea.1 muttbug.1 smime_keys.1
-MAN5= muttrc.5
-.if !defined(WITHOUT_MUTT_MAILBOX_MANPAGES)
-MAN5+= mbox.5 mmdf.5
-.endif
-
-post-patch::
- @${REINPLACE_CMD} -e 's,/usr/bin/gpg,${LOCALBASE}/bin/gpg,g' \
- ${WRKSRC}/contrib/gpg.rc
- @${REINPLACE_CMD} -e 's,pgp6,pgp,g' \
- ${WRKSRC}/contrib/pgp6.rc
- @${REINPLACE_CMD} -E -e 's|@samplesdir@|${EXAMPLESDIR}|g' \
- ${WRKSRC}/contrib/Makefile.am
-.if defined(WITHOUT_MUTT_MAILBOX_MANPAGES)
- @${PATCH} ${PATCH_ARGS} < ${PATCHDIR}/extra-patch-no-mbox-manpage
-.endif
-
-pre-configure::
- @(cd ${WRKSRC}; ${SETENV} ${AUTOMAKE_ENV} ${ACLOCAL} -I m4)
-.if defined(USE_KRB5_SYS)
- @${ECHO_CMD} "#define HAVE_HEIMDAL" >> ${WRKSRC}/config.h.in
- @${REINPLACE_CMD} -e 's|<gssapi/gssapi\.h>|<gssapi.h>|' \
- ${WRKSRC}/imap/auth_gss.c
-.endif
-
-.if defined(MUTT_SLAVE_HTML_PAGES)
-SCRIPTS_ENV+= MUTT_SLAVE_HTML_PAGES="${MUTT_SLAVE_HTML_PAGES}"
-.endif
-.if defined(WITH_MUTT_NNTP)
-SCRIPTS_ENV+= MUTT_NNTP="yes"
-.endif
-.if ! defined (WITHOUT_MUTT_COMPRESSED_FOLDERS)
-SCRIPTS_ENV+= MUTT_COMPRESSED_FOLDERS="yes"
-.endif
-.if ! defined(WITHOUT_MUTT_QUOTE_PATCH)
-SCRIPTS_ENV+= MUTT_QUOTE_PATCH="yes"
-.endif
-.if defined(WITH_MUTT_IMAP_HEADER_CACHE)
-.if defined(WITH_TOKYOCABINET)
-CONFIGURE_ARGS+= --enable-hcache --without-gdbm --without-bdb --with-tokyocabinet
-LIB_DEPENDS+= tokyocabinet.9:${PORTSDIR}/databases/tokyocabinet
-.else
-USE_BDB= 42+
-CONFIGURE_ARGS+= --enable-hcache --without-gdbm --with-bdb
-.endif
-.else
-CONFIGURE_ARGS+= --disable-hcache
-.endif
-.if defined(WITH_MUTT_MAILDIR_HEADER_CACHE)
-CONFIGURE_ARGS+= --without-qdbm
-.endif
-.if defined(WITH_MUTT_SIDEBAR_PATCH)
-SCRIPTS_ENV+= MUTT_SIDEBAR_PATCH="yes"
-.endif
-.if defined(WITH_MUTT_SIGNATURE_MENU)
-SCRIPTS_ENV+= MUTT_SIGNATURE_MENU="yes"
-.endif
-.if defined(WITH_MUTT_IFDEF_PATCH)
-SCRIPTS_ENV+= MUTT_IFDEF_PATCH="yes"
-.endif
-.if ! defined(WITHOUT_MUTT_HTML)
-SCRIPTS_ENV+= MUTT_HTML="yes"
-.endif
-.if !defined(WITHOUT_NLS)
-SCRIPTS_ENV+= MUTT_NLS="yes"
-.endif
-.if defined(WITH_MUTT_REVERSE_REPLY_PATCH)
-SCRIPTS_ENV+= MUTT_REVERSE_REPLY_PATCH="yes"
-.endif
-
-.if !defined(NOPORTDOCS)
-SCRIPTS_ENV+= MUTT_PORTDOCS="yes"
-post-build:
- @${PATCH} ${PATCH_ARGS} < ${PATCHDIR}/extra-patch-doc-ref
- @${REINPLACE_CMD} -E -e 's|\$$\{PREFIX\}|${PREFIX}|g' \
- -e 's|\$$\{DOCSDIR\}|${DOCSDIR}|g' \
- -e 's|\$$\{EXAMPLESDIR\}|${EXAMPLESDIR}|g' \
- ${WRKSRC}/doc/mutt.man
- @${REINPLACE_CMD} -E -e 's|\$$\{PREFIX\}|${PREFIX}|g' \
- -e 's|\$$\{DOCSDIR\}|${DOCSDIR}|g' \
- -e 's|\$$\{EXAMPLESDIR\}|${EXAMPLESDIR}|g' \
- ${WRKSRC}/doc/muttrc.man
-.if ! defined(WITHOUT_MUTT_HTML)
-XML_USED= yes
-.endif
-.if defined(XML_NEEDED) && !defined(WITHOUT_MUTT_XML)
-XML_USED= yes
-.endif
-.else # ! NOPORTDOCS
-post-patch::
- @${PATCH} ${PATCH_ARGS} < ${PATCHDIR}/extra-patch-nodoc-contrib
-.endif # ! NOPORTDOCS
-
-.if ${XML_USED} == yes
-BUILD_DEPENDS+= xsltproc:${PORTSDIR}/textproc/libxslt \
- ${LOCALBASE}/share/xsl/docbook/html/docbook.xsl:${PORTSDIR}/textproc/docbook-xsl \
- lynx:${PORTSDIR}/www/lynx
-post-patch::
- @${PATCH} ${PATCH_ARGS} < ${PATCHDIR}/extra-patch-doc-xml
-.endif
-
-pre-install:
- @${SETENV} ${SCRIPTS_ENV} ${SH} ${SCRIPTDIR}/generate-plist > ${PLIST}
-
-post-install:
- @${ECHO} > ${PKGMESSAGE}
- ${INSTALL_DATA} ${WRKSRC}/doc/Muttrc ${PREFIX}/etc/Muttrc.dist
-.if !defined(NOPORTDOCS)
- @${ECHO} "===> Installing Mutt documentation"
- @${MKDIR} ${DOCSDIR} && ${CHMOD} a+rx ${DOCSDIR}
- @cd ${WRKSRC}/doc ; ${INSTALL_MAN} manual.txt PGP-Notes.txt \
- ../ABOUT-NLS ../contrib/language* ${DOCSDIR}
-.if defined(WITH_MUTT_NNTP)
- @cd ${WRKSRC} ; ${INSTALL_MAN} ChangeLog.nntp ${DOCSDIR}
-.endif
-.if ! defined(WITHOUT_MUTT_HTML)
- @${MKDIR} ${DOCSDIR}/html && ${CHMOD} a+rx ${DOCSDIR}/html
- ${INSTALL_MAN} ${WRKSRC}/doc/*.html ${DOCSDIR}/html
-.endif
-.endif
-.if defined(MUTT_USES_SLANG)
- @${ECHO} "=====================================================" >> ${PKGMESSAGE}
- @${ECHO} "You have installed ${PORTNAME} with SLANG support." >> ${PKGMESSAGE}
- @${ECHO} "This may work for a color terminal only when defining" >> ${PKGMESSAGE}
- @${ECHO} "COLORTERM=yes and COLORFGBG=\"color1;color2\" in your" >> ${PKGMESSAGE}
- @${ECHO} "environment." >> ${PKGMESSAGE}
- @${ECHO} "=====================================================" >> ${PKGMESSAGE}
-.endif
-.if !defined(BATCH)
- @${CAT} ${PKGMESSAGE}
- @${ECHO}
-.endif
-.include <bsd.port.post.mk>
diff --git a/mail/mutt-devel/distinfo b/mail/mutt-devel/distinfo
deleted file mode 100644
index fef44ea..0000000
--- a/mail/mutt-devel/distinfo
+++ /dev/null
@@ -1,10 +0,0 @@
-SHA256 (mutt/mutt-1.5.21.tar.gz) = 2141f36e8d0f4f71c9ca6780001e7cc679fe313e643953fc07f001223e67c4a0
-SIZE (mutt/mutt-1.5.21.tar.gz) = 3716886
-SHA256 (mutt/patch-1.5.21.rr.compressed.gz) = 5056b181222c4322667fd99a6314e80a4a8b4613357364d9deddef626136b4d9
-SIZE (mutt/patch-1.5.21.rr.compressed.gz) = 10133
-SHA256 (mutt/patch-1.5.21.vvv.nntp.gz) = 514cb4c3404bb68fef08781c17be41c6cd1251d05442db4105c6258f0b9d4928
-SIZE (mutt/patch-1.5.21.vvv.nntp.gz) = 55611
-SHA256 (mutt/patch-1.5.21.vvv.initials.gz) = ecce3643b04d1aced7085bca506896298bd56d991a5d1af057922c8358abf141
-SIZE (mutt/patch-1.5.21.vvv.initials.gz) = 691
-SHA256 (mutt/patch-1.5.21.vvv.quote.gz) = b0613d305932b31eaf005ee0740558d46561a6d7a333c97a00d34a1d0c1ef843
-SIZE (mutt/patch-1.5.21.vvv.quote.gz) = 1280
diff --git a/mail/mutt-devel/files/extra-patch-doc-ref b/mail/mutt-devel/files/extra-patch-doc-ref
deleted file mode 100644
index 9679f4c..0000000
--- a/mail/mutt-devel/files/extra-patch-doc-ref
+++ /dev/null
@@ -1,12 +0,0 @@
---- doc/mutt.man.orig 2009-02-06 13:52:38.000000000 +0100
-+++ doc/mutt.man 2009-02-06 13:55:05.000000000 +0100
-@@ -69,7 +69,8 @@
- .PP
- Mutt is a small but very powerful text based program for reading and sending electronic
- mail under unix operating systems, including support for color terminals, MIME,
--OpenPGP, and a threaded sorting mode.
-+OpenPGP, and a threaded sorting mode. Details of how to use all of this is
-+available in \fI${DOCSDIR}\fP.
- .PP
- .I Note:
- .IR
diff --git a/mail/mutt-devel/files/patch-02 b/mail/mutt-devel/files/patch-02
deleted file mode 100644
index 91fa4a1..0000000
--- a/mail/mutt-devel/files/patch-02
+++ /dev/null
@@ -1,32 +0,0 @@
---- doc/Makefile.am.orig 2010-09-17 16:04:58.000000000 +0200
-+++ doc/Makefile.am 2010-09-17 16:09:09.000000000 +0200
-@@ -47,7 +47,7 @@
-
- all: makedoc-all
-
--makedoc-all: mutt.1 smime_keys.1 muttrc.man manual.html stamp-doc-rc stamp-doc-chunked manual.txt
-+makedoc-all: mutt.1 smime_keys.1 muttrc.man
-
- install-data-local: makedoc-all instdoc
- $(top_srcdir)/mkinstalldirs $(DESTDIR)$(mandir)/man1
-@@ -70,9 +70,6 @@
- $(INSTALL) -m 644 $(srcdir)/$$f $(DESTDIR)$(docdir) ; \
- done
- -$(INSTALL) -m 644 manual.txt $(DESTDIR)$(docdir)
-- -for f in $(HTML_DOCFILES) ; do \
-- $(INSTALL) -m 644 $$f $(DESTDIR)$(docdir) ; \
-- done
- $(INSTALL) -m 644 Muttrc $(DESTDIR)$(sysconfdir)/Muttrc.dist
- -if [ -f $(DESTDIR)$(pkgdatadir)/Muttrc ] ; then \
- mv $(DESTDIR)$(pkgdatadir)/Muttrc* $(DESTDIR)$(sysconfdir) ; \
-@@ -103,9 +100,7 @@
-
- check:
- manual.txt: manual.html
-- -LC_ALL=C lynx -dump -nolist -with_backspaces -display_charset=us-ascii manual.html > $@ || \
-- LC_ALL=C w3m -dump manual.html > $@ || \
-- LC_ALL=C elinks -dump -no-numbering -no-references manual.html | sed -e 's,\\001, ,g' > $@
-+ -LC_ALL=C lynx -dump -nolist -with_backspaces -display_charset=us-ascii manual.html > $@
-
- Muttrc: stamp-doc-rc
-
diff --git a/mail/mutt-devel/files/patch-05 b/mail/mutt-devel/files/patch-05
deleted file mode 100644
index bfbb5aa..0000000
--- a/mail/mutt-devel/files/patch-05
+++ /dev/null
@@ -1,43 +0,0 @@
---- curs_lib.c.old Wed Sep 1 19:39:20 1999
-+++ curs_lib.c Sun Sep 26 23:47:03 1999
-@@ -156,6 +156,16 @@
- def = 0;
- break;
- }
-+ else if (tolower(ch.ch) == 'y')
-+ {
-+ def = 1;
-+ break;
-+ }
-+ else if (tolower(ch.ch) == 'n')
-+ {
-+ def = 0;
-+ break;
-+ }
- else
- {
- BEEP();
-@@ -413,8 +423,9 @@
- {
- event_t ch;
- int choice;
-- char *p;
-+ char *p, *nletters;
-
-+ nletters = _(letters);
- mvaddstr (LINES - 1, 0, prompt);
- clrtoeol ();
- FOREVER
-@@ -428,6 +439,12 @@
- }
- else
- {
-+ p = strchr (nletters, ch.ch);
-+ if (p)
-+ {
-+ choice = p - nletters + 1;
-+ break;
-+ }
- p = strchr (letters, ch.ch);
- if (p)
- {
diff --git a/mail/mutt-devel/files/patch-08 b/mail/mutt-devel/files/patch-08
deleted file mode 100644
index 69d353f..0000000
--- a/mail/mutt-devel/files/patch-08
+++ /dev/null
@@ -1,10 +0,0 @@
---- doc/Muttrc.orig Sat May 13 08:30:44 2000
-+++ doc/Muttrc Sat May 13 08:32:05 2000
-@@ -629,6 +629,7 @@
- # Type: boolean
- # Default: yes
- #
-+set followup_to=no
- #
- # Controls whether or not the Mail-Followup-To header field is
- # generated when sending mail. When set, Mutt will generate this
diff --git a/mail/mutt-devel/files/patch-examples b/mail/mutt-devel/files/patch-examples
deleted file mode 100644
index a2c8815..0000000
--- a/mail/mutt-devel/files/patch-examples
+++ /dev/null
@@ -1,109 +0,0 @@
---- contrib/Makefile.am.orig Tue Jul 18 20:04:14 2006
-+++ contrib/Makefile.am Wed Aug 30 16:05:33 2006
-@@ -1,6 +1,7 @@
- # $Id: Makefile.am,v 3.1 2006/07/18 18:04:14 brendan Exp $
-
- subdir = contrib
-+samplesdir = @samplesdir@
-
- SAMPLES = Mush.rc Pine.rc gpg.rc pgp2.rc pgp5.rc pgp6.rc Tin.rc \
- sample.muttrc sample.mailcap sample.muttrc-tlr \
-@@ -14,12 +15,12 @@
- iconv/make.sh
-
- install-data-local:
-- $(top_srcdir)/mkinstalldirs $(DESTDIR)$(docdir)/samples $(DESTDIR)$(docdir)/samples/iconv
-+ $(top_srcdir)/mkinstalldirs $(DESTDIR)$(samplesdir) $(DESTDIR)$(samplesdir)/iconv
- for f in $(SAMPLES) ; do \
-- $(INSTALL) -m 644 $(srcdir)/$$f $(DESTDIR)$(docdir)/samples ; \
-+ $(INSTALL) -m 644 $(srcdir)/$$f $(DESTDIR)$(samplesdir) ; \
- done
- for f in $(srcdir)/iconv/*.rc ; do \
-- $(INSTALL) -m 644 $$f $(DESTDIR)$(docdir)/samples/iconv ; \
-+ $(INSTALL) -m 644 $$f $(DESTDIR)$(samplesdir)/iconv ; \
- done
-
- uninstall-local:
---- init.h.orig 2009-02-06 13:27:52.000000000 +0100
-+++ init.h 2009-02-06 13:34:09.000000000 +0100
-@@ -1808,9 +1808,8 @@
- ** .pp
- ** For examples on how to configure these formats for the various versions
- ** of PGP which are floating around, see the pgp and gpg sample configuration files in
-- ** the \fCsamples/\fP subdirectory which has been installed on your system
-- ** alongside the documentation.
-- ** (PGP only)
-+ ** the \fCshare/examples/mutt/\fP subdirectory which has been installed on
-+ ** your system. (PGP only)
- */
- { "pgp_getkeys_command", DT_STR, R_NONE, UL &PgpGetkeysCommand, 0},
- /*
-@@ -2017,9 +2016,8 @@
- ** .de
- ** .pp
- ** For examples on how to configure these formats, see the \fCsmime.rc\fP in
-- ** the \fCsamples/\fP subdirectory which has been installed on your system
-- ** alongside the documentation.
-- ** (S/MIME only)
-+ ** the \fCshare/examples/mutt/\fP subdirectory which has been installed on
-+ ** your system. (S/MIME only)
- */
- { "smime_verify_command", DT_STR, R_NONE, UL &SmimeVerifyCommand, 0},
- /*
---- INSTALL.orig Mon Nov 25 15:16:46 2002
-+++ INSTALL Wed Mar 26 15:59:57 2003
-@@ -225,13 +225,13 @@
- need to tell mutt about implementation-defined names for some
- character sets. Sample configuration files for various systems can
- be found in the directory contrib/iconv/ in this source
--distribution, and will be installed in the samples/iconv directory
-+distribution, and will be installed in the share/examples/mutt/iconv directory
- as part of mutt's documentation.
-
- In order to use these sample configuration files, just put a line
- like
-
-- source /usr/local/doc/mutt/samples/iconv/iconv.osf1-4.0d.rc
-+ source /usr/local/share/examples/mutt/iconv/iconv.osf1-4.0d.rc
-
- into your system's global Muttrc, which normally resides in /etc or
- /usr/local/etc.
---- doc/manual.txt.orig 2009-06-14 20:54:56.000000000 +0200
-+++ doc/manual.txt 2009-06-22 15:11:26.000000000 +0200
-@@ -3225,9 +3225,9 @@
- shows that arguments can be quoted: the script will receive the expanded string
- between the single quotes as the only argument.
-
--A practical example is the mutt_xtitle script installed in the samples
--subdirectory of the Mutt documentation: it can be used as filter for
--$status_format to set the current terminal's title, if supported.
-+A practical example is the mutt_xtitle script installed in the
-+share/examples/mutt/ subdirectory of the Mutt documentation: it can be used as
-+filter for $status_format to set the current terminal's title, if supported.
-
- 29.4. Padding
-
-@@ -7740,8 +7740,8 @@
-
- For examples on how to configure these formats for the various versions of PGP
- which are floating around, see the pgp and gpg sample configuration files in
--the samples/ subdirectory which has been installed on your system alongside the
--documentation. (PGP only)
-+the share/examples/mutt/ subdirectory which has been installed on your system.
-+(PGP only)
-
- 3.158. pgp_decrypt_command
-
-@@ -8751,9 +8751,9 @@
- | |$smime_ca_location?. |
- +-----------------------------------------------------------------------------+
-
--For examples on how to configure these formats, see the smime.rc in the samples
--/ subdirectory which has been installed on your system alongside the
--documentation. (S/MIME only)
-+For examples on how to configure these formats, see the smime.rc in the
-+share/examples/mutt/ subdirectory which has been installed on your system.
-+(S/MIME only)
-
- 3.244. smime_decrypt_use_default_key
-
diff --git a/mail/mutt-devel/files/patch-init.c b/mail/mutt-devel/files/patch-init.c
deleted file mode 100644
index 389b682..0000000
--- a/mail/mutt-devel/files/patch-init.c
+++ /dev/null
@@ -1,39 +0,0 @@
---- init.c.orig Wed Jul 24 10:41:29 2002
-+++ init.c Sat May 3 08:46:29 2003
-@@ -1707,7 +1707,11 @@
- void mutt_init (int skip_sys_rc, LIST *commands)
- {
- struct passwd *pw;
-+#if __FreeBSD_version < 500000
-+ char nodename[STRING];
-+#else
- struct utsname utsname;
-+#endif
- char *p, buffer[STRING], error[STRING];
- int i, default_rc = 0, need_pause = 0;
- BUFFER err;
-@@ -1765,16 +1769,21 @@
- #endif
-
- /* And about the host... */
-+#if __FreeBSD_version < 500000
-+ gethostname(nodename, sizeof (nodename));
-+#else
- uname (&utsname);
-+ strfcpy (nodename, utsname.nodename, sizeof (nodename));
-+#endif
- /* some systems report the FQDN instead of just the hostname */
-- if ((p = strchr (utsname.nodename, '.')))
-+ if ((p = strchr (nodename, '.')))
- {
-- Hostname = mutt_substrdup (utsname.nodename, p);
-+ Hostname = mutt_substrdup (nodename, p);
- p++;
- strfcpy (buffer, p, sizeof (buffer)); /* save the domain for below */
- }
- else
-- Hostname = safe_strdup (utsname.nodename);
-+ Hostname = safe_strdup (nodename);
-
- #ifndef DOMAIN
- #define DOMAIN buffer
diff --git a/mail/mutt-devel/files/patch-mktemp b/mail/mutt-devel/files/patch-mktemp
deleted file mode 100644
index 16521f7..0000000
--- a/mail/mutt-devel/files/patch-mktemp
+++ /dev/null
@@ -1,23 +0,0 @@
---- muttlib.c.orig 2010-09-19 09:58:24.000000000 +0200
-+++ muttlib.c 2010-09-19 10:36:26.000000000 +0200
-@@ -788,14 +788,15 @@
-
- void _mutt_mktemp (char *s, size_t slen, const char *src, int line)
- {
-- size_t n = snprintf (s, slen, "%s/mutt-%s-%d-%d-%ld%ld", NONULL (Tempdir), NONULL (Hostname),
-- (int) getuid (), (int) getpid (), random (), random ());
-+ size_t n = snprintf (s, slen, "%s/mutt-%s-XXXXXXXX", NONULL (Tempdir), NONULL (Hostname));
- if (n >= slen)
- dprint (1, (debugfile, "%s:%d: ERROR: insufficient buffer space to hold temporary filename! slen=%zu but need %zu\n",
- src, line, slen, n));
-- dprint (3, (debugfile, "%s:%d: mutt_mktemp returns \"%s\".\n", src, line, s));
-- if (unlink (s) && errno != ENOENT)
-- dprint (1, (debugfile, "%s:%d: ERROR: unlink(\"%s\"): %s (errno %d)\n", src, line, s, strerror (errno), errno));
-+ if (mktemp (s)) {
-+ dprint (3, (debugfile, "%s:%d: mutt_mktemp returns \"%s\".\n", src, line, s));
-+ } else {
-+ dprint (1, (debugfile, "%s:%d: ERROR: mktemp(\"%s\"): %s (errno %d)\n", src, line, s, strerror (errno), errno));
-+ }
- }
-
- void mutt_free_alias (ALIAS **p)
diff --git a/mail/mutt-devel/files/patch-threadcomplete b/mail/mutt-devel/files/patch-threadcomplete
deleted file mode 100644
index d151009..0000000
--- a/mail/mutt-devel/files/patch-threadcomplete
+++ /dev/null
@@ -1,37 +0,0 @@
---- mutt.h.orig2 Mon Sep 6 09:24:17 2004
-+++ mutt.h Mon Sep 6 09:27:04 2004
-@@ -212,6 +212,7 @@
- M_LIMIT,
- M_EXPIRED,
- M_SUPERSEDED,
-+ M_THREADCOMPLETE,
-
- /* actions for mutt_pattern_comp/mutt_pattern_exec */
- M_AND,
---- pattern.c.orig2 Sun Sep 18 15:17:46 2005
-+++ pattern.c Sun Sep 18 15:19:48 2005
-@@ -54,6 +54,7 @@
- }
- Flags[] =
- {
-+ { 'a', M_THREADCOMPLETE, 0, NULL },
- { 'A', M_ALL, 0, NULL },
- { 'b', M_BODY, M_FULL_MSG, eat_regexp },
- { 'B', M_WHOLE_MSG, M_FULL_MSG, eat_regexp },
-@@ -1139,6 +1140,16 @@
- 2, h->env->to, h->env->cc));
- case M_LIST: /* known list, subscribed or not */
- return (pat->not ^ mutt_is_list_cc (pat->alladdr, h->env->to, h->env->cc));
-+ case M_THREADCOMPLETE:
-+ { static pattern_t tmp;
-+ static short pattern_set = 0;
-+ if(! pattern_set) {
-+ memset (&tmp, 0, sizeof (tmp));
-+ tmp.op = M_TAG;
-+ pattern_set = 1;
-+ }
-+ return (pat->not ^ (h->env && match_threadcomplete(&tmp, flags, ctx, h->thread, 1, 1, 1, 1)));
-+ }
- case M_SUBSCRIBED_LIST:
- return (pat->not ^ mutt_is_list_recipient (pat->alladdr, h->env->to, h->env->cc));
- case M_PERSONAL_RECIP:
diff --git a/mail/mutt-devel/pkg-descr b/mail/mutt-devel/pkg-descr
deleted file mode 100644
index 68d853a..0000000
--- a/mail/mutt-devel/pkg-descr
+++ /dev/null
@@ -1,12 +0,0 @@
-Mutt -- "The Mongrel of Mail User Agents" (part Elm, part Pine, part mh,
-part slrn, part everything else) is an interactive screen-oriented mailer
-program that supersedes Elm, Pine, mail and mailx.
-
-Features include color support, message threading, MIME support (including
-RFC1522 support for encoded headers), customizable key bindings, POP3,
-Delivery Status Notification (DSN) support, and PGP/MIME.
-
-WWW: http://www.mutt.org/
-Mutt User Information: http://www.math.fu-berlin.de/~guckes/mutt/
-
- -- David (obrien@cs.ucdavis.edu)
diff --git a/mail/mutt/Makefile b/mail/mutt/Makefile
index 6ab2f2e..6740b01 100644
--- a/mail/mutt/Makefile
+++ b/mail/mutt/Makefile
@@ -1,145 +1,497 @@
# ex:ts=8
-# Ports collection makefile for: mutt w/pgp hooks
-# Date created: Thur July 25, 1996
-# Whom: David O'Brien (obrien@NUXI.com)
+# Ports collection makefile for: mutt development
+# Date created: 6 Jun 2001
+# Whom: Udo Schweigert
#
# $FreeBSD$
#
+# There are several knobs which are used to define additions to the core
+# mutt functionality.
+#
+# As all of the knobs have a unique name which should not interfere with
+# other ports you can add them to /etc/make.conf, e.g. a line like
+# "WITH_MUTT_NNTP=yes" will enable mutt's nntp facilities.
+#
+# In addition to the knobs listed below you can enable other configuration
+# options of mutt by adding them to the MUTT_CONFIGURE_ARGS variable. For
+# example you could say "MUTT_CONFIGURE_ARGS=--with-homespool=MyMail" to
+# configure a different file for mutt's homespool.
+#
+# The two most important knobs are:
+#
+# In general you can choose between using ncurses (WITH_MUTT_NCURSES)
+# and SLANG (WITH_MUTT_SLANG). Note that you may have to set the variables
+# COLORTERM=yes and COLORFGBG="color1;color2" in your environment to get slang
+# function properly.
+# The default version for ncurses is that which comes with the operating
+# system. If you want to use the ncurses supplied by the ports-system define
+# WITH_MUTT_NCURSES_PORT.
+#
+# If you want to install the mutt documentation in html and ps format define:
+# WITH_MUTT_HTML
+# This is a default knob and can be disabled by WITHOUT_MUTT_HTML
+#
+# If you do not want that the documentation is rebuilt using the xml tools
+# define:
+# WITHOUT_MUTT_XML
+# (this can only be stated if WITHOUT_MUTT_HTML is defined)
+#
+# If you want to access compressed email folders define:
+# WITH_MUTT_COMPRESSED_FOLDERS
+# This is a default knob and can be disabled by WITHOUT_MUTT_COMPRESSED_FOLDERS
+#
+# If you do not want mutt to use the iconv library define:
+# WITHOUT_MUTT_ICONV
+#
+# If you want mutt to use the idn library define:
+# WITH_MUTT_IDN
+#
+# If you want to make use of the gpgme interface define:
+# WITH_MUTT_GPGME
+#
+# If you want to enable extended quoting functions define:
+# WITH_MUTT_QUOTE_PATCH
+# This is a default knob and can be disabled by WITHOUT_MUTT_QUOTE_PATCH
+#
+# If you want to have the IMAP header cache define:
+# WITH_MUTT_IMAP_HEADER_CACHE
+#
+# If you want to have the Maildir and the IMAP header cache define:
+# WITH_MUTT_MAILDIR_HEADER_CACHE
+#
+# If you want to make SMIME outlook compatible define:
+# WITH_MUTT_SMIME_OUTLOOK_COMPAT
+# This is a default knob and can be disabled by
+# WITHOUT_MUTT_SMIME_OUTLOOK_COMPAT
+#
+# If you want to read and post news with mutt define:
+# WITH_MUTT_NNTP
+#
+# If you want to use the SASL2 authentication features with your email server
+# define
+# WITH_MUTT_CYRUS_SASL2
+#
+# If you want mutt to use the GNU aspell spelling checker define:
+# WITH_MUTT_ASPELL
+#
+# If you want mutt to use the ispell spelling checker define:
+# WITH_MUTT_ISPELL
+#
+# If you want to use the signature menu define:
+# WITH_MUTT_SIGNATURE_MENU
+#
+# If you want to use the printf-like enhancement to the mbox-hook command
+# define:
+# WITH_MUTT_MBOX_HOOK_PATCH
+#
+# If you want to use the ifdef feature define:
+# WITH_MUTT_IFDEF_PATCH
+#
+# If you want to have the Maildir mtime patch define:
+# WITH_MUTT_MAILDIR_MTIME_PATCH
+#
+# If you want to have the Mailbox Sidebar patch define:
+# WITH_MUTT_SIDEBAR_PATCH
+#
+# If you do not want mutt to use the flock() function define:
+# WITHOUT_MUTT_FLOCK
+#
+# If you want to enable the reverse_reply option define:
+# WITH_MUTT_REVERSE_REPLY_PATCH
+#
+# If you want to enable the `greeting' option define:
+# WITH_MUTT_GREETING_PATCH
+#
+# If you want to enable the parent/child match support define:
+# WITH_MUTT_PARENT_CHILD_MATCH_PATCH
+#
+# If you want to be able to use a trash folder for deleted emails (especially useful
+# for example for googlemail) define:
+# WITH_MUTT_TRASH_PATCH
+#
+# If you want to enable the internal SMTP relay support define:
+# WITH_MUTT_SMTP
+#
+# If you want to enable debugging capabilities define:
+# WITH_MUTT_DEBUG
+#
+# If you do not want to install the manpages mbox.5 and mmdf.5 (because that
+# conflicts with other ports which installed these:
+# WITHOUT_MUTT_MAILBOX_MANPAGES
+#
+# Use CFLAGS_ADD and LDFLAGS_ADD to append additional CLFAGS and LDFLAGS.
+#
PORTNAME= mutt
-PORTVERSION= 1.4.2.3
-PORTREVISION?= 6
+PORTVERSION= 1.5.21
CATEGORIES+= mail ipv6
-MASTER_SITES= ftp://ftp.mutt.org/mutt/ \
- ftp://ftp.fu-berlin.de/pub/unix/mail/mutt/ \
- ftp://ftp.demon.co.uk/pub/mirrors/mutt/
-
-PATCHVERSION?= ${PORTVERSION}
-PATCHVERSION= 1.4.2.2
-PATCH_SITES= http://www.mutt.org.ua/download/mutt-${PATCHVERSION}/:vvv \
- http://www2.mutt.org.ua/download/mutt-${PATCHVERSION}/:vvv \
- http://www3.mutt.org.ua/download/mutt-${PATCHVERSION}/:vvv \
- ftp://ftp.mutt.org.ua/pub/mutt/mutt-${PATCHVERSION}/:vvv \
- ftp://ftp3.mutt.org.ua/pub/mutt/mutt-${PATCHVERSION}/:vvv
-PATCHFILES= patch-${PATCHVERSION}.rr.compressed.gz:vvv \
- patch-${PATCHVERSION}.vvv.initials.gz:vvv
-PATCH_DIST_STRIP= -p1
+.if defined(WITH_MUTT_NNTP)
+CATEGORIES+= news
+.endif
+MASTER_SITES= ftp://ftp.mutt.org/mutt/devel/ \
+ ftp://ftp.fu-berlin.de/pub/unix/mail/mutt/devel/ \
+ ftp://ftp.demon.co.uk/pub/mirrors/mutt/devel/ \
+ http://www.mutt.org.ua/download/mutt-${VVV_PATCH_VERSION}/:vvv \
+ http://www2.mutt.org.ua/download/mutt-${VVV_PATCH_VERSION}/:vvv \
+ http://www3.mutt.org.ua/download/mutt-${VVV_PATCH_VERSION}/:vvv \
+ ftp://ftp.mutt.org.ua/pub/mutt/mutt-${VVV_PATCH_VERSION}/:vvv \
+ ftp://ftp3.mutt.org.ua/pub/mutt/mutt-${VVV_PATCH_VERSION}/:vvv \
+ http://www.spinnaker.de/mutt/compressed/:rr \
+ http://lunar-linux.org/~tchan/mutt/:tchan
+DISTNAME= mutt-${PORTVERSION}
+DISTFILES= ${DISTNAME}${EXTRACT_SUFX}
+EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
+
+PATCH_SITES+= http://www.mutt.org.ua/download/mutt-${VVV_PATCH_VERSION}/:vvv \
+ http://www2.mutt.org.ua/download/mutt-${VVV_PATCH_VERSION}/:vvv \
+ http://www3.mutt.org.ua/download/mutt-${VVV_PATCH_VERSION}/:vvv \
+ ftp://ftp.mutt.org.ua/pub/mutt/mutt-${VVV_PATCH_VERSION}/:vvv \
+ ftp://ftp3.mutt.org.ua/pub/mutt/mutt-${VVV_PATCH_VERSION}/:vvv \
+ http://home.woolridge.ca/mutt/patches/:dw \
+ http://www.spinnaker.de/mutt/compressed/:rr \
+ http://www.emaillab.org/mutt/${AC_PATCH_VERSION}/:jp
MAINTAINER?= udo.schweigert@siemens.com
-COMMENT?= The Mongrel of Mail User Agents (part Elm, Pine, Mush, mh, etc.)
+COMMENT?= The Mongrel of Mail User Agents (development version)
-CONFLICTS?= ja-mutt-[0-9]* ja-mutt-devel-[0-9]* mutt-devel-[0-9]* mutt-devel-lite-[0-9]* mutt-lite-[0-9]* zh-mutt-devel-[0-9]*
+CONFLICTS?= ja-mutt-[0-9]* ja-mutt-devel-[0-9]* mutt-1.4* mutt-devel-lite-[0-9]* mutt-lite-[0-9]* zh-mutt-devel-[0-9]*
-OPTIONS= NLS "Native Language Support via gettext utilities" on \
- SLANG "Adds display/screen management via S-Lang" off \
- NCURSES "Adds ncurses console graphics support" off \
- SGML_DOCS "Enable mutt SGML documentation" off \
- LOCALES_FIX "Enable locales fixes" off \
- MUTT_XFACE "Adds mutt X-Face" off \
- MUTT_FLOCK "Enable mutt flock" on \
- MUTT_ICONV "Enable mutt iconv" on \
- GSSAPI "GSSAPI (Kerberos) support" on
+DIST_SUBDIR= mutt
+DOCSDIR?= ${PREFIX}/share/doc/mutt
+EXAMPLESDIR?= ${PREFIX}/share/examples/mutt
+DATADIR?= ${PREFIX}/share/mutt
+CONFIGURE_ENV= CC="${CC} -I${LOCALBASE}/include"
+CONFIGURE_ARGS= --disable-fcntl --with-ssl=${OPENSSLBASE} \
+ --with-docdir=${DOCSDIR} --sysconfdir=${PREFIX}/etc \
+ --enable-external-dotlock --enable-pop --enable-imap \
+ --disable-warnings
+.if defined(MUTT_CONFIGURE_ARGS)
+CONFIGURE_ARGS+= ${MUTT_CONFIGURE_ARGS}
+.endif
+USE_AUTOTOOLS= automake autoconf
USE_OPENSSL= yes
USE_NCURSES= yes
+USE_NCURSES_RPATH= yes
+
+.if !defined (MUTT_LITE)
+OPTIONS= MUTT_ASPELL "Enable aspell support" off \
+ MUTT_COMPRESSED_FOLDERS "Enable compressed folders" on \
+ MUTT_CYRUS_SASL2 "Enable SASL2 authentication" off \
+ MUTT_DEBUG "Enable debugging capabilities" off \
+ MUTT_FLOCK "Enable flock() usage" off \
+ MUTT_GPGME "Enable gpgme interface" off \
+ MUTT_GREETING_PATCH "Enable greeting" off \
+ MUTT_HTML "Enable HTML documentation" on \
+ MUTT_ICONV "Enable iconv support" on \
+ MUTT_IDN "Enable idn support" off \
+ MUTT_IFDEF_PATCH "Enable ifdef feature" off \
+ MUTT_IMAP_HEADER_CACHE "Enable imap header cache" off \
+ MUTT_ISPELL "Enable ispell support" off \
+ MUTT_LOCALES_FIX "Enable locales fix" off \
+ MUTT_MAILBOX_MANPAGES "Install mbox.5/mmdf.5 manpages" on \
+ MUTT_MAILDIR_HEADER_CACHE "Enable maildir header cache" off \
+ MUTT_MAILDIR_MTIME_PATCH "Enable Maildir mtime patch" off \
+ MUTT_MBOX_HOOK_PATCH "Enable enhanced mbox-hook" off \
+ MUTT_NCURSES "Enable ncurses support" on \
+ MUTT_NCURSES_PORT "Use ncurses from port" off \
+ MUTT_NNTP "Enable news reader" off \
+ MUTT_PARENT_CHILD_MATCH_PATCH "Enable parent/child match" off \
+ MUTT_QUOTE_PATCH "Enable extended quoting" on \
+ MUTT_REVERSE_REPLY_PATCH "Enable reverse_reply" off \
+ MUTT_SGMLFORMAT "Enable sgml support" on \
+ MUTT_SIDEBAR_PATCH "Enable sidebar" off \
+ MUTT_SIGNATURE_MENU "Enable signature menu" off \
+ MUTT_SLANG "Enable slang support" off \
+ MUTT_SMIME_OUTLOOK_COMPAT "SMIME outlook compatible" on \
+ MUTT_SMTP "Enable SMTP relay support" off \
+ MUTT_TRASH_PATCH "Enable trash folder support" off \
+ MUTT_XML "Use XML tools for docu" on
+.endif
+
+PLIST= ${WRKDIR}/PLIST
+PKGMESSAGE= ${WRKDIR}/pkg-message
+SCRIPTS_ENV= WRKDIR="${WRKDIR}"
.include <bsd.port.pre.mk>
-RUN_DEPENDS= ${LOCALBASE}/etc/mime.types:${PORTSDIR}/misc/mime-support
-.if defined(PACKAGE_BUILDING) && !defined (MUTT_LITE)
-WITH_SLANG= yes
-BUILD_DEPENDS= ispell:${PORTSDIR}/textproc/ispell
-RUN_DEPENDS+= ispell:${PORTSDIR}/textproc/ispell \
- urlview:${PORTSDIR}/textproc/urlview
+DW_PATCH_VERSION= 1.5.6
+AC_PATCH_VERSION= 1.5.9
+DW_MBOX_PATCH_VERSION= 1.5.18
+.if !defined(VVV_PATCH_VERSION)
+VVV_PATCH_VERSION= ${PORTVERSION}
+.endif
+.if !defined(RR_PATCH_VERSION)
+RR_PATCH_VERSION= ${PORTVERSION}
+.endif
+.if !defined(DW_PATCH_VERSION)
+DW_PATCH_VERSION= ${PORTVERSION}
+.endif
+.if !defined(DW_MBOX_PATCH_VERSION)
+DW_MBOX_PATCH_VERSION= ${DW_PATCH_VERSION}
+.endif
+.if !defined(AC_PATCH_VERSION)
+AC_PATCH_VERSION= ${PORTVERSION}
+.endif
+.if defined(WITH_MUTT_MAILDIR_HEADER_CACHE)
+WITH_MUTT_IMAP_HEADER_CACHE= yes
.endif
.if defined (MUTT_LITE)
+WITHOUT_MUTT_XML= yes
+WITHOUT_MUTT_COMPRESSED_FOLDERS= yes
+WITHOUT_MUTT_QUOTE_PATCH= yes
+WITHOUT_MUTT_HTML= yes
+WITH_MUTT_NCURSES= yes
PKGNAMESUFFIX= -lite
-WITH_SGML_DOCS:=no
-.elif ${ARCH} == "alpha"
-# coredump in sgmls
-WITH_SGML_DOCS:=no
.endif
+# XXX
+# this should be done automagically by aclocal but ....
+# for now, this will have to do
+pre-build:
+ @${REINPLACE_CMD} -E -e "s|^(ACLOCAL = ).+|\1${ACLOCAL}|" \
+ -e "s|^(AUTOCONF = ).+|\1${AUTOCONF}|" \
+ -e "s|^(AUTOMAKE = ).+|\1${AUTOMAKE}|" \
+ -e "s|^(AUTOHEADER = ).+|\1${AUTOHEADER}|" \
+ ${BUILD_WRKSRC}/Makefile
+
+RUN_DEPENDS+= ${LOCALBASE}/etc/mime.types:${PORTSDIR}/misc/mime-support
+.if !defined (MUTT_LITE)
+.if exists(${LOCALBASE}/bin/aspell) && !defined(WITH_MUTT_ISPELL)
+WITH_MUTT_ASPELL= yes
+.elif exists(${LOCALBASE}/bin/ispell) && !defined(WITH_MUTT_ASPELL)
+WITH_MUTT_ISPELL= yes
+.endif
+.if defined(PACKAGE_BUILDING) && !defined(WITH_MUTT_ASPELL) && \
+ !defined(WITH_MUTT_ISPELL)
+WITH_MUTT_ASPELL= yes
+.endif
+.if defined(WITH_MUTT_ASPELL)
+BUILD_DEPENDS+= aspell:${PORTSDIR}/textproc/aspell
+RUN_DEPENDS+= aspell:${PORTSDIR}/textproc/aspell
+.elif defined(WITH_MUTT_ISPELL)
+BUILD_DEPENDS+= ispell:${PORTSDIR}/textproc/ispell
+RUN_DEPENDS+= ispell:${PORTSDIR}/textproc/ispell
+.endif
+.if defined(PACKAGE_BUILDING)
+RUN_DEPENDS+= urlview:${PORTSDIR}/textproc/urlview
+.endif
+.endif
+
+.if defined(WITH_MUTT_NCURSES_PORT)
+WITH_MUTT_NCURSES= yes
+.endif
+.if defined(WITH_MUTT_SLANG) || defined(WITH_SLANG)
+MUTT_USES_SLANG= yes
+.endif
+.if defined(WITH_MUTT_NCURSES) && !defined(MUTT_USES_SLANG)
+MUTT_USES_NCURSES= yes
+.endif
+.if !defined(MUTT_USES_SLANG) && !defined(WITHOUT_MUTT_SLANG)
+MUTT_USES_NCURSES= yes
+.endif
+.if defined(WITHOUT_MUTT_SGMLFORMAT)
+XML_USED= no
+.endif
+.if defined(WITHOUT_MUTT_XML)
+XML_USED= no
+.endif
+.if !defined(XML_USED)
+XML_USED= no
+.endif
.if !defined(WITHOUT_NLS)
USE_GETTEXT= yes
-USE_ICONV= yes
-.if defined(WITHOUT_MUTT_ICONV)
-IGNORE= the WITHOUT_MUTT_ICONV knob of the mutt port only works if \
- WITHOUT_NLS is also given
.endif
-.elif !defined(WITHOUT_MUTT_ICONV)
+.if !defined(WITHOUT_MUTT_ICONV)
USE_ICONV= yes
.endif
-
-.if defined(WITH_SLANG)
-LIB_DEPENDS+= slang.2:${PORTSDIR}/devel/libslang2
-.elif defined(WITH_NCURSES)
+.if defined(NOPORTDOCS)
+XML_USED= no
+.endif
+.if defined(WITH_MUTT_NCURSES_PORT)
+.if !defined(MUTT_USES_SLANG)
+MUTT_USES_NCURSES_PORT= yes
+.endif
+.endif
+.if defined(MUTT_USES_NCURSES_PORT)
WITH_NCURSES_PORT= yes
+CFLAGS+= -I${NCURSESINC}
+.elif defined(MUTT_USES_SLANG)
+LIB_DEPENDS+= slang.2:${PORTSDIR}/devel/libslang2
.endif
-.if !defined (MUTT_LITE)
-.if defined(WITH_MUTT_CYRUS_SASL)
-IGNORE= the SASL support for mutt has been withdrawn. Please use the mutt-devel port instead
+.if defined(WITH_MUTT_CYRUS_SASL2)
+LIB_DEPENDS+= sasl2.2:${PORTSDIR}/security/cyrus-sasl2
+.endif
+.if exists(${LOCALBASE}/lib/libidn.so) && !defined(WITHOUT_MUTT_IDN)
+WITH_MUTT_IDN= yes
.endif
-.if defined(WITH_SGML_DOCS) && ${WITH_SGML_DOCS} != "no"
-BUILD_DEPENDS+= sgmlfmt:${PORTSDIR}/textproc/sgmlformat
+.if defined(WITH_MUTT_IDN)
+LIB_DEPENDS+= idn:${PORTSDIR}/dns/libidn
.endif
-.if defined(WITH_MUTT_XFACE)
-PATCH_DEPENDS+= ${NONEXISTENT}:${PORTSDIR}/news/slrnface:extract
-RUN_DEPENDS+= slrnface:${PORTSDIR}/news/slrnface
+.if defined(WITH_MUTT_GPGME)
+LIB_DEPENDS+= gpgme:${PORTSDIR}/security/gpgme
+.endif
+.if ! defined(WITHOUT_MUTT_SMIME_OUTLOOK_COMPAT)
+post-patch::
+ @${PATCH} ${PATCH_ARGS} < ${PATCHDIR}/extra-patch-smime-outlook
+.endif
+.if defined(WITH_MUTT_SIGNATURE_MENU)
+IGNORE= the WITH_MUTT_SIGNATURE_MENU does not work at the moment
+XML_NEEDED= yes
+post-patch::
+ @${PATCH} ${PATCH_ARGS} -p1 < ${PATCHDIR}/extra-patch-signature-menu
+.endif
+.if defined(WITH_MUTT_MAILDIR_MTIME_PATCH)
+post-patch::
+.if defined(WITH_MUTT_NNTP)
+ @${PATCH} ${PATCH_ARGS} < ${PATCHDIR}/extra-patch-maildir-mtime-nntp
+.else
+ @${PATCH} ${PATCH_ARGS} < ${PATCHDIR}/extra-patch-maildir-mtime
.endif
.endif
-DIST_SUBDIR= mutt
-WRKSRC= ${WRKDIR}/${DISTNAME:S/i$//}
-GNU_CONFIGURE= yes
-USE_AUTOTOOLS= automake autoconf
-LDFLAGS+= -L${LOCALBASE}/lib
-CONFIGURE_ENV= CC="${CC} -I${LOCALBASE}/include"
-CONFIGURE_ARGS= --enable-pop --enable-imap --disable-fcntl \
- --with-ssl=${OPENSSLBASE} --sysconfdir=${PREFIX}/etc \
- --with-sharedir=${PREFIX}/share/mutt \
- --with-docdir=${DOCSDIR} --with-charmaps \
- --enable-compressed
-.if defined(MUTT_CONFIGURE_ARGS)
-CONFIGURE_ARGS+= ${MUTT_CONFIGURE_ARGS}
+.if defined(WITH_MUTT_ASPELL)
+post-patch::
+ @${PATCH} ${PATCH_ARGS} < ${PATCHDIR}/extra-patch-aspell
+.endif
+
+.if defined(WITH_MUTT_REVERSE_REPLY_PATCH)
+post-patch::
+ @${PATCH} ${PATCH_ARGS} < ${PATCHDIR}/extra-patch-reverse_reply
.endif
+
+.if defined(WITH_MUTT_PARENT_CHILD_MATCH_PATCH)
+post-patch::
+ @${PATCH} ${PATCH_ARGS} -p1 < ${PATCHDIR}/extra-patch-parent-child-match
+.endif
+
.if defined(WITHOUT_MUTT_FLOCK)
CONFIGURE_ARGS+= --disable-flock
.else
CONFIGURE_ARGS+= --enable-flock
.endif
-.if defined(WITH_LOCALES_FIX)
+.if defined(WITH_MUTT_LOCALES_FIX)
CONFIGURE_ARGS+= --enable-locales-fix
.endif
+.if defined(MUTT_USES_NCURSES_PORT)
+CONFIGURE_ARGS+= --with-curses=${NCURSESBASE}
+.elif defined(MUTT_USES_SLANG)
+CONFIGURE_ARGS+= --with-slang=${LOCALBASE}
+.else
+CONFIGURE_ARGS+= --with-curses=${NCURSESBASE}
+.endif
+.if defined(WITH_MUTT_CYRUS_SASL2)
+CONFIGURE_ARGS+= --with-sasl=${LOCALBASE}
+.endif
.if defined(WITHOUT_NLS)
CONFIGURE_ARGS+= --disable-nls
-PLIST_SUB+= NLS="@comment "
-.else
-PLIST_SUB+= NLS=""
.endif
-.if defined(WITHOUT_MUTT_ICONV) && defined(WITHOUT_NLS)
+.if defined(WITHOUT_MUTT_ICONV)
CONFIGURE_ARGS+= --disable-iconv
.else
-CONFIGURE_ARGS+= --with-libiconv-prefix=${PREFIX}
+CONFIGURE_ARGS+= --with-libiconv-prefix=${LOCALBASE}
.endif
-.if defined(WITH_SLANG)
-CONFIGURE_ARGS+= --with-slang=${PREFIX}
-.elif defined(WITH_NCURSES)
-CONFIGURE_ARGS+= --with-curses=${NCURSESBASE}
-CFLAGS+= -I${NCURSESINC}
+.if defined(WITH_MUTT_IDN)
+CONFIGURE_ARGS+= --with-idn
+.else
+CONFIGURE_ARGS+= --without-idn
+.endif
+.if defined(WITH_MUTT_GPGME)
+CONFIGURE_ARGS+= --enable-gpgme
+.else
+CONFIGURE_ARGS+= --disable-gpgme
.endif
+LDFLAGS=
.if !defined(WITHOUT_GSSAPI)
-.if exists(${LOCALBASE}/bin/gss-client)
+.if exists(${LOCALBASE}/bin/krb5-config)
LIB_DEPENDS+= gssapi_krb5:${PORTSDIR}/security/krb5
CONFIGURE_ARGS+= --with-gss=${LOCALBASE}
+.elif exists(${KRB5_HOME}/bin/krb5-config)
+LIB_DEPENDS+= gssapi_krb5:${PORTSDIR}/security/krb5
+CONFIGURE_ARGS+= --with-gss=${KRB5_HOME}
+LDFLAGS+= -L${KRB5_HOME}/lib -rpath=${KRB5_HOME}/lib
+.elif exists(${HEIMDAL_HOME}/bin/krb5-config)
+LIB_DEPENDS+= gssapi_krb5:${PORTSDIR}/security/krb5
+CONFIGURE_ARGS+= --with-gss=${HEIMDAL_HOME}
+LDFLAGS+= -L${HEIMDAL_HOME}/lib -rpath=${HEIMDAL_HOME}/lib
.elif (defined(MAKE_KERBEROS5)) || exists(/usr/lib/libkrb5.a)
CONFIGURE_ARGS+= --with-gss
USE_KRB5_SYS=YES
.endif
.endif
-MAN1= mutt.1 mutt_dotlock.1
-MAN5= mbox.5 muttrc.5
+LDFLAGS+= -L${LOCALBASE}/lib -rpath=${LOCALBASE}/lib:/usr/lib
+CFLAGS+= ${CFLAGS_ADD}
+LDFLAGS+= ${LDFLAGS_ADD}
+.if defined(WITH_MUTT_SMTP)
+CONFIGURE_ARGS+= --enable-smtp
+.else
+CONFIGURE_ARGS+= --disable-smtp
+.endif
+.if defined(WITH_MUTT_DEBUG)
+CONFIGURE_ARGS+= --enable-debug
+.endif
+
+PATCH_DIST_STRIP= -p1
+
+.if ! defined (WITHOUT_MUTT_COMPRESSED_FOLDERS)
+DISTFILES+= patch-${RR_PATCH_VERSION}.rr.compressed.gz:vvv
+CONFIGURE_ARGS+= --enable-compressed
+XML_NEEDED= yes
+pre-patch::
+ @${GUNZIP_CMD} -c ${DISTDIR}/${DIST_SUBDIR}/patch-${RR_PATCH_VERSION}.rr.compressed.gz > ${WRKDIR}/patch-compressed
+ @${REINPLACE_CMD} -E '/^diff.*\/doc\/manual.txt$$/,/^diff/d' \
+ ${WRKDIR}/patch-compressed
+ @${PATCH} ${PATCH_ARGS} -p1 < ${WRKDIR}/patch-compressed
+.endif
+.if defined(WITH_MUTT_NNTP)
+DISTFILES+= patch-${VVV_PATCH_VERSION}.vvv.nntp.gz:vvv
+CONFIGURE_ARGS+= --enable-nntp
+XML_NEEDED= yes
+pre-patch::
+ @${GUNZIP_CMD} -c ${DISTDIR}/${DIST_SUBDIR}/patch-${VVV_PATCH_VERSION}.vvv.nntp.gz > ${WRKDIR}/patch-nntp
+ @${REINPLACE_CMD} -E '/^diff.*\/doc\/manual.txt$$/,/^diff/d' \
+ ${WRKDIR}/patch-nntp
+ @${PATCH} ${PATCH_ARGS} -p1 < ${WRKDIR}/patch-nntp
+.endif
+.if ! defined(WITHOUT_MUTT_QUOTE_PATCH)
+PATCHFILES+= patch-${VVV_PATCH_VERSION}.vvv.initials.gz:vvv \
+ patch-${VVV_PATCH_VERSION}.vvv.quote.gz:vvv
+XML_NEEDED= yes
+.endif
+.if defined(WITH_MUTT_IFDEF_PATCH)
+post-patch::
+ @${PATCH} ${PATCH_ARGS} -p1 < ${PATCHDIR}/extra-patch-ifdef
+.endif
+.if defined(WITH_MUTT_MBOX_HOOK_PATCH)
+IGNORE= the WITH_MUTT_MBOX_HOOK_PATCH does not work at the moment
+#PATCHFILES+= p0-patch-${DW_MBOX_PATCH_VERSION}.dw.mbox-hook.1:dw
+.endif
+.if defined(WITH_MUTT_SIDEBAR_PATCH)
+XML_NEEDED= yes
+.if defined(WITH_MUTT_NNTP)
+post-patch::
+ @${PATCH} ${PATCH_ARGS} -p1 < ${PATCHDIR}/extra-patch-sidebar-nntp
+.else
+post-patch::
+ @${PATCH} ${PATCH_ARGS} -p1 < ${PATCHDIR}/extra-patch-sidebar
+.endif
+.endif
+.if defined(WITH_MUTT_GREETING_PATCH)
+post-patch::
+ @${PATCH} ${PATCH_ARGS} -p1 < ${PATCHDIR}/extra-patch-greeting
+.endif
+.if defined(WITH_MUTT_TRASH_PATCH)
+post-patch::
+ @${PATCH} ${PATCH_ARGS} -p1 < ${PATCHDIR}/extra-patch-trash-purge
+.endif
+
+WRKSRC= ${WRKDIR}/${DISTNAME:S/i$//}
+MAN1= mutt.1 mutt_dotlock.1 flea.1 muttbug.1 smime_keys.1
+MAN5= muttrc.5
+.if !defined(WITHOUT_MUTT_MAILBOX_MANPAGES)
+MAN5+= mbox.5 mmdf.5
+.endif
post-patch::
@${REINPLACE_CMD} -e 's,/usr/bin/gpg,${LOCALBASE}/bin/gpg,g' \
@@ -147,14 +499,9 @@ post-patch::
@${REINPLACE_CMD} -e 's,pgp6,pgp,g' \
${WRKSRC}/contrib/pgp6.rc
@${REINPLACE_CMD} -E -e 's|@samplesdir@|${EXAMPLESDIR}|g' \
- ${WRKSRC}/contrib/Makefile.in
-
-.if defined(WITH_MUTT_XFACE)
-post-patch::
- @${ECHO} "===> Applying XFACE patch"
- slrnface_dir=`${FIND} ${PORTSDIR}/news/slrnface/work -type d \
- -name slrnface-\*`; \
- cd ${BUILD_WRKSRC}; ${PATCH} ${PATCH_ARGS} < $$slrnface_dir/mutt.patch
+ ${WRKSRC}/contrib/Makefile.am
+.if defined(WITHOUT_MUTT_MAILBOX_MANPAGES)
+ @${PATCH} ${PATCH_ARGS} < ${PATCHDIR}/extra-patch-no-mbox-manpage
.endif
pre-configure::
@@ -165,19 +512,54 @@ pre-configure::
${WRKSRC}/imap/auth_gss.c
.endif
-# XXX
-# this should be done automagically by aclocal but ....
-# for now, this will have to do
-pre-build:
- @${REINPLACE_CMD} -E -e "s|^(ACLOCAL = ).+|\1${ACLOCAL}|" \
- -e "s|^(AUTOCONF = ).+|\1${AUTOCONF}|" \
- -e "s|^(AUTOMAKE = ).+|\1${AUTOMAKE}|" \
- -e "s|^(AUTOHEADER = ).+|\1${AUTOHEADER}|" \
- ${BUILD_WRKSRC}/Makefile
+.if defined(MUTT_SLAVE_HTML_PAGES)
+SCRIPTS_ENV+= MUTT_SLAVE_HTML_PAGES="${MUTT_SLAVE_HTML_PAGES}"
+.endif
+.if defined(WITH_MUTT_NNTP)
+SCRIPTS_ENV+= MUTT_NNTP="yes"
+.endif
+.if ! defined (WITHOUT_MUTT_COMPRESSED_FOLDERS)
+SCRIPTS_ENV+= MUTT_COMPRESSED_FOLDERS="yes"
+.endif
+.if ! defined(WITHOUT_MUTT_QUOTE_PATCH)
+SCRIPTS_ENV+= MUTT_QUOTE_PATCH="yes"
+.endif
+.if defined(WITH_MUTT_IMAP_HEADER_CACHE)
+.if defined(WITH_TOKYOCABINET)
+CONFIGURE_ARGS+= --enable-hcache --without-gdbm --without-bdb --with-tokyocabinet
+LIB_DEPENDS+= tokyocabinet.9:${PORTSDIR}/databases/tokyocabinet
+.else
+USE_BDB= 42+
+CONFIGURE_ARGS+= --enable-hcache --without-gdbm --with-bdb
+.endif
+.else
+CONFIGURE_ARGS+= --disable-hcache
+.endif
+.if defined(WITH_MUTT_MAILDIR_HEADER_CACHE)
+CONFIGURE_ARGS+= --without-qdbm
+.endif
+.if defined(WITH_MUTT_SIDEBAR_PATCH)
+SCRIPTS_ENV+= MUTT_SIDEBAR_PATCH="yes"
+.endif
+.if defined(WITH_MUTT_SIGNATURE_MENU)
+SCRIPTS_ENV+= MUTT_SIGNATURE_MENU="yes"
+.endif
+.if defined(WITH_MUTT_IFDEF_PATCH)
+SCRIPTS_ENV+= MUTT_IFDEF_PATCH="yes"
+.endif
+.if ! defined(WITHOUT_MUTT_HTML)
+SCRIPTS_ENV+= MUTT_HTML="yes"
+.endif
+.if !defined(WITHOUT_NLS)
+SCRIPTS_ENV+= MUTT_NLS="yes"
+.endif
+.if defined(WITH_MUTT_REVERSE_REPLY_PATCH)
+SCRIPTS_ENV+= MUTT_REVERSE_REPLY_PATCH="yes"
+.endif
.if !defined(NOPORTDOCS)
+SCRIPTS_ENV+= MUTT_PORTDOCS="yes"
post-build:
- @${TOUCH} ${WRKSRC}/doc/mutt.man ${WRKSRC}/doc/manual.sgml
@${PATCH} ${PATCH_ARGS} < ${PATCHDIR}/extra-patch-doc-ref
@${REINPLACE_CMD} -E -e 's|\$$\{PREFIX\}|${PREFIX}|g' \
-e 's|\$$\{DOCSDIR\}|${DOCSDIR}|g' \
@@ -187,38 +569,54 @@ post-build:
-e 's|\$$\{DOCSDIR\}|${DOCSDIR}|g' \
-e 's|\$$\{EXAMPLESDIR\}|${EXAMPLESDIR}|g' \
${WRKSRC}/doc/muttrc.man
-.if defined(WITH_SGML_DOCS) && ${WITH_SGML_DOCS} != "no"
-PLIST:= ${WRKDIR}/PLIST
-pre-install:
- @${CAT} ${PKGDIR}/pkg-plist.htmlfiles > ${PLIST}
- @${CAT} ${PKGDIR}/pkg-plist >> ${PLIST}
+.if ! defined(WITHOUT_MUTT_HTML)
+XML_USED= yes
+.endif
+.if defined(XML_NEEDED) && !defined(WITHOUT_MUTT_XML)
+XML_USED= yes
.endif
+.else # ! NOPORTDOCS
+post-patch::
+ @${PATCH} ${PATCH_ARGS} < ${PATCHDIR}/extra-patch-nodoc-contrib
+.endif # ! NOPORTDOCS
+
+.if ${XML_USED} == yes
+BUILD_DEPENDS+= xsltproc:${PORTSDIR}/textproc/libxslt \
+ ${LOCALBASE}/share/xsl/docbook/html/docbook.xsl:${PORTSDIR}/textproc/docbook-xsl \
+ lynx:${PORTSDIR}/www/lynx
+post-patch::
+ @${PATCH} ${PATCH_ARGS} < ${PATCHDIR}/extra-patch-doc-xml
.endif
+pre-install:
+ @${SETENV} ${SCRIPTS_ENV} ${SH} ${SCRIPTDIR}/generate-plist > ${PLIST}
+
post-install:
- ${INSTALL_DATA} ${WRKSRC}/Muttrc ${PREFIX}/etc/Muttrc.dist
+ @${ECHO} > ${PKGMESSAGE}
+ ${INSTALL_DATA} ${WRKSRC}/doc/Muttrc ${PREFIX}/etc/Muttrc.dist
.if !defined(NOPORTDOCS)
@${ECHO} "===> Installing Mutt documentation"
@${MKDIR} ${DOCSDIR} && ${CHMOD} a+rx ${DOCSDIR}
@cd ${WRKSRC}/doc ; ${INSTALL_MAN} manual.txt PGP-Notes.txt \
- ${DOCSDIR}
-.if defined(WITH_SGML_DOCS) && ${WITH_SGML_DOCS} != "no"
- ${INSTALL} ${COPY} -o ${MANOWN} -g ${MANGRP} -m 0755 \
- -d ${DOCSDIR}/html
+ ../ABOUT-NLS ../contrib/language* ${DOCSDIR}
+.if defined(WITH_MUTT_NNTP)
+ @cd ${WRKSRC} ; ${INSTALL_MAN} ChangeLog.nntp ${DOCSDIR}
+.endif
+.if ! defined(WITHOUT_MUTT_HTML)
+ @${MKDIR} ${DOCSDIR}/html && ${CHMOD} a+rx ${DOCSDIR}/html
${INSTALL_MAN} ${WRKSRC}/doc/*.html ${DOCSDIR}/html
- ${INSTALL_MAN} ${WRKSRC}/doc/*.latin1 ${DOCSDIR}
.endif
.endif
-
-.if defined(WITH_MUTT_XFACE)
- @${ECHO} ""
- @${ECHO} "************************************************************"
- @${ECHO} " To enable the XFACE support in mutt you also have to add"
- @${ECHO} " set xface=yes"
- @${ECHO} " to your ~/.muttrc"
- @${ECHO} " Additional information is provided by news/slrnface"
- @${ECHO} "************************************************************"
- @${ECHO} ""
+.if defined(MUTT_USES_SLANG)
+ @${ECHO} "=====================================================" >> ${PKGMESSAGE}
+ @${ECHO} "You have installed ${PORTNAME} with SLANG support." >> ${PKGMESSAGE}
+ @${ECHO} "This may work for a color terminal only when defining" >> ${PKGMESSAGE}
+ @${ECHO} "COLORTERM=yes and COLORFGBG=\"color1;color2\" in your" >> ${PKGMESSAGE}
+ @${ECHO} "environment." >> ${PKGMESSAGE}
+ @${ECHO} "=====================================================" >> ${PKGMESSAGE}
+.endif
+.if !defined(BATCH)
+ @${CAT} ${PKGMESSAGE}
+ @${ECHO}
.endif
-
.include <bsd.port.post.mk>
diff --git a/mail/mutt/distinfo b/mail/mutt/distinfo
index 3931ad2..fef44ea 100644
--- a/mail/mutt/distinfo
+++ b/mail/mutt/distinfo
@@ -1,6 +1,10 @@
-SHA256 (mutt/mutt-1.4.2.3.tar.gz) = 1a4920e5efccd6a83932af4223cb568956158f62e9f595798acc4004aca6ace5
-SIZE (mutt/mutt-1.4.2.3.tar.gz) = 2646433
-SHA256 (mutt/patch-1.4.2.2.rr.compressed.gz) = 3f70a8b666e1dd5342acb418aac8cb4a1ab68559b389346052bb1078a3b8dfee
-SIZE (mutt/patch-1.4.2.2.rr.compressed.gz) = 10191
-SHA256 (mutt/patch-1.4.2.2.vvv.initials.gz) = 2ab42c9bd369bacf7cad603e242e110c9adfdf18f477ce065fef8dbfbd1a8474
-SIZE (mutt/patch-1.4.2.2.vvv.initials.gz) = 690
+SHA256 (mutt/mutt-1.5.21.tar.gz) = 2141f36e8d0f4f71c9ca6780001e7cc679fe313e643953fc07f001223e67c4a0
+SIZE (mutt/mutt-1.5.21.tar.gz) = 3716886
+SHA256 (mutt/patch-1.5.21.rr.compressed.gz) = 5056b181222c4322667fd99a6314e80a4a8b4613357364d9deddef626136b4d9
+SIZE (mutt/patch-1.5.21.rr.compressed.gz) = 10133
+SHA256 (mutt/patch-1.5.21.vvv.nntp.gz) = 514cb4c3404bb68fef08781c17be41c6cd1251d05442db4105c6258f0b9d4928
+SIZE (mutt/patch-1.5.21.vvv.nntp.gz) = 55611
+SHA256 (mutt/patch-1.5.21.vvv.initials.gz) = ecce3643b04d1aced7085bca506896298bd56d991a5d1af057922c8358abf141
+SIZE (mutt/patch-1.5.21.vvv.initials.gz) = 691
+SHA256 (mutt/patch-1.5.21.vvv.quote.gz) = b0613d305932b31eaf005ee0740558d46561a6d7a333c97a00d34a1d0c1ef843
+SIZE (mutt/patch-1.5.21.vvv.quote.gz) = 1280
diff --git a/mail/mutt-devel/files/extra-patch-aspell b/mail/mutt/files/extra-patch-aspell
index 05a3706..05a3706 100644
--- a/mail/mutt-devel/files/extra-patch-aspell
+++ b/mail/mutt/files/extra-patch-aspell
diff --git a/mail/mutt/files/extra-patch-doc-ref b/mail/mutt/files/extra-patch-doc-ref
index 99222e0..9679f4c 100644
--- a/mail/mutt/files/extra-patch-doc-ref
+++ b/mail/mutt/files/extra-patch-doc-ref
@@ -1,12 +1,12 @@
---- doc/mutt.man.orig Mon Jul 13 12:50:38 1998
-+++ doc/mutt.man Thu Oct 1 22:15:40 1998
-@@ -20,7 +20,8 @@
- .SH DESCRIPTION
- Mutt is a small but very powerful text based program for reading electronic
- mail under unix operating systems, including support color terminals, MIME,
--and a threaded sorting mode.
-+and a threaded sorting mode. Details of how to use all of this is
+--- doc/mutt.man.orig 2009-02-06 13:52:38.000000000 +0100
++++ doc/mutt.man 2009-02-06 13:55:05.000000000 +0100
+@@ -69,7 +69,8 @@
+ .PP
+ Mutt is a small but very powerful text based program for reading and sending electronic
+ mail under unix operating systems, including support for color terminals, MIME,
+-OpenPGP, and a threaded sorting mode.
++OpenPGP, and a threaded sorting mode. Details of how to use all of this is
+available in \fI${DOCSDIR}\fP.
- .SH OPTIONS
- .IP "-a \fIfile\fP"
- Attach a file to your message using MIME.
+ .PP
+ .I Note:
+ .IR
diff --git a/mail/mutt-devel/files/extra-patch-doc-xml b/mail/mutt/files/extra-patch-doc-xml
index 9e652c0..9e652c0 100644
--- a/mail/mutt-devel/files/extra-patch-doc-xml
+++ b/mail/mutt/files/extra-patch-doc-xml
diff --git a/mail/mutt-devel/files/extra-patch-greeting b/mail/mutt/files/extra-patch-greeting
index a1f4bc1..a1f4bc1 100644
--- a/mail/mutt-devel/files/extra-patch-greeting
+++ b/mail/mutt/files/extra-patch-greeting
diff --git a/mail/mutt-devel/files/extra-patch-ifdef b/mail/mutt/files/extra-patch-ifdef
index 03f18de..03f18de 100644
--- a/mail/mutt-devel/files/extra-patch-ifdef
+++ b/mail/mutt/files/extra-patch-ifdef
diff --git a/mail/mutt-devel/files/extra-patch-maildir-mtime b/mail/mutt/files/extra-patch-maildir-mtime
index b5c27bc..b5c27bc 100644
--- a/mail/mutt-devel/files/extra-patch-maildir-mtime
+++ b/mail/mutt/files/extra-patch-maildir-mtime
diff --git a/mail/mutt-devel/files/extra-patch-maildir-mtime-nntp b/mail/mutt/files/extra-patch-maildir-mtime-nntp
index bc8f7fb..bc8f7fb 100644
--- a/mail/mutt-devel/files/extra-patch-maildir-mtime-nntp
+++ b/mail/mutt/files/extra-patch-maildir-mtime-nntp
diff --git a/mail/mutt-devel/files/extra-patch-no-mbox-manpage b/mail/mutt/files/extra-patch-no-mbox-manpage
index 02f7915..02f7915 100644
--- a/mail/mutt-devel/files/extra-patch-no-mbox-manpage
+++ b/mail/mutt/files/extra-patch-no-mbox-manpage
diff --git a/mail/mutt-devel/files/extra-patch-nodoc-contrib b/mail/mutt/files/extra-patch-nodoc-contrib
index 3a079bb..3a079bb 100644
--- a/mail/mutt-devel/files/extra-patch-nodoc-contrib
+++ b/mail/mutt/files/extra-patch-nodoc-contrib
diff --git a/mail/mutt-devel/files/extra-patch-parent-child-match b/mail/mutt/files/extra-patch-parent-child-match
index f9e95e4..f9e95e4 100644
--- a/mail/mutt-devel/files/extra-patch-parent-child-match
+++ b/mail/mutt/files/extra-patch-parent-child-match
diff --git a/mail/mutt-devel/files/extra-patch-pgp-dw b/mail/mutt/files/extra-patch-pgp-dw
index e75bc51..e75bc51 100644
--- a/mail/mutt-devel/files/extra-patch-pgp-dw
+++ b/mail/mutt/files/extra-patch-pgp-dw
diff --git a/mail/mutt-devel/files/extra-patch-reverse_reply b/mail/mutt/files/extra-patch-reverse_reply
index 4605f77..4605f77 100644
--- a/mail/mutt-devel/files/extra-patch-reverse_reply
+++ b/mail/mutt/files/extra-patch-reverse_reply
diff --git a/mail/mutt-devel/files/extra-patch-sidebar b/mail/mutt/files/extra-patch-sidebar
index eeb4a49..eeb4a49 100644
--- a/mail/mutt-devel/files/extra-patch-sidebar
+++ b/mail/mutt/files/extra-patch-sidebar
diff --git a/mail/mutt-devel/files/extra-patch-sidebar-nntp b/mail/mutt/files/extra-patch-sidebar-nntp
index 8a118ed..8a118ed 100644
--- a/mail/mutt-devel/files/extra-patch-sidebar-nntp
+++ b/mail/mutt/files/extra-patch-sidebar-nntp
diff --git a/mail/mutt-devel/files/extra-patch-signature-menu b/mail/mutt/files/extra-patch-signature-menu
index 029dd4a..029dd4a 100644
--- a/mail/mutt-devel/files/extra-patch-signature-menu
+++ b/mail/mutt/files/extra-patch-signature-menu
diff --git a/mail/mutt-devel/files/extra-patch-smime-outlook b/mail/mutt/files/extra-patch-smime-outlook
index 3558116..3558116 100644
--- a/mail/mutt-devel/files/extra-patch-smime-outlook
+++ b/mail/mutt/files/extra-patch-smime-outlook
diff --git a/mail/mutt-devel/files/extra-patch-trash-purge b/mail/mutt/files/extra-patch-trash-purge
index d609d18..d609d18 100644
--- a/mail/mutt-devel/files/extra-patch-trash-purge
+++ b/mail/mutt/files/extra-patch-trash-purge
diff --git a/mail/mutt/files/patch-02 b/mail/mutt/files/patch-02
index 3717189..91fa4a1 100644
--- a/mail/mutt/files/patch-02
+++ b/mail/mutt/files/patch-02
@@ -1,63 +1,32 @@
---- doc/Makefile.in.orig Tue Nov 6 11:12:31 2001
-+++ doc/Makefile.in Fri Jun 21 12:00:28 2002
-@@ -60,13 +60,19 @@
- topsrcdir_DOCFILES = COPYRIGHT GPL INSTALL ChangeLog \
- README NEWS TODO README.SECURITY README.SSL
+--- doc/Makefile.am.orig 2010-09-17 16:04:58.000000000 +0200
++++ doc/Makefile.am 2010-09-17 16:09:09.000000000 +0200
+@@ -47,7 +47,7 @@
--all: muttrc.man try-html try-txt
-+all: muttrc.man try-html try-txt try-latin1
+ all: makedoc-all
- try-html: ../makedoc
-- test -f manual.html || $(MAKE) manual.html || cp $(srcdir)/manual*.html ./
-+ rm -f *.html && $(MAKE) manual.html || cp $(srcdir)/manual*.html ./
-+ touch $@
+-makedoc-all: mutt.1 smime_keys.1 muttrc.man manual.html stamp-doc-rc stamp-doc-chunked manual.txt
++makedoc-all: mutt.1 smime_keys.1 muttrc.man
- try-txt: ../makedoc
-- test -f manual.txt || $(MAKE) manual.txt || cp $(srcdir)/manual.txt ./
-+ $(MAKE) manual.txt || cp $(srcdir)/manual.txt ./
-+ touch $@
-+
-+try-latin1:
-+ $(MAKE) manual.latin1 || cp $(srcdir)/manual.latin1 ./
-+ touch $@
-
- install: all instdoc
+ install-data-local: makedoc-all instdoc
$(top_srcdir)/mkinstalldirs $(DESTDIR)$(mandir)/man1
-@@ -86,10 +92,10 @@
- $(INSTALL) -m 644 $(top_srcdir)/$$f $(DESTDIR)$(docdir) ; \
+@@ -70,9 +70,6 @@
+ $(INSTALL) -m 644 $(srcdir)/$$f $(DESTDIR)$(docdir) ; \
done
- $(INSTALL) -m 644 manual.txt $(DESTDIR)$(docdir) || true
-- $(top_srcdir)/mkinstalldirs $(DESTDIR)$(docdir)/html
-- for file in manual*.html ; do \
-- $(INSTALL) -m 644 $$file $(DESTDIR)$(docdir)/html/ || true ;\
+ -$(INSTALL) -m 644 manual.txt $(DESTDIR)$(docdir)
+- -for f in $(HTML_DOCFILES) ; do \
+- $(INSTALL) -m 644 $$f $(DESTDIR)$(docdir) ; \
- done
-+ # $(top_srcdir)/mkinstalldirs $(DESTDIR)$(docdir)/html
-+ # for file in manual*.html ; do \
-+ # $(INSTALL) -m 644 $$file $(DESTDIR)$(docdir)/html/ || true ;\
-+ # done
-
- uninstall:
- -rm -f $(DESTDIR)$(mandir)/man1/mutt.1
-@@ -99,14 +105,18 @@
+ $(INSTALL) -m 644 Muttrc $(DESTDIR)$(sysconfdir)/Muttrc.dist
+ -if [ -f $(DESTDIR)$(pkgdatadir)/Muttrc ] ; then \
+ mv $(DESTDIR)$(pkgdatadir)/Muttrc* $(DESTDIR)$(sysconfdir) ; \
+@@ -103,9 +100,7 @@
check:
- manual.txt: manual.sgml
-- if sgml2txt -c latin manual ; then \
-- uniq < manual.txt | expand > _manual.txt ; \
-- rm manual.txt ; \
-+ if sgmlfmt -f ascii manual; then \
-+ uniq < manual.ascii | expand > _manual.txt ; \
-+ rm -f manual.txt manual.ascii; \
- mv _manual.txt manual.txt ;\
- fi
+ manual.txt: manual.html
+- -LC_ALL=C lynx -dump -nolist -with_backspaces -display_charset=us-ascii manual.html > $@ || \
+- LC_ALL=C w3m -dump manual.html > $@ || \
+- LC_ALL=C elinks -dump -no-numbering -no-references manual.html | sed -e 's,\\001, ,g' > $@
++ -LC_ALL=C lynx -dump -nolist -with_backspaces -display_charset=us-ascii manual.html > $@
- manual.html: manual.sgml
-- sgml2html manual || true
-+ @# sgml2html manual || true
-+ sgmlfmt -f html manual || true
-+
-+manual.latin1: manual.sgml
-+ sgmlfmt -f latin1 manual || true
+ Muttrc: stamp-doc-rc
- manual.ps: manual.sgml
- sgml2latex --output=ps manual || true
diff --git a/mail/mutt/files/patch-03 b/mail/mutt/files/patch-03
deleted file mode 100644
index b870f7f..0000000
--- a/mail/mutt/files/patch-03
+++ /dev/null
@@ -1,13 +0,0 @@
---- doc/manual.sgml.orig Tue May 9 17:15:26 2000
-+++ doc/manual.sgml Fri May 12 11:05:40 2000
-@@ -1,5 +1,8 @@
--<!doctype linuxdoc system>
--
-+<!DOCTYPE linuxdoc PUBLIC "-//FreeBSD//DTD linuxdoc//EN" [
-+<!ENTITY dquot "&#34;">
-+]>
-+<linuxdoc>
-+
- <article>
-
- <title>The Mutt E-Mail Client
diff --git a/mail/mutt/files/patch-05 b/mail/mutt/files/patch-05
index 13a52d9..bfbb5aa 100644
--- a/mail/mutt/files/patch-05
+++ b/mail/mutt/files/patch-05
@@ -41,47 +41,3 @@
p = strchr (letters, ch.ch);
if (p)
{
---- browser.c.orig Fri Sep 24 01:08:08 1999
-+++ browser.c Sun Sep 26 23:46:25 1999
-@@ -750,7 +750,7 @@
- switch (mutt_multi_choice ((reverse) ?
- _("Reverse sort by (d)ate, (a)lpha, si(z)e or do(n)'t sort? ") :
- _("Sort by (d)ate, (a)lpha, si(z)e or do(n)'t sort? "),
-- _("dazn")))
-+ N_("dazn")))
- {
- case -1: /* abort */
- resort = 0;
---- commands.c.orig Wed Jul 7 02:56:24 1999
-+++ commands.c Sun Sep 26 23:46:25 1999
-@@ -337,7 +337,7 @@
- switch (mutt_multi_choice (reverse ?
- _("Rev-Sort (d)ate/(f)rm/(r)ecv/(s)ubj/t(o)/(t)hread/(u)nsort/si(z)e/s(c)ore?: ") :
- _("Sort (d)ate/(f)rm/(r)ecv/(s)ubj/t(o)/(t)hread/(u)nsort/si(z)e/s(c)ore?: "),
-- _("dfrsotuzc")))
-+ N_("dfrsotuzc")))
- {
- case -1: /* abort - don't resort */
- return -1;
---- compose.c.orig Mon Feb 12 18:02:38 2001
-+++ compose.c Fri Mar 30 17:04:09 2001
-@@ -130,7 +130,7 @@
- char input_signas[SHORT_STRING];
-
- switch (mutt_multi_choice (_("(e)ncrypt, (s)ign, sign (a)s, (b)oth, or (f)orget it? "),
-- _("esabf")))
-+ N_("esabf")))
- {
- case 1: /* (e)ncrypt */
- bits |= PGPENCRYPT;
---- muttlib.c.orig Sun Apr 9 14:39:02 2000
-+++ muttlib.c Fri May 12 11:26:58 2000
-@@ -671,7 +671,7 @@
- if (*append == 0 && access (fname, F_OK) == 0)
- {
- switch (mutt_multi_choice
-- (_("File exists, (o)verwrite, (a)ppend, or (c)ancel?"), _("oac")))
-+ (_("File exists, (o)verwrite, (a)ppend, or (c)ancel?"), N_("oac")))
- {
- case -1: /* abort */
- case 3: /* cancel */
diff --git a/mail/mutt/files/patch-08 b/mail/mutt/files/patch-08
index 3e50cbd..69d353f 100644
--- a/mail/mutt/files/patch-08
+++ b/mail/mutt/files/patch-08
@@ -1,5 +1,5 @@
---- Muttrc.orig Sat May 13 08:30:44 2000
-+++ Muttrc Sat May 13 08:32:05 2000
+--- doc/Muttrc.orig Sat May 13 08:30:44 2000
++++ doc/Muttrc Sat May 13 08:32:05 2000
@@ -629,6 +629,7 @@
# Type: boolean
# Default: yes
diff --git a/mail/mutt-devel/files/patch-Makefile.am b/mail/mutt/files/patch-Makefile.am
index ac04038..ac04038 100644
--- a/mail/mutt-devel/files/patch-Makefile.am
+++ b/mail/mutt/files/patch-Makefile.am
diff --git a/mail/mutt-devel/files/patch-Makefile.am.doc b/mail/mutt/files/patch-Makefile.am.doc
index 5c58542..5c58542 100644
--- a/mail/mutt-devel/files/patch-Makefile.am.doc
+++ b/mail/mutt/files/patch-Makefile.am.doc
diff --git a/mail/mutt/files/patch-aclocal.m4 b/mail/mutt/files/patch-aclocal.m4
deleted file mode 100644
index 6635a1a..0000000
--- a/mail/mutt/files/patch-aclocal.m4
+++ /dev/null
@@ -1,11 +0,0 @@
---- aclocal.m4.orig Fri Jul 28 11:50:25 2000
-+++ aclocal.m4 Wed Dec 5 12:10:16 2001
-@@ -62,4 +62,4 @@
--AM_MISSING_PROG(ACLOCAL, aclocal, $missing_dir)
--AM_MISSING_PROG(AUTOCONF, autoconf, $missing_dir)
--AM_MISSING_PROG(AUTOMAKE, automake, $missing_dir)
--AM_MISSING_PROG(AUTOHEADER, autoheader, $missing_dir)
-+AM_MISSING_PROG(ACLOCAL, aclocal14, $missing_dir)
-+AM_MISSING_PROG(AUTOCONF, autoconf213, $missing_dir)
-+AM_MISSING_PROG(AUTOMAKE, automake14, $missing_dir)
-+AM_MISSING_PROG(AUTOHEADER, autoheader213, $missing_dir)
diff --git a/mail/mutt-devel/files/patch-bdb b/mail/mutt/files/patch-bdb
index f4a7d1d..f4a7d1d 100644
--- a/mail/mutt-devel/files/patch-bdb
+++ b/mail/mutt/files/patch-bdb
diff --git a/mail/mutt-devel/files/patch-color-eol b/mail/mutt/files/patch-color-eol
index 686be16..686be16 100644
--- a/mail/mutt-devel/files/patch-color-eol
+++ b/mail/mutt/files/patch-color-eol
diff --git a/mail/mutt-devel/files/patch-configure.ac b/mail/mutt/files/patch-configure.ac
index 993e53d..993e53d 100644
--- a/mail/mutt-devel/files/patch-configure.ac
+++ b/mail/mutt/files/patch-configure.ac
diff --git a/mail/mutt/files/patch-configure.in b/mail/mutt/files/patch-configure.in
deleted file mode 100644
index e255741..0000000
--- a/mail/mutt/files/patch-configure.in
+++ /dev/null
@@ -1,14 +0,0 @@
---- configure.in.orig 2007-05-26 17:58:12.000000000 -0700
-+++ configure.in 2012-05-03 18:04:49.000000000 -0700
-@@ -31,6 +31,2 @@
- AC_ISC_POSIX
--AM_C_PROTOTYPES
--if test "x$U" != "x"; then
-- AC_MSG_ERROR(Compiler not ANSI compliant)
--fi
- AC_PROG_CPP
-@@ -629,3 +625,3 @@
- if test x$GCC = xyes -a $mutt_cv_warnings = yes; then
-- CFLAGS="-Wall -pedantic $CFLAGS"
-+ CFLAGS="-Wall $CFLAGS"
- fi
diff --git a/mail/mutt-devel/files/patch-contrib-Makefile.am b/mail/mutt/files/patch-contrib-Makefile.am
index 2328b65..2328b65 100644
--- a/mail/mutt-devel/files/patch-contrib-Makefile.am
+++ b/mail/mutt/files/patch-contrib-Makefile.am
diff --git a/mail/mutt/files/patch-contrib-Makefile.in b/mail/mutt/files/patch-contrib-Makefile.in
deleted file mode 100644
index 71e216b..0000000
--- a/mail/mutt/files/patch-contrib-Makefile.in
+++ /dev/null
@@ -1,11 +0,0 @@
---- contrib/Makefile.in.orig Mon Jun 4 19:14:31 2001
-+++ contrib/Makefile.in Mon Mar 21 08:12:59 2005
-@@ -20,7 +20,7 @@
-
- subdir = contrib
-
--SAMPLES = Mush.rc Pine.rc gpg.rc pgp2.rc pgp5.rc pgp6.rc Tin.rc \
-+SAMPLES = Mush.rc Pine.rc gpg.rc pgp2.rc pgp6.rc Tin.rc \
- sample.muttrc sample.mailcap sample.muttrc-tlr
-
- DISTFILES = Makefile.in language.txt language50.txt \
diff --git a/mail/mutt-devel/files/patch-crypt-gpgme.c b/mail/mutt/files/patch-crypt-gpgme.c
index 2fb9536..2fb9536 100644
--- a/mail/mutt-devel/files/patch-crypt-gpgme.c
+++ b/mail/mutt/files/patch-crypt-gpgme.c
diff --git a/mail/mutt-devel/files/patch-date-conditional b/mail/mutt/files/patch-date-conditional
index 7912815..7912815 100644
--- a/mail/mutt-devel/files/patch-date-conditional
+++ b/mail/mutt/files/patch-date-conditional
diff --git a/mail/mutt-devel/files/patch-doc-manual.xml.head b/mail/mutt/files/patch-doc-manual.xml.head
index 82ab62c..82ab62c 100644
--- a/mail/mutt-devel/files/patch-doc-manual.xml.head
+++ b/mail/mutt/files/patch-doc-manual.xml.head
diff --git a/mail/mutt/files/patch-doc-mutt.man b/mail/mutt/files/patch-doc-mutt.man
deleted file mode 100644
index 46e0867..0000000
--- a/mail/mutt/files/patch-doc-mutt.man
+++ /dev/null
@@ -1,34 +0,0 @@
---- doc/mutt.man.orig Wed Jul 24 10:41:31 2002
-+++ doc/mutt.man Sun Oct 26 11:06:36 2003
-@@ -136,9 +136,9 @@
- User's personal mapping between MIME types and file extensions.
- .IP "/etc/mime.types"
- System mapping between MIME types and file extensions.
--.IP "/usr/local/bin/mutt_dotlock"
-+.IP "${PREFIX}/bin/mutt_dotlock"
- The privileged dotlocking program.
--.IP "/usr/local/doc/mutt/manual.txt"
-+.IP "${DOCSDIR}/manual.txt"
- The Mutt manual.
- .SH BUGS
- .PP
---- doc/muttrc.man Sun Oct 26 11:09:09 2003
-+++ doc/muttrc.man Sun Oct 26 11:08:48 2003
-@@ -990,7 +972,7 @@
- .B dotlock_program
- .nf
- Type: path
--Default: \(lq/usr/local/bin/mutt_dotlock\(rq
-+Default: \(lq${PREFIX}/bin/mutt_dotlock\(rq
- .fi
- .IP
- Contains the path of the mutt_dotlock (8) binary to be used by
-@@ -3970,7 +3952,7 @@
- instead of a raw socket. You may be able to use this to set up
- preauthenticated connections to your IMAP/POP3 server. Example:
- .IP
--tunnel=\(rqssh -q mailhost.net /usr/local/libexec/imapd\(rq
-+tunnel=\(rqssh -q mailhost.net ${PREFIX}/libexec/imapd\(rq
- .IP
- NOTE: For this example to work you must be able to log in to the remote
- machine without having to enter a password.
diff --git a/mail/mutt/files/patch-examples b/mail/mutt/files/patch-examples
index 2d24771..a2c8815 100644
--- a/mail/mutt/files/patch-examples
+++ b/mail/mutt/files/patch-examples
@@ -1,50 +1,109 @@
---- contrib/Makefile.in.orig Mon Jun 4 19:14:31 2001
-+++ contrib/Makefile.in Wed Mar 26 11:45:15 2003
-@@ -12,6 +12,7 @@
- mandir = @mandir@
- srcdir = @srcdir@
- docdir = @docdir@
+--- contrib/Makefile.am.orig Tue Jul 18 20:04:14 2006
++++ contrib/Makefile.am Wed Aug 30 16:05:33 2006
+@@ -1,6 +1,7 @@
+ # $Id: Makefile.am,v 3.1 2006/07/18 18:04:14 brendan Exp $
+
+ subdir = contrib
+samplesdir = @samplesdir@
- top_srcdir = @top_srcdir@
- top_builddir = ..
- INSTALL = @INSTALL@
-@@ -37,12 +38,12 @@
- check:
- install:
+ SAMPLES = Mush.rc Pine.rc gpg.rc pgp2.rc pgp5.rc pgp6.rc Tin.rc \
+ sample.muttrc sample.mailcap sample.muttrc-tlr \
+@@ -14,12 +15,12 @@
+ iconv/make.sh
+
+ install-data-local:
- $(top_srcdir)/mkinstalldirs $(DESTDIR)$(docdir)/samples $(DESTDIR)$(docdir)/samples/iconv
+ $(top_srcdir)/mkinstalldirs $(DESTDIR)$(samplesdir) $(DESTDIR)$(samplesdir)/iconv
for f in $(SAMPLES) ; do \
- $(INSTALL) -m 644 $(srcdir)/$$f $(DESTDIR)$(docdir)/samples ; \
-+ $(INSTALL) -m 644 $(srcdir)/$$f $(DESTDIR)$(samplesdir); \
++ $(INSTALL) -m 644 $(srcdir)/$$f $(DESTDIR)$(samplesdir) ; \
done
for f in $(srcdir)/iconv/*.rc ; do \
- $(INSTALL) -m 644 $$f $(DESTDIR)$(docdir)/samples/iconv ; \
-+ $(INSTALL) -m 644 $$f $(DESTDIR)$(samplesdir)/iconv ; \
++ $(INSTALL) -m 644 $$f $(DESTDIR)$(samplesdir)/iconv ; \
done
- # Nothing needs to be done - uninstall in doc removes samples as well.
---- init.h.orig Wed Mar 26 11:50:36 2003
-+++ init.h Wed Mar 26 12:54:37 2003
-@@ -1347,8 +1347,8 @@
+ uninstall-local:
+--- init.h.orig 2009-02-06 13:27:52.000000000 +0100
++++ init.h 2009-02-06 13:34:09.000000000 +0100
+@@ -1808,9 +1808,8 @@
** .pp
** For examples on how to configure these formats for the various versions
- ** of PGP which are floating around, see the pgp*.rc and gpg.rc files in
-- ** the samples/ subdirectory which has been installed on your system
+ ** of PGP which are floating around, see the pgp and gpg sample configuration files in
+- ** the \fCsamples/\fP subdirectory which has been installed on your system
- ** alongside the documentation.
-+ ** the share/examples/mutt subdirectory which has been installed on your
-+ ** system.
+- ** (PGP only)
++ ** the \fCshare/examples/mutt/\fP subdirectory which has been installed on
++ ** your system. (PGP only)
*/
{ "pgp_getkeys_command", DT_STR, R_NONE, UL &PgpGetkeysCommand, 0},
/*
---- Makefile.am.orig Wed Mar 26 13:13:10 2003
-+++ Makefile.am Wed Mar 26 13:25:40 2003
-@@ -13,7 +13,7 @@
+@@ -2017,9 +2016,8 @@
+ ** .de
+ ** .pp
+ ** For examples on how to configure these formats, see the \fCsmime.rc\fP in
+- ** the \fCsamples/\fP subdirectory which has been installed on your system
+- ** alongside the documentation.
+- ** (S/MIME only)
++ ** the \fCshare/examples/mutt/\fP subdirectory which has been installed on
++ ** your system. (S/MIME only)
+ */
+ { "smime_verify_command", DT_STR, R_NONE, UL &SmimeVerifyCommand, 0},
+ /*
+--- INSTALL.orig Mon Nov 25 15:16:46 2002
++++ INSTALL Wed Mar 26 15:59:57 2003
+@@ -225,13 +225,13 @@
+ need to tell mutt about implementation-defined names for some
+ character sets. Sample configuration files for various systems can
+ be found in the directory contrib/iconv/ in this source
+-distribution, and will be installed in the samples/iconv directory
++distribution, and will be installed in the share/examples/mutt/iconv directory
+ as part of mutt's documentation.
+
+ In order to use these sample configuration files, just put a line
+ like
+
+- source /usr/local/doc/mutt/samples/iconv/iconv.osf1-4.0d.rc
++ source /usr/local/share/examples/mutt/iconv/iconv.osf1-4.0d.rc
+
+ into your system's global Muttrc, which normally resides in /etc or
+ /usr/local/etc.
+--- doc/manual.txt.orig 2009-06-14 20:54:56.000000000 +0200
++++ doc/manual.txt 2009-06-22 15:11:26.000000000 +0200
+@@ -3225,9 +3225,9 @@
+ shows that arguments can be quoted: the script will receive the expanded string
+ between the single quotes as the only argument.
+
+-A practical example is the mutt_xtitle script installed in the samples
+-subdirectory of the Mutt documentation: it can be used as filter for
+-$status_format to set the current terminal's title, if supported.
++A practical example is the mutt_xtitle script installed in the
++share/examples/mutt/ subdirectory of the Mutt documentation: it can be used as
++filter for $status_format to set the current terminal's title, if supported.
+
+ 29.4. Padding
+
+@@ -7740,8 +7740,8 @@
+
+ For examples on how to configure these formats for the various versions of PGP
+ which are floating around, see the pgp and gpg sample configuration files in
+-the samples/ subdirectory which has been installed on your system alongside the
+-documentation. (PGP only)
++the share/examples/mutt/ subdirectory which has been installed on your system.
++(PGP only)
+
+ 3.158. pgp_decrypt_command
+
+@@ -8751,9 +8751,9 @@
+ | |$smime_ca_location?. |
+ +-----------------------------------------------------------------------------+
- bin_SCRIPTS = muttbug flea
+-For examples on how to configure these formats, see the smime.rc in the samples
+-/ subdirectory which has been installed on your system alongside the
+-documentation. (S/MIME only)
++For examples on how to configure these formats, see the smime.rc in the
++share/examples/mutt/ subdirectory which has been installed on your system.
++(S/MIME only)
--BUILT_SOURCES = keymap_defs.h patchlist.c
-+BUILT_SOURCES = keymap_defs.h patchlist.c Muttrc
+ 3.244. smime_decrypt_use_default_key
- bin_PROGRAMS = mutt @DOTLOCK_TARGET@ @PGPAUX_TARGET@
- mutt_SOURCES = $(BUILT_SOURCES) \
diff --git a/mail/mutt-devel/files/patch-gnutls-CN-validation b/mail/mutt/files/patch-gnutls-CN-validation
index e19608b..e19608b 100644
--- a/mail/mutt-devel/files/patch-gnutls-CN-validation
+++ b/mail/mutt/files/patch-gnutls-CN-validation
diff --git a/mail/mutt-devel/files/patch-imap-message.c b/mail/mutt/files/patch-imap-message.c
index 7db99b5..7db99b5 100644
--- a/mail/mutt-devel/files/patch-imap-message.c
+++ b/mail/mutt/files/patch-imap-message.c
diff --git a/mail/mutt/files/patch-m4-gssapi.m4 b/mail/mutt/files/patch-m4-gssapi.m4
deleted file mode 100644
index 2425cde..0000000
--- a/mail/mutt/files/patch-m4-gssapi.m4
+++ /dev/null
@@ -1,33 +0,0 @@
---- m4/gssapi.m4.orig Wed Apr 17 19:05:04 2002
-+++ m4/gssapi.m4 Mon Oct 16 10:59:34 2006
-@@ -6,10 +6,13 @@
- dnl if it is set and not "yes".
- dnl Defines GSSAPI_CFLAGS and GSSAPI_LIBS if found.
- dnl Defines GSSAPI_IMPL to "Heimdal", "MIT", or "OldMIT", or "none" if not found
--AC_DEFUN(MUTT_AM_PATH_GSSAPI,
-+AC_DEFUN([MUTT_AM_PATH_GSSAPI],
- [
- GSSAPI_PREFIX=[$]$1
- GSSAPI_IMPL="none"
-+ saved_CPPFLAGS="$CPPFLAGS"
-+ saved_LDFLAGS="$LDFLAGS"
-+ saved_LIBS="$LIBS"
- dnl First try krb5-config
- if test "$GSSAPI_PREFIX" != "yes"
- then
-@@ -24,14 +27,11 @@
- GSSAPI_LIBS="$MUTTLIBS `$KRB5CFGPATH --libs gssapi`"
- case "`$KRB5CFGPATH --version`" in
- "Kerberos 5 "*) GSSAPI_IMPL="MIT";;
-- [hH]eimdal*) GSSAPI_IMPL="Heimdal";;
-+ ?eimdal*) GSSAPI_IMPL="Heimdal";;
- *) GSSAPI_IMPL="Unknown";;
- esac
- else
- dnl No krb5-config, run the old code
-- saved_CPPFLAGS="$CPPFLAGS"
-- saved_LDFLAGS="$LDFLAGS"
-- saved_LIBS="$LIBS"
- if test "$GSSAPI_PREFIX" != "yes"
- then
- GSSAPI_CFLAGS="-I$GSSAPI_PREFIX/include"
diff --git a/mail/mutt/files/patch-mktemp b/mail/mutt/files/patch-mktemp
index 8fc82de..16521f7 100644
--- a/mail/mutt/files/patch-mktemp
+++ b/mail/mutt/files/patch-mktemp
@@ -1,15 +1,23 @@
---- muttlib.c.orig Fri May 7 17:30:35 2004
-+++ muttlib.c Fri May 7 17:32:13 2004
-@@ -656,7 +656,11 @@
+--- muttlib.c.orig 2010-09-19 09:58:24.000000000 +0200
++++ muttlib.c 2010-09-19 10:36:26.000000000 +0200
+@@ -788,14 +788,15 @@
- void mutt_mktemp (char *s)
+ void _mutt_mktemp (char *s, size_t slen, const char *src, int line)
{
-- snprintf (s, _POSIX_PATH_MAX, "%s/mutt-%s-%d-%d", NONULL (Tempdir), NONULL(Hostname), (int) getpid (), Counter++);
-+ char t[7];
-+ snprintf (t, 7, "-%05d", Counter++);
-+ snprintf (s, _POSIX_PATH_MAX-6, "%s/mutt-%s-XXXXXXXX", NONULL(Tempdir), NONULL(Hostname));
-+ mktemp (s);
-+ strncat(s, t, 6);
- unlink (s);
+- size_t n = snprintf (s, slen, "%s/mutt-%s-%d-%d-%ld%ld", NONULL (Tempdir), NONULL (Hostname),
+- (int) getuid (), (int) getpid (), random (), random ());
++ size_t n = snprintf (s, slen, "%s/mutt-%s-XXXXXXXX", NONULL (Tempdir), NONULL (Hostname));
+ if (n >= slen)
+ dprint (1, (debugfile, "%s:%d: ERROR: insufficient buffer space to hold temporary filename! slen=%zu but need %zu\n",
+ src, line, slen, n));
+- dprint (3, (debugfile, "%s:%d: mutt_mktemp returns \"%s\".\n", src, line, s));
+- if (unlink (s) && errno != ENOENT)
+- dprint (1, (debugfile, "%s:%d: ERROR: unlink(\"%s\"): %s (errno %d)\n", src, line, s, strerror (errno), errno));
++ if (mktemp (s)) {
++ dprint (3, (debugfile, "%s:%d: mutt_mktemp returns \"%s\".\n", src, line, s));
++ } else {
++ dprint (1, (debugfile, "%s:%d: ERROR: mktemp(\"%s\"): %s (errno %d)\n", src, line, s, strerror (errno), errno));
++ }
}
+ void mutt_free_alias (ALIAS **p)
diff --git a/mail/mutt-devel/files/patch-nbsp b/mail/mutt/files/patch-nbsp
index e996a05..e996a05 100644
--- a/mail/mutt-devel/files/patch-nbsp
+++ b/mail/mutt/files/patch-nbsp
diff --git a/mail/mutt-devel/files/patch-pgp b/mail/mutt/files/patch-pgp
index b7d0f36..b7d0f36 100644
--- a/mail/mutt-devel/files/patch-pgp
+++ b/mail/mutt/files/patch-pgp
diff --git a/mail/mutt-devel/files/patch-smime-self b/mail/mutt/files/patch-smime-self
index d8b0e7b..d8b0e7b 100644
--- a/mail/mutt-devel/files/patch-smime-self
+++ b/mail/mutt/files/patch-smime-self
diff --git a/mail/mutt-devel/files/patch-smime-sender b/mail/mutt/files/patch-smime-sender
index a8a9cac..a8a9cac 100644
--- a/mail/mutt-devel/files/patch-smime-sender
+++ b/mail/mutt/files/patch-smime-sender
diff --git a/mail/mutt/files/patch-threadcomplete b/mail/mutt/files/patch-threadcomplete
index e4f56f2..d151009 100644
--- a/mail/mutt/files/patch-threadcomplete
+++ b/mail/mutt/files/patch-threadcomplete
@@ -1,18 +1,6 @@
-written by Nicolas Rachinsky <nr@rachinsky.de>
-http://www.rachinsky.de
-
-This program is free software; you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published
-by the Free Software Foundation; version 2 of the License.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-General Public License for more details.
-
---- mutt-1.3.28.ori/mutt.h Thu Mar 14 19:22:25 2002
-+++ mutt.h Fri Mar 15 00:22:41 2002
-@@ -198,6 +198,7 @@
+--- mutt.h.orig2 Mon Sep 6 09:24:17 2004
++++ mutt.h Mon Sep 6 09:27:04 2004
+@@ -212,6 +212,7 @@
M_LIMIT,
M_EXPIRED,
M_SUPERSEDED,
@@ -20,9 +8,9 @@ General Public License for more details.
/* actions for mutt_pattern_comp/mutt_pattern_exec */
M_AND,
---- mutt-1.3.28.ori/pattern.c Thu Mar 14 19:22:26 2002
-+++ pattern.c Fri Mar 15 00:23:52 2002
-@@ -50,6 +50,7 @@
+--- pattern.c.orig2 Sun Sep 18 15:17:46 2005
++++ pattern.c Sun Sep 18 15:19:48 2005
+@@ -54,6 +54,7 @@
}
Flags[] =
{
@@ -30,44 +18,20 @@ General Public License for more details.
{ 'A', M_ALL, 0, NULL },
{ 'b', M_BODY, M_FULL_MSG, eat_regexp },
{ 'B', M_WHOLE_MSG, M_FULL_MSG, eat_regexp },
-@@ -957,6 +958,27 @@
- return alladdr;
- }
-
-+static int match_threadcomplete(int flag,THREAD *t,int left,int up,int right,int down)
-+{
-+ int a=0;
-+ HEADER *h=NULL;
-+
-+ if(! t)return 0;
-+ h=t->message;
-+ if(! flag && h && h->tagged)return 1;
-+ if(flag && h && ! h->tagged) return 1;
-+
-+ if(up)a=match_threadcomplete(flag,t->parent,1,1,1,0);
-+ if(a)return a;
-+ if(right && t->parent)a=match_threadcomplete(flag,t->next,0,0,1,1);
-+ if(a)return a;
-+ if(left && t->parent)a=match_threadcomplete(flag,t->prev,1,0,0,1);
-+ if(a)return a;
-+ if(down)a=match_threadcomplete(flag,t->child,1,0,1,1);
-+ if(a)return a;
-+ return 0;
-+}
-+
- /* flags
- M_MATCH_FULL_ADDRESS match both personal and machine address */
- int
-@@ -1053,6 +1075,8 @@
- return (pat->not ^ (h->env->x_label && regexec (pat->rx, h->env->x_label, 0, NULL, 0) == 0));
- case M_DUPLICATED:
- return (pat->not ^ (h->thread && h->thread->duplicate_thread));
+@@ -1139,6 +1140,16 @@
+ 2, h->env->to, h->env->cc));
+ case M_LIST: /* known list, subscribed or not */
+ return (pat->not ^ mutt_is_list_cc (pat->alladdr, h->env->to, h->env->cc));
+ case M_THREADCOMPLETE:
-+ return ((h->thread && match_threadcomplete(pat->not,h->thread,1,1,1,1)));
- }
- mutt_error (_("error: unknown op %d (report this error)."), pat->op);
- return (-1);
---- PATCHES~ Tue Nov 6 19:59:33 2001
-+++ PATCHES Tue Nov 6 19:59:42 2001
-@@ -1,0 +1 @@
-+1.3.28.nr.threadcomplete
++ { static pattern_t tmp;
++ static short pattern_set = 0;
++ if(! pattern_set) {
++ memset (&tmp, 0, sizeof (tmp));
++ tmp.op = M_TAG;
++ pattern_set = 1;
++ }
++ return (pat->not ^ (h->env && match_threadcomplete(&tmp, flags, ctx, h->thread, 1, 1, 1, 1)));
++ }
+ case M_SUBSCRIBED_LIST:
+ return (pat->not ^ mutt_is_list_recipient (pat->alladdr, h->env->to, h->env->cc));
+ case M_PERSONAL_RECIP:
diff --git a/mail/mutt/files/patch-z b/mail/mutt/files/patch-z
deleted file mode 100644
index 08a7dfb..0000000
--- a/mail/mutt/files/patch-z
+++ /dev/null
@@ -1,22 +0,0 @@
---- Makefile.am.orig2 Thu Jan 6 15:45:58 2005
-+++ Makefile.am Thu Jan 6 15:47:48 2005
-@@ -11,7 +11,7 @@
-
- SUBDIRS = m4 po intl doc contrib $(IMAP_SUBDIR)
-
--bin_SCRIPTS = muttbug flea
-+bin_SCRIPTS =
-
- BUILT_SOURCES = keymap_defs.h patchlist.c Muttrc
-
---- doc/Makefile.in.orig2 Thu Jan 6 15:45:57 2005
-+++ doc/Makefile.in Thu Jan 6 15:53:52 2005
-@@ -78,8 +78,6 @@
- $(top_srcdir)/mkinstalldirs $(DESTDIR)$(mandir)/man1
- $(top_srcdir)/mkinstalldirs $(DESTDIR)$(mandir)/man5
- ./instdoc $(srcdir)/mutt.man $(DESTDIR)$(mandir)/man1/mutt.1
-- ./instdoc $(srcdir)/muttbug.man $(DESTDIR)$(mandir)/man1/flea.1
-- echo ".so $(mandir)/man1/flea.1" > $(DESTDIR)$(mandir)/man1/muttbug.1
- ./instdoc $(srcdir)/dotlock.man \
- $(DESTDIR)$(mandir)/man1/mutt_dotlock.1
- ./instdoc muttrc.man $(DESTDIR)$(mandir)/man5/muttrc.5
diff --git a/mail/mutt/pkg-plist b/mail/mutt/pkg-plist
deleted file mode 100644
index 28f0c9f..0000000
--- a/mail/mutt/pkg-plist
+++ /dev/null
@@ -1,79 +0,0 @@
-@comment $FreeBSD$
-bin/mutt
-bin/mutt_dotlock
-bin/pgpewrap
-bin/pgpring
-@unexec if cmp -s %D/etc/Muttrc.dist %D/etc/Muttrc; then rm -f %D/etc/Muttrc; fi
-etc/Muttrc.dist
-@exec if [ ! -f %D/etc/Muttrc ]; then cp %D/etc/Muttrc.dist %D/etc/Muttrc; fi
-%%DOCSDIR%%/COPYRIGHT
-%%DOCSDIR%%/ChangeLog
-%%DOCSDIR%%/GPL
-%%DOCSDIR%%/INSTALL
-%%DOCSDIR%%/NEWS
-%%DOCSDIR%%/PGP-Notes.txt
-%%DOCSDIR%%/README
-%%DOCSDIR%%/README.SECURITY
-%%DOCSDIR%%/README.SSL
-%%DOCSDIR%%/TODO
-%%DOCSDIR%%/applying-patches.txt
-%%DOCSDIR%%/devel-notes.txt
-%%DOCSDIR%%/manual.txt
-%%DOCSDIR%%/patch-notes.txt
-%%EXAMPLESDIR%%/Mush.rc
-%%EXAMPLESDIR%%/Pine.rc
-%%EXAMPLESDIR%%/Tin.rc
-%%EXAMPLESDIR%%/gpg.rc
-%%EXAMPLESDIR%%/iconv/iconv.aix-3.2.5.rc
-%%EXAMPLESDIR%%/iconv/iconv.aix-4.1.5.rc
-%%EXAMPLESDIR%%/iconv/iconv.aix-4.2.0.rc
-%%EXAMPLESDIR%%/iconv/iconv.aix-4.3.2.rc
-%%EXAMPLESDIR%%/iconv/iconv.freebsd-3.3.rc
-%%EXAMPLESDIR%%/iconv/iconv.glibc-2.1.3.rc
-%%EXAMPLESDIR%%/iconv/iconv.glibc-2.1.90.rc
-%%EXAMPLESDIR%%/iconv/iconv.hpux-10.01.rc
-%%EXAMPLESDIR%%/iconv/iconv.hpux-10.20.rc
-%%EXAMPLESDIR%%/iconv/iconv.hpux-11.00.rc
-%%EXAMPLESDIR%%/iconv/iconv.irix-6.5.rc
-%%EXAMPLESDIR%%/iconv/iconv.osf1-4.0a.rc
-%%EXAMPLESDIR%%/iconv/iconv.osf1-4.0d.rc
-%%EXAMPLESDIR%%/iconv/iconv.solaris-2.4.rc
-%%EXAMPLESDIR%%/iconv/iconv.solaris-2.5.1.rc
-%%EXAMPLESDIR%%/iconv/iconv.solaris-2.6-cjk.rc
-%%EXAMPLESDIR%%/iconv/iconv.solaris-2.6.rc
-%%EXAMPLESDIR%%/iconv/iconv.solaris-2.7.rc
-%%EXAMPLESDIR%%/pgp2.rc
-%%EXAMPLESDIR%%/pgp6.rc
-%%EXAMPLESDIR%%/sample.mailcap
-%%EXAMPLESDIR%%/sample.muttrc
-%%EXAMPLESDIR%%/sample.muttrc-tlr
-%%NLS%%share/locale/bg/LC_MESSAGES/mutt.mo
-%%NLS%%share/locale/ca/LC_MESSAGES/mutt.mo
-%%NLS%%share/locale/cs/LC_MESSAGES/mutt.mo
-%%NLS%%share/locale/da/LC_MESSAGES/mutt.mo
-%%NLS%%share/locale/de/LC_MESSAGES/mutt.mo
-%%NLS%%share/locale/el/LC_MESSAGES/mutt.mo
-%%NLS%%share/locale/eo/LC_MESSAGES/mutt.mo
-%%NLS%%share/locale/es/LC_MESSAGES/mutt.mo
-%%NLS%%share/locale/et/LC_MESSAGES/mutt.mo
-%%NLS%%share/locale/fr/LC_MESSAGES/mutt.mo
-%%NLS%%share/locale/gl/LC_MESSAGES/mutt.mo
-%%NLS%%share/locale/hu/LC_MESSAGES/mutt.mo
-%%NLS%%share/locale/id/LC_MESSAGES/mutt.mo
-%%NLS%%share/locale/it/LC_MESSAGES/mutt.mo
-%%NLS%%share/locale/ja/LC_MESSAGES/mutt.mo
-%%NLS%%share/locale/ko/LC_MESSAGES/mutt.mo
-%%NLS%%share/locale/lt/LC_MESSAGES/mutt.mo
-%%NLS%%share/locale/nl/LC_MESSAGES/mutt.mo
-%%NLS%%share/locale/pl/LC_MESSAGES/mutt.mo
-%%NLS%%share/locale/pt_BR/LC_MESSAGES/mutt.mo
-%%NLS%%share/locale/ru/LC_MESSAGES/mutt.mo
-%%NLS%%share/locale/sk/LC_MESSAGES/mutt.mo
-%%NLS%%share/locale/sv/LC_MESSAGES/mutt.mo
-%%NLS%%share/locale/tr/LC_MESSAGES/mutt.mo
-%%NLS%%share/locale/uk/LC_MESSAGES/mutt.mo
-%%NLS%%share/locale/zh_CN/LC_MESSAGES/mutt.mo
-%%NLS%%share/locale/zh_TW/LC_MESSAGES/mutt.mo
-@dirrm %%EXAMPLESDIR%%/iconv
-@dirrm %%EXAMPLESDIR%%
-@dirrm %%DOCSDIR%%
diff --git a/mail/mutt/pkg-plist.htmlfiles b/mail/mutt/pkg-plist.htmlfiles
deleted file mode 100644
index 11dd8b5..0000000
--- a/mail/mutt/pkg-plist.htmlfiles
+++ /dev/null
@@ -1,346 +0,0 @@
-%%DOCSDIR%%/html/manual.html
-%%DOCSDIR%%/html/manual1.html
-%%DOCSDIR%%/html/manual10.html
-%%DOCSDIR%%/html/manual100.html
-%%DOCSDIR%%/html/manual101.html
-%%DOCSDIR%%/html/manual102.html
-%%DOCSDIR%%/html/manual103.html
-%%DOCSDIR%%/html/manual104.html
-%%DOCSDIR%%/html/manual105.html
-%%DOCSDIR%%/html/manual106.html
-%%DOCSDIR%%/html/manual107.html
-%%DOCSDIR%%/html/manual108.html
-%%DOCSDIR%%/html/manual109.html
-%%DOCSDIR%%/html/manual11.html
-%%DOCSDIR%%/html/manual110.html
-%%DOCSDIR%%/html/manual111.html
-%%DOCSDIR%%/html/manual112.html
-%%DOCSDIR%%/html/manual113.html
-%%DOCSDIR%%/html/manual114.html
-%%DOCSDIR%%/html/manual115.html
-%%DOCSDIR%%/html/manual116.html
-%%DOCSDIR%%/html/manual117.html
-%%DOCSDIR%%/html/manual118.html
-%%DOCSDIR%%/html/manual119.html
-%%DOCSDIR%%/html/manual12.html
-%%DOCSDIR%%/html/manual120.html
-%%DOCSDIR%%/html/manual121.html
-%%DOCSDIR%%/html/manual122.html
-%%DOCSDIR%%/html/manual123.html
-%%DOCSDIR%%/html/manual124.html
-%%DOCSDIR%%/html/manual125.html
-%%DOCSDIR%%/html/manual126.html
-%%DOCSDIR%%/html/manual127.html
-%%DOCSDIR%%/html/manual128.html
-%%DOCSDIR%%/html/manual129.html
-%%DOCSDIR%%/html/manual13.html
-%%DOCSDIR%%/html/manual130.html
-%%DOCSDIR%%/html/manual131.html
-%%DOCSDIR%%/html/manual132.html
-%%DOCSDIR%%/html/manual133.html
-%%DOCSDIR%%/html/manual134.html
-%%DOCSDIR%%/html/manual135.html
-%%DOCSDIR%%/html/manual136.html
-%%DOCSDIR%%/html/manual137.html
-%%DOCSDIR%%/html/manual138.html
-%%DOCSDIR%%/html/manual139.html
-%%DOCSDIR%%/html/manual14.html
-%%DOCSDIR%%/html/manual140.html
-%%DOCSDIR%%/html/manual141.html
-%%DOCSDIR%%/html/manual142.html
-%%DOCSDIR%%/html/manual143.html
-%%DOCSDIR%%/html/manual144.html
-%%DOCSDIR%%/html/manual145.html
-%%DOCSDIR%%/html/manual146.html
-%%DOCSDIR%%/html/manual147.html
-%%DOCSDIR%%/html/manual148.html
-%%DOCSDIR%%/html/manual149.html
-%%DOCSDIR%%/html/manual15.html
-%%DOCSDIR%%/html/manual150.html
-%%DOCSDIR%%/html/manual151.html
-%%DOCSDIR%%/html/manual152.html
-%%DOCSDIR%%/html/manual153.html
-%%DOCSDIR%%/html/manual154.html
-%%DOCSDIR%%/html/manual155.html
-%%DOCSDIR%%/html/manual156.html
-%%DOCSDIR%%/html/manual157.html
-%%DOCSDIR%%/html/manual158.html
-%%DOCSDIR%%/html/manual159.html
-%%DOCSDIR%%/html/manual16.html
-%%DOCSDIR%%/html/manual160.html
-%%DOCSDIR%%/html/manual161.html
-%%DOCSDIR%%/html/manual162.html
-%%DOCSDIR%%/html/manual163.html
-%%DOCSDIR%%/html/manual164.html
-%%DOCSDIR%%/html/manual165.html
-%%DOCSDIR%%/html/manual166.html
-%%DOCSDIR%%/html/manual167.html
-%%DOCSDIR%%/html/manual168.html
-%%DOCSDIR%%/html/manual169.html
-%%DOCSDIR%%/html/manual17.html
-%%DOCSDIR%%/html/manual170.html
-%%DOCSDIR%%/html/manual171.html
-%%DOCSDIR%%/html/manual172.html
-%%DOCSDIR%%/html/manual173.html
-%%DOCSDIR%%/html/manual174.html
-%%DOCSDIR%%/html/manual175.html
-%%DOCSDIR%%/html/manual176.html
-%%DOCSDIR%%/html/manual177.html
-%%DOCSDIR%%/html/manual178.html
-%%DOCSDIR%%/html/manual179.html
-%%DOCSDIR%%/html/manual18.html
-%%DOCSDIR%%/html/manual180.html
-%%DOCSDIR%%/html/manual181.html
-%%DOCSDIR%%/html/manual182.html
-%%DOCSDIR%%/html/manual183.html
-%%DOCSDIR%%/html/manual184.html
-%%DOCSDIR%%/html/manual185.html
-%%DOCSDIR%%/html/manual186.html
-%%DOCSDIR%%/html/manual187.html
-%%DOCSDIR%%/html/manual188.html
-%%DOCSDIR%%/html/manual189.html
-%%DOCSDIR%%/html/manual19.html
-%%DOCSDIR%%/html/manual190.html
-%%DOCSDIR%%/html/manual191.html
-%%DOCSDIR%%/html/manual192.html
-%%DOCSDIR%%/html/manual193.html
-%%DOCSDIR%%/html/manual194.html
-%%DOCSDIR%%/html/manual195.html
-%%DOCSDIR%%/html/manual196.html
-%%DOCSDIR%%/html/manual197.html
-%%DOCSDIR%%/html/manual198.html
-%%DOCSDIR%%/html/manual199.html
-%%DOCSDIR%%/html/manual2.html
-%%DOCSDIR%%/html/manual20.html
-%%DOCSDIR%%/html/manual200.html
-%%DOCSDIR%%/html/manual201.html
-%%DOCSDIR%%/html/manual202.html
-%%DOCSDIR%%/html/manual203.html
-%%DOCSDIR%%/html/manual204.html
-%%DOCSDIR%%/html/manual205.html
-%%DOCSDIR%%/html/manual206.html
-%%DOCSDIR%%/html/manual207.html
-%%DOCSDIR%%/html/manual208.html
-%%DOCSDIR%%/html/manual209.html
-%%DOCSDIR%%/html/manual21.html
-%%DOCSDIR%%/html/manual210.html
-%%DOCSDIR%%/html/manual211.html
-%%DOCSDIR%%/html/manual212.html
-%%DOCSDIR%%/html/manual213.html
-%%DOCSDIR%%/html/manual214.html
-%%DOCSDIR%%/html/manual215.html
-%%DOCSDIR%%/html/manual216.html
-%%DOCSDIR%%/html/manual217.html
-%%DOCSDIR%%/html/manual218.html
-%%DOCSDIR%%/html/manual219.html
-%%DOCSDIR%%/html/manual22.html
-%%DOCSDIR%%/html/manual220.html
-%%DOCSDIR%%/html/manual221.html
-%%DOCSDIR%%/html/manual222.html
-%%DOCSDIR%%/html/manual223.html
-%%DOCSDIR%%/html/manual224.html
-%%DOCSDIR%%/html/manual225.html
-%%DOCSDIR%%/html/manual226.html
-%%DOCSDIR%%/html/manual227.html
-%%DOCSDIR%%/html/manual228.html
-%%DOCSDIR%%/html/manual229.html
-%%DOCSDIR%%/html/manual23.html
-%%DOCSDIR%%/html/manual230.html
-%%DOCSDIR%%/html/manual231.html
-%%DOCSDIR%%/html/manual232.html
-%%DOCSDIR%%/html/manual233.html
-%%DOCSDIR%%/html/manual234.html
-%%DOCSDIR%%/html/manual235.html
-%%DOCSDIR%%/html/manual236.html
-%%DOCSDIR%%/html/manual237.html
-%%DOCSDIR%%/html/manual238.html
-%%DOCSDIR%%/html/manual239.html
-%%DOCSDIR%%/html/manual24.html
-%%DOCSDIR%%/html/manual240.html
-%%DOCSDIR%%/html/manual241.html
-%%DOCSDIR%%/html/manual242.html
-%%DOCSDIR%%/html/manual243.html
-%%DOCSDIR%%/html/manual244.html
-%%DOCSDIR%%/html/manual245.html
-%%DOCSDIR%%/html/manual246.html
-%%DOCSDIR%%/html/manual247.html
-%%DOCSDIR%%/html/manual248.html
-%%DOCSDIR%%/html/manual249.html
-%%DOCSDIR%%/html/manual25.html
-%%DOCSDIR%%/html/manual250.html
-%%DOCSDIR%%/html/manual251.html
-%%DOCSDIR%%/html/manual252.html
-%%DOCSDIR%%/html/manual253.html
-%%DOCSDIR%%/html/manual254.html
-%%DOCSDIR%%/html/manual255.html
-%%DOCSDIR%%/html/manual256.html
-%%DOCSDIR%%/html/manual257.html
-%%DOCSDIR%%/html/manual258.html
-%%DOCSDIR%%/html/manual259.html
-%%DOCSDIR%%/html/manual26.html
-%%DOCSDIR%%/html/manual260.html
-%%DOCSDIR%%/html/manual261.html
-%%DOCSDIR%%/html/manual262.html
-%%DOCSDIR%%/html/manual263.html
-%%DOCSDIR%%/html/manual264.html
-%%DOCSDIR%%/html/manual265.html
-%%DOCSDIR%%/html/manual266.html
-%%DOCSDIR%%/html/manual267.html
-%%DOCSDIR%%/html/manual268.html
-%%DOCSDIR%%/html/manual269.html
-%%DOCSDIR%%/html/manual27.html
-%%DOCSDIR%%/html/manual270.html
-%%DOCSDIR%%/html/manual271.html
-%%DOCSDIR%%/html/manual272.html
-%%DOCSDIR%%/html/manual273.html
-%%DOCSDIR%%/html/manual274.html
-%%DOCSDIR%%/html/manual275.html
-%%DOCSDIR%%/html/manual276.html
-%%DOCSDIR%%/html/manual277.html
-%%DOCSDIR%%/html/manual278.html
-%%DOCSDIR%%/html/manual279.html
-%%DOCSDIR%%/html/manual28.html
-%%DOCSDIR%%/html/manual280.html
-%%DOCSDIR%%/html/manual281.html
-%%DOCSDIR%%/html/manual282.html
-%%DOCSDIR%%/html/manual283.html
-%%DOCSDIR%%/html/manual284.html
-%%DOCSDIR%%/html/manual285.html
-%%DOCSDIR%%/html/manual286.html
-%%DOCSDIR%%/html/manual287.html
-%%DOCSDIR%%/html/manual288.html
-%%DOCSDIR%%/html/manual289.html
-%%DOCSDIR%%/html/manual29.html
-%%DOCSDIR%%/html/manual290.html
-%%DOCSDIR%%/html/manual291.html
-%%DOCSDIR%%/html/manual292.html
-%%DOCSDIR%%/html/manual293.html
-%%DOCSDIR%%/html/manual294.html
-%%DOCSDIR%%/html/manual295.html
-%%DOCSDIR%%/html/manual296.html
-%%DOCSDIR%%/html/manual297.html
-%%DOCSDIR%%/html/manual298.html
-%%DOCSDIR%%/html/manual299.html
-%%DOCSDIR%%/html/manual3.html
-%%DOCSDIR%%/html/manual30.html
-%%DOCSDIR%%/html/manual300.html
-%%DOCSDIR%%/html/manual301.html
-%%DOCSDIR%%/html/manual302.html
-%%DOCSDIR%%/html/manual303.html
-%%DOCSDIR%%/html/manual304.html
-%%DOCSDIR%%/html/manual305.html
-%%DOCSDIR%%/html/manual306.html
-%%DOCSDIR%%/html/manual307.html
-%%DOCSDIR%%/html/manual308.html
-%%DOCSDIR%%/html/manual309.html
-%%DOCSDIR%%/html/manual31.html
-%%DOCSDIR%%/html/manual310.html
-%%DOCSDIR%%/html/manual311.html
-%%DOCSDIR%%/html/manual312.html
-%%DOCSDIR%%/html/manual313.html
-%%DOCSDIR%%/html/manual314.html
-%%DOCSDIR%%/html/manual315.html
-%%DOCSDIR%%/html/manual316.html
-%%DOCSDIR%%/html/manual317.html
-%%DOCSDIR%%/html/manual318.html
-%%DOCSDIR%%/html/manual319.html
-%%DOCSDIR%%/html/manual32.html
-%%DOCSDIR%%/html/manual320.html
-%%DOCSDIR%%/html/manual321.html
-%%DOCSDIR%%/html/manual322.html
-%%DOCSDIR%%/html/manual323.html
-%%DOCSDIR%%/html/manual324.html
-%%DOCSDIR%%/html/manual325.html
-%%DOCSDIR%%/html/manual326.html
-%%DOCSDIR%%/html/manual327.html
-%%DOCSDIR%%/html/manual328.html
-%%DOCSDIR%%/html/manual329.html
-%%DOCSDIR%%/html/manual33.html
-%%DOCSDIR%%/html/manual330.html
-%%DOCSDIR%%/html/manual331.html
-%%DOCSDIR%%/html/manual332.html
-%%DOCSDIR%%/html/manual333.html
-%%DOCSDIR%%/html/manual334.html
-%%DOCSDIR%%/html/manual335.html
-%%DOCSDIR%%/html/manual336.html
-%%DOCSDIR%%/html/manual337.html
-%%DOCSDIR%%/html/manual338.html
-%%DOCSDIR%%/html/manual339.html
-%%DOCSDIR%%/html/manual34.html
-%%DOCSDIR%%/html/manual340.html
-%%DOCSDIR%%/html/manual341.html
-%%DOCSDIR%%/html/manual342.html
-%%DOCSDIR%%/html/manual35.html
-%%DOCSDIR%%/html/manual36.html
-%%DOCSDIR%%/html/manual37.html
-%%DOCSDIR%%/html/manual38.html
-%%DOCSDIR%%/html/manual39.html
-%%DOCSDIR%%/html/manual4.html
-%%DOCSDIR%%/html/manual40.html
-%%DOCSDIR%%/html/manual41.html
-%%DOCSDIR%%/html/manual42.html
-%%DOCSDIR%%/html/manual43.html
-%%DOCSDIR%%/html/manual44.html
-%%DOCSDIR%%/html/manual45.html
-%%DOCSDIR%%/html/manual46.html
-%%DOCSDIR%%/html/manual47.html
-%%DOCSDIR%%/html/manual48.html
-%%DOCSDIR%%/html/manual49.html
-%%DOCSDIR%%/html/manual5.html
-%%DOCSDIR%%/html/manual50.html
-%%DOCSDIR%%/html/manual51.html
-%%DOCSDIR%%/html/manual52.html
-%%DOCSDIR%%/html/manual53.html
-%%DOCSDIR%%/html/manual54.html
-%%DOCSDIR%%/html/manual55.html
-%%DOCSDIR%%/html/manual56.html
-%%DOCSDIR%%/html/manual57.html
-%%DOCSDIR%%/html/manual58.html
-%%DOCSDIR%%/html/manual59.html
-%%DOCSDIR%%/html/manual6.html
-%%DOCSDIR%%/html/manual60.html
-%%DOCSDIR%%/html/manual61.html
-%%DOCSDIR%%/html/manual62.html
-%%DOCSDIR%%/html/manual63.html
-%%DOCSDIR%%/html/manual64.html
-%%DOCSDIR%%/html/manual65.html
-%%DOCSDIR%%/html/manual66.html
-%%DOCSDIR%%/html/manual67.html
-%%DOCSDIR%%/html/manual68.html
-%%DOCSDIR%%/html/manual69.html
-%%DOCSDIR%%/html/manual7.html
-%%DOCSDIR%%/html/manual70.html
-%%DOCSDIR%%/html/manual71.html
-%%DOCSDIR%%/html/manual72.html
-%%DOCSDIR%%/html/manual73.html
-%%DOCSDIR%%/html/manual74.html
-%%DOCSDIR%%/html/manual75.html
-%%DOCSDIR%%/html/manual76.html
-%%DOCSDIR%%/html/manual77.html
-%%DOCSDIR%%/html/manual78.html
-%%DOCSDIR%%/html/manual79.html
-%%DOCSDIR%%/html/manual8.html
-%%DOCSDIR%%/html/manual80.html
-%%DOCSDIR%%/html/manual81.html
-%%DOCSDIR%%/html/manual82.html
-%%DOCSDIR%%/html/manual83.html
-%%DOCSDIR%%/html/manual84.html
-%%DOCSDIR%%/html/manual85.html
-%%DOCSDIR%%/html/manual86.html
-%%DOCSDIR%%/html/manual87.html
-%%DOCSDIR%%/html/manual88.html
-%%DOCSDIR%%/html/manual89.html
-%%DOCSDIR%%/html/manual9.html
-%%DOCSDIR%%/html/manual90.html
-%%DOCSDIR%%/html/manual91.html
-%%DOCSDIR%%/html/manual92.html
-%%DOCSDIR%%/html/manual93.html
-%%DOCSDIR%%/html/manual94.html
-%%DOCSDIR%%/html/manual95.html
-%%DOCSDIR%%/html/manual96.html
-%%DOCSDIR%%/html/manual97.html
-%%DOCSDIR%%/html/manual98.html
-%%DOCSDIR%%/html/manual99.html
-%%DOCSDIR%%/html/manual_toc.html
-%%DOCSDIR%%/manual.latin1
-@dirrm %%DOCSDIR%%/html
diff --git a/mail/mutt-devel/scripts/generate-plist b/mail/mutt/scripts/generate-plist
index 3d03275..3d03275 100644
--- a/mail/mutt-devel/scripts/generate-plist
+++ b/mail/mutt/scripts/generate-plist
diff --git a/mail/mutt-lite/Makefile b/mail/mutt14-lite/Makefile
index daa5e7e..a1e8dba 100644
--- a/mail/mutt-lite/Makefile
+++ b/mail/mutt14-lite/Makefile
@@ -7,11 +7,11 @@
# Just to get a mutt-lite pkg on pkg cluster
-MASTERDIR= ${.CURDIR}/../../mail/mutt
+MASTERDIR= ${.CURDIR}/../../mail/mutt14
COMMENT= mutt, the Mongrel of Mail User Agents (lite package)
-CONFLICTS= ja-mutt-[0-9]* ja-mutt-devel-[0-9]* mutt-[0-9]* mutt-devel-[0-9]* mutt-devel-lite-[0-9]* zh-mutt-devel-[0-9]*
+CONFLICTS= ja-mutt-[0-9]* ja-mutt-devel-[0-9]* mutt-[0-9]* mutt-devel-[0-9]* mutt-devel-lite-[0-9]* zh-mutt-devel-[0-9]* mutt-lite-[^1].[^4]*
MUTT_LITE= yes
diff --git a/mail/mutt14/Makefile b/mail/mutt14/Makefile
index 06adbe7..63fca19 100644
--- a/mail/mutt14/Makefile
+++ b/mail/mutt14/Makefile
@@ -8,12 +8,10 @@
PORTNAME= mutt
PORTVERSION= 1.4.2.3
-PORTREVISION?= 6
CATEGORIES+= mail ipv6
MASTER_SITES= ftp://ftp.mutt.org/mutt/ \
ftp://ftp.fu-berlin.de/pub/unix/mail/mutt/ \
- ftp://ftp.demon.co.uk/pub/mirrors/mutt/ \
- ftp://ftp.parodius.com/pub/mutt/
+ ftp://ftp.demon.co.uk/pub/mirrors/mutt/
PATCHVERSION?= ${PORTVERSION}
PATCHVERSION= 1.4.2.2
@@ -29,7 +27,7 @@ PATCH_DIST_STRIP= -p1
MAINTAINER?= udo.schweigert@siemens.com
COMMENT?= The Mongrel of Mail User Agents (part Elm, Pine, Mush, mh, etc.)
-CONFLICTS?= ja-mutt-[0-9]* ja-mutt-devel-[0-9]* mutt-devel-[0-9]* mutt-devel-lite-[0-9]* mutt-lite-[0-9]* zh-mutt-devel-[0-9]*
+CONFLICTS?= ja-mutt-[0-9]* ja-mutt-devel-[0-9]* mutt-devel-[0-9]* mutt-devel-lite-[0-9]* mutt-lite-[0-9]* zh-mutt-devel-[0-9]* mutt-[^1].[^4]*
OPTIONS= NLS "Native Language Support via gettext utilities" on \
SLANG "Adds display/screen management via S-Lang" off \
OpenPOWER on IntegriCloud