aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authornaddy <naddy@FreeBSD.org>2002-08-14 06:05:04 +0800
committernaddy <naddy@FreeBSD.org>2002-08-14 06:05:04 +0800
commitedaf772522e720f2a7d7841e2d1af34b9974883f (patch)
tree42218d9bcf234e6dc9687f11af6cccce4a4d69f8 /mail
parent42c53db6c54eddb5613afbcee64a82ca0db855bf (diff)
downloadfreebsd-ports-gnome-edaf772522e720f2a7d7841e2d1af34b9974883f.tar.gz
freebsd-ports-gnome-edaf772522e720f2a7d7841e2d1af34b9974883f.tar.zst
freebsd-ports-gnome-edaf772522e720f2a7d7841e2d1af34b9974883f.zip
- Add new knobs WITH_MUTT_SIGNATURE_MENU and WITH_MUTT_IFDEF_PATCH.
- Generate the pkg-plist by using a script, so the whole port is much more maintainable. PR: 41621 Submitted by: Udo Schweigert <udo.schweigert@siemens.com>
Diffstat (limited to 'mail')
-rw-r--r--mail/mutt-devel/Makefile193
-rw-r--r--mail/mutt-devel/distinfo2
-rw-r--r--mail/mutt-devel/pkg-plist634
-rw-r--r--mail/mutt-devel/scripts/generate-plist164
4 files changed, 219 insertions, 774 deletions
diff --git a/mail/mutt-devel/Makefile b/mail/mutt-devel/Makefile
index 73a9a57cabd9..685a46ea7b1a 100644
--- a/mail/mutt-devel/Makefile
+++ b/mail/mutt-devel/Makefile
@@ -55,10 +55,16 @@
#
# If you want to use the rethreading functions define:
# WITH_MUTT_EDIT_THREADS
+#
+# If you want to use the signature menu define:
+# WITH_MUTT_SIGNATURE_MENU
+#
+# If you want to use the ifdef feature define:
+# WITH_MUTT_IFDEF_PATCH
PORTNAME= mutt-devel
PORTVERSION= 1.5.1
-PORTREVISION?= 1
+PORTREVISION?= 2
CATEGORIES+= mail
.if defined(WITH_MUTT_NNTP)
CATEGORIES+= news
@@ -84,6 +90,9 @@ CONFIGURE_ARGS+= ${MUTT_CONFIGURE_ARGS}
USE_REINPLACE= yes
USE_AUTOMAKE= yes
+PLIST= ${WRKDIR}/PLIST
+SCRIPTS_ENV= WRKDIR="${WRKDIR}"
+
.include <bsd.port.pre.mk>
.if defined(WITH_MUTT_COMPRESSED_FOLDERS) || defined(WITH_MUTT_NNTP) || \
@@ -94,7 +103,8 @@ PATCH_SITES+= http://www.mutt.org.ua/download/mutt-${PATCH_VERSION}/ \
ftp://ftp2.mutt.org.ua/pub/mutt/mutt-${PATCH_VERSION}/
.endif
-.if defined(WITH_MUTT_EDIT_THREADS)
+.if defined(WITH_MUTT_EDIT_THREADS) || defined(WITH_MUTT_SIGNATURE_MENU) || \
+ defined(WITH_MUTT_IFDEF_PATCH)
PATCH_SITES+= http://cedricduval.free.fr/download/mutt/
.endif
@@ -205,6 +215,12 @@ PATCHFILES+= patch-${PATCH_VERSION}.vvv.initials.gz \
PATCHFILES+= patch-${PATCH_VERSION}.cd.edit_threads.9.2
CONFIGURE_ARGS+= --enable-imap-edit-threads
.endif
+.if defined(WITH_MUTT_SIGNATURE_MENU)
+PATCHFILES+= patch-${PATCH_VERSION}.cd.signatures_menu.2.1
+.endif
+.if defined(WITH_MUTT_IFDEF_PATCH)
+PATCHFILES+= patch-${PATCH_VERSION}.cd.ifdef.1
+.endif
WRKSRC= ${WRKDIR}/${DISTNAME:S/i$//}
MAN1= flea.1 mutt.1 mutt_dotlock.1 muttbug.1
@@ -218,161 +234,58 @@ post-patch::
pre-configure::
@(cd ${WRKSRC}; ${ACLOCAL} -I m4)
+.if defined(WITH_MUTT_NNTP)
+SCRIPTS_ENV+= MUTT_NNTP="yes"
+.endif
+.if defined(WITH_MUTT_COMPRESSED_FOLDERS)
+SCRIPTS_ENV+= MUTT_COMPRESSED_FOLDERS="yes"
+.endif
+.if defined(WITH_MUTT_QUOTE_PATCH)
+SCRIPTS_ENV+= MUTT_QUOTE_PATCH="yes"
+.endif
+.if defined(WITH_MUTT_PGP_OUTLOOK_PATCH)
+SCRIPTS_ENV+= MUTT_PGP_OUTLOOK_PATCH="yes"
+.endif
+.if defined(WITH_MUTT_EDIT_THREADS)
+SCRIPTS_ENV+= MUTT_EDIT_THREADS="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(WITH_MUTT_HTML)
+SCRIPTS_ENV+= MUTT_HTML="yes"
+.endif
+
.if !defined(NOPORTDOCS)
+SCRIPTS_ENV+= MUTT_PORTDOCS="yes"
post-build:
${PATCH} ${PATCH_ARGS} < ${PATCHDIR}/extra-patch-doc-ref
printf ",s|\$${PREFIX}|%s|g\nw\nq\n" ${PREFIX} | \
ed -s ${WRKSRC}/doc/mutt.man
-.if defined(WITH_MUTT_NNTP)
-.if !defined(WITHOUT_MUTT_SGMLFORMAT)
+.if defined(WITH_MUTT_NNTP) && !defined(WITHOUT_MUTT_SGMLFORMAT)
SGML_USED= yes
.endif
-PLIST_SUB+= SUB_NNTP=""
-.else
-PLIST_SUB+= SUB_NNTP="@comment "
-.endif
.if defined(WITH_MUTT_HTML)
SGML_USED= yes
-PLIST_SUB+= SUB_HTML=""
-.if defined(WITH_MUTT_COMPRESSED_FOLDERS) && defined(WITH_MUTT_NNTP) && \
- defined(WITH_MUTT_QUOTE_PATCH)
-PLIST_SUB+= SUB_ADD_G=""
-PLIST_SUB+= SUB_ADD_A="@comment "
-PLIST_SUB+= SUB_ADD_B="@comment "
-PLIST_SUB+= SUB_ADD_C="@comment "
-PLIST_SUB+= SUB_ADD_D="@comment "
-PLIST_SUB+= SUB_ADD_E="@comment "
-PLIST_SUB+= SUB_ADD_F="@comment "
-PLIST_SUB+= SUB_PATCHES="@comment "
-.elif defined(WITH_MUTT_COMPRESSED_FOLDERS) && defined(WITH_MUTT_NNTP) && \
- !defined(WITH_MUTT_QUOTE_PATCH)
-PLIST_SUB+= SUB_ADD_F=""
-PLIST_SUB+= SUB_ADD_A="@comment "
-PLIST_SUB+= SUB_ADD_B="@comment "
-PLIST_SUB+= SUB_ADD_C="@comment "
-PLIST_SUB+= SUB_ADD_D="@comment "
-PLIST_SUB+= SUB_ADD_E="@comment "
-PLIST_SUB+= SUB_ADD_G="@comment "
-PLIST_SUB+= SUB_PATCHES="@comment "
-.elif defined(WITH_MUTT_COMPRESSED_FOLDERS) && !defined(WITH_MUTT_NNTP) && \
- defined(WITH_MUTT_QUOTE_PATCH)
-PLIST_SUB+= SUB_ADD_C=""
-PLIST_SUB+= SUB_ADD_A="@comment "
-PLIST_SUB+= SUB_ADD_B="@comment "
-PLIST_SUB+= SUB_ADD_D="@comment "
-PLIST_SUB+= SUB_ADD_E="@comment "
-PLIST_SUB+= SUB_ADD_F="@comment "
-PLIST_SUB+= SUB_ADD_G="@comment "
-PLIST_SUB+= SUB_PATCHES="@comment "
-.elif defined(WITH_MUTT_COMPRESSED_FOLDERS) && !defined(WITH_MUTT_NNTP) && \
- !defined(WITH_MUTT_QUOTE_PATCH)
-PLIST_SUB+= SUB_ADD_B=""
-PLIST_SUB+= SUB_ADD_A="@comment "
-PLIST_SUB+= SUB_ADD_C="@comment "
-PLIST_SUB+= SUB_ADD_D="@comment "
-PLIST_SUB+= SUB_ADD_E="@comment "
-PLIST_SUB+= SUB_ADD_F="@comment "
-PLIST_SUB+= SUB_ADD_G="@comment "
-PLIST_SUB+= SUB_PATCHES="@comment "
-.elif !defined(WITH_MUTT_COMPRESSED_FOLDERS) && defined(WITH_MUTT_NNTP) && \
- defined(WITH_MUTT_QUOTE_PATCH)
-PLIST_SUB+= SUB_ADD_E=""
-PLIST_SUB+= SUB_ADD_A="@comment "
-PLIST_SUB+= SUB_ADD_B="@comment "
-PLIST_SUB+= SUB_ADD_C="@comment "
-PLIST_SUB+= SUB_ADD_D="@comment "
-PLIST_SUB+= SUB_ADD_F="@comment "
-PLIST_SUB+= SUB_ADD_G="@comment "
-PLIST_SUB+= SUB_PATCHES="@comment "
-.elif !defined(WITH_MUTT_COMPRESSED_FOLDERS) && defined(WITH_MUTT_NNTP) && \
- !defined(WITH_MUTT_QUOTE_PATCH)
-PLIST_SUB+= SUB_ADD_D=""
-PLIST_SUB+= SUB_ADD_A="@comment "
-PLIST_SUB+= SUB_ADD_B="@comment "
-PLIST_SUB+= SUB_ADD_C="@comment "
-PLIST_SUB+= SUB_ADD_E="@comment "
-PLIST_SUB+= SUB_ADD_F="@comment "
-PLIST_SUB+= SUB_ADD_G="@comment "
-PLIST_SUB+= SUB_PATCHES="@comment "
-.elif !defined(WITH_MUTT_COMPRESSED_FOLDERS) && !defined(WITH_MUTT_NNTP) && \
- defined(WITH_MUTT_QUOTE_PATCH)
-PLIST_SUB+= SUB_ADD_A=""
-PLIST_SUB+= SUB_ADD_B="@comment "
-PLIST_SUB+= SUB_ADD_C="@comment "
-PLIST_SUB+= SUB_ADD_D="@comment "
-PLIST_SUB+= SUB_ADD_E="@comment "
-PLIST_SUB+= SUB_ADD_F="@comment "
-PLIST_SUB+= SUB_ADD_G="@comment "
-PLIST_SUB+= SUB_PATCHES="@comment "
-.elif !defined(WITH_MUTT_COMPRESSED_FOLDERS) && !defined(WITH_MUTT_NNTP) && \
- !defined(WITH_MUTT_QUOTE_PATCH)
-PLIST_SUB+= SUB_ADD_A="@comment "
-PLIST_SUB+= SUB_ADD_B="@comment "
-PLIST_SUB+= SUB_ADD_C="@comment "
-PLIST_SUB+= SUB_ADD_D="@comment "
-PLIST_SUB+= SUB_ADD_E="@comment "
-PLIST_SUB+= SUB_ADD_F="@comment "
-PLIST_SUB+= SUB_ADD_G="@comment "
-PLIST_SUB+= SUB_PATCHES=""
-.else # patches
-PLIST_SUB+= SUB_ADD_A="@comment "
-PLIST_SUB+= SUB_ADD_B="@comment "
-PLIST_SUB+= SUB_ADD_C="@comment "
-PLIST_SUB+= SUB_ADD_D="@comment "
-PLIST_SUB+= SUB_ADD_E="@comment "
-PLIST_SUB+= SUB_ADD_F="@comment "
-PLIST_SUB+= SUB_ADD_G="@comment "
-PLIST_SUB+= SUB_PATCHES=""
-.endif
-.else # HTML
-PLIST_SUB+= SUB_HTML="@comment "
-PLIST_SUB+= SUB_ADD_A="@comment "
-PLIST_SUB+= SUB_ADD_B="@comment "
-PLIST_SUB+= SUB_ADD_C="@comment "
-PLIST_SUB+= SUB_ADD_D="@comment "
-PLIST_SUB+= SUB_ADD_E="@comment "
-PLIST_SUB+= SUB_ADD_F="@comment "
-PLIST_SUB+= SUB_ADD_G="@comment "
-PLIST_SUB+= SUB_PATCHES="@comment "
-.endif
-.else # NOPORTDOCS
-PLIST_SUB+= SUB_HTML="@comment "
-PLIST_SUB+= SUB_NNTP="@comment "
-PLIST_SUB+= SUB_ADD_A="@comment "
-PLIST_SUB+= SUB_ADD_B="@comment "
-PLIST_SUB+= SUB_ADD_C="@comment "
-PLIST_SUB+= SUB_ADD_D="@comment "
-PLIST_SUB+= SUB_ADD_E="@comment "
-PLIST_SUB+= SUB_ADD_F="@comment "
-PLIST_SUB+= SUB_ADD_G="@comment "
-PLIST_SUB+= SUB_PATCHES="@comment "
+.endif
+.else # ! NOPORTDOCS
post-patch::
${PATCH} ${PATCH_ARGS} < ${PATCHDIR}/extra-patch-nodoc-contrib
-.endif
-.if defined(WITH_MUTT_PGP_OUTLOOK_PATCH) && !defined(WITH_MUTT_EDIT_THREADS)
-PLIST_SUB+= SUB_PGP=""
-.else
-PLIST_SUB+= SUB_PGP="@comment "
-.endif
-.if defined(WITH_MUTT_EDIT_THREADS) && !defined(WITH_MUTT_PGP_OUTLOOK_PATCH)
-PLIST_SUB+= SUB_THREAD=""
-.else
-PLIST_SUB+= SUB_THREAD="@comment "
-.endif
-.if defined(WITH_MUTT_EDIT_THREADS) && defined(WITH_MUTT_PGP_OUTLOOK_PATCH)
-PLIST_SUB+= SUB_THREAD_PGP=""
-.else
-PLIST_SUB+= SUB_THREAD_PGP="@comment "
-.endif
+.endif # ! NOPORTDOCS
+
.if ${SGML_USED} == yes
+SCRIPTS_ENV+= MUTT_SGML="yes"
BUILD_DEPENDS+= sgmlfmt:${PORTSDIR}/textproc/sgmlformat
post-patch::
${PATCH} ${PATCH_ARGS} < ${PATCHDIR}/extra-patch-sgmlformat
-PLIST_SUB+= SUB_SGML=""
-.else
-PLIST_SUB+= SUB_SGML="@comment "
.endif
+pre-install:
+ @${SETENV} ${SCRIPTS_ENV} ${SH} ${SCRIPTDIR}/generate-plist > ${PLIST}
+
post-install:
@strip ${PREFIX}/bin/mutt
.if !defined(NOPORTDOCS)
diff --git a/mail/mutt-devel/distinfo b/mail/mutt-devel/distinfo
index c9ce53eb2f75..bd1564a44acb 100644
--- a/mail/mutt-devel/distinfo
+++ b/mail/mutt-devel/distinfo
@@ -4,3 +4,5 @@ MD5 (mutt/patch-1.5.1.vvv.nntp.gz) = 5bce8bf3d320808cfa7b822ebcc5086d
MD5 (mutt/patch-1.5.1.vvv.initials.gz) = 39cd4f8beff1664a3078d4a1a08c7b5e
MD5 (mutt/patch-1.5.1.vvv.quote.gz) = 83aa6b5a9c1117d7f15df0c59037c318
MD5 (mutt/patch-1.5.1.cd.edit_threads.9.2) = cbbae803c62b3304cac76a6185745f8f
+MD5 (mutt/patch-1.5.1.cd.signatures_menu.2.1) = 599637b340de9d57ce75545384ad51f3
+MD5 (mutt/patch-1.5.1.cd.ifdef.1) = 3ee107f5ce66f7fb6a5bab698c5b7f90
diff --git a/mail/mutt-devel/pkg-plist b/mail/mutt-devel/pkg-plist
deleted file mode 100644
index 3b52e40790f8..000000000000
--- a/mail/mutt-devel/pkg-plist
+++ /dev/null
@@ -1,634 +0,0 @@
-@comment $FreeBSD$
-bin/flea
-bin/mutt
-bin/mutt_dotlock
-bin/muttbug
-bin/pgpewrap
-bin/pgpring
-bin/smime_keys
-etc/Muttrc
-etc/mime.types
-share/locale/ca/LC_MESSAGES/mutt.mo
-share/locale/cs/LC_MESSAGES/mutt.mo
-share/locale/da/LC_MESSAGES/mutt.mo
-share/locale/de/LC_MESSAGES/mutt.mo
-share/locale/el/LC_MESSAGES/mutt.mo
-share/locale/eo/LC_MESSAGES/mutt.mo
-share/locale/es/LC_MESSAGES/mutt.mo
-share/locale/et/LC_MESSAGES/mutt.mo
-share/locale/fr/LC_MESSAGES/mutt.mo
-share/locale/gl/LC_MESSAGES/mutt.mo
-share/locale/hu/LC_MESSAGES/mutt.mo
-share/locale/id/LC_MESSAGES/mutt.mo
-share/locale/it/LC_MESSAGES/mutt.mo
-share/locale/ja/LC_MESSAGES/mutt.mo
-share/locale/ko/LC_MESSAGES/mutt.mo
-share/locale/lt/LC_MESSAGES/mutt.mo
-share/locale/nl/LC_MESSAGES/mutt.mo
-share/locale/pl/LC_MESSAGES/mutt.mo
-share/locale/pt_BR/LC_MESSAGES/mutt.mo
-share/locale/ru/LC_MESSAGES/mutt.mo
-share/locale/sk/LC_MESSAGES/mutt.mo
-share/locale/sv/LC_MESSAGES/mutt.mo
-share/locale/tr/LC_MESSAGES/mutt.mo
-share/locale/uk/LC_MESSAGES/mutt.mo
-share/locale/zh_CN/LC_MESSAGES/mutt.mo
-share/locale/zh_TW/LC_MESSAGES/mutt.mo
-%%PORTDOCS%%share/doc/mutt/ABOUT-NLS
-%%PORTDOCS%%share/doc/mutt/COPYRIGHT
-%%PORTDOCS%%share/doc/mutt/ChangeLog
-%%SUB_NNTP%%share/doc/mutt/ChangeLog.nntp
-%%PORTDOCS%%share/doc/mutt/GPL
-%%PORTDOCS%%share/doc/mutt/INSTALL
-%%PORTDOCS%%share/doc/mutt/NEWS
-%%PORTDOCS%%share/doc/mutt/PGP-Notes.txt
-%%PORTDOCS%%share/doc/mutt/README
-%%PORTDOCS%%share/doc/mutt/README.SECURITY
-%%PORTDOCS%%share/doc/mutt/README.SSL
-%%PORTDOCS%%share/doc/mutt/TODO
-%%PORTDOCS%%share/doc/mutt/applying-patches.txt
-%%PORTDOCS%%share/doc/mutt/devel-notes.txt
-%%PORTDOCS%%share/doc/mutt/language.txt
-%%PORTDOCS%%share/doc/mutt/language50.txt
-%%SUB_SGML%%share/doc/mutt/manual.latin1
-%%PORTDOCS%%share/doc/mutt/manual.txt
-%%PORTDOCS%%share/doc/mutt/patch-notes.txt
-%%PORTDOCS%%share/doc/mutt/smime-notes.txt
-%%PORTDOCS%%share/doc/mutt/samples/Mush.rc
-%%PORTDOCS%%share/doc/mutt/samples/Pine.rc
-%%PORTDOCS%%share/doc/mutt/samples/Tin.rc
-%%PORTDOCS%%share/doc/mutt/samples/ca-bundle.crt
-%%PORTDOCS%%share/doc/mutt/samples/gpg.rc
-%%PORTDOCS%%share/doc/mutt/samples/pgp2.rc
-%%PORTDOCS%%share/doc/mutt/samples/pgp5.rc
-%%PORTDOCS%%share/doc/mutt/samples/pgp6.rc
-%%PORTDOCS%%share/doc/mutt/samples/sample.mailcap
-%%PORTDOCS%%share/doc/mutt/samples/sample.muttrc
-%%PORTDOCS%%share/doc/mutt/samples/sample.muttrc-tlr
-%%PORTDOCS%%share/doc/mutt/samples/smime.rc
-%%PORTDOCS%%share/doc/mutt/samples/smime_keys_test.pl
-%%PORTDOCS%%share/doc/mutt/samples/iconv/iconv.aix-3.2.5.rc
-%%PORTDOCS%%share/doc/mutt/samples/iconv/iconv.aix-4.1.5.rc
-%%PORTDOCS%%share/doc/mutt/samples/iconv/iconv.aix-4.2.0.rc
-%%PORTDOCS%%share/doc/mutt/samples/iconv/iconv.aix-4.3.2.rc
-%%PORTDOCS%%share/doc/mutt/samples/iconv/iconv.freebsd-3.3.rc
-%%PORTDOCS%%share/doc/mutt/samples/iconv/iconv.glibc-2.1.3.rc
-%%PORTDOCS%%share/doc/mutt/samples/iconv/iconv.glibc-2.1.90.rc
-%%PORTDOCS%%share/doc/mutt/samples/iconv/iconv.hpux-10.01.rc
-%%PORTDOCS%%share/doc/mutt/samples/iconv/iconv.hpux-10.20.rc
-%%PORTDOCS%%share/doc/mutt/samples/iconv/iconv.hpux-11.00.rc
-%%PORTDOCS%%share/doc/mutt/samples/iconv/iconv.irix-6.5.rc
-%%PORTDOCS%%share/doc/mutt/samples/iconv/iconv.osf1-4.0a.rc
-%%PORTDOCS%%share/doc/mutt/samples/iconv/iconv.osf1-4.0d.rc
-%%PORTDOCS%%share/doc/mutt/samples/iconv/iconv.solaris-2.4.rc
-%%PORTDOCS%%share/doc/mutt/samples/iconv/iconv.solaris-2.5.1.rc
-%%PORTDOCS%%share/doc/mutt/samples/iconv/iconv.solaris-2.6-cjk.rc
-%%PORTDOCS%%share/doc/mutt/samples/iconv/iconv.solaris-2.6.rc
-%%PORTDOCS%%share/doc/mutt/samples/iconv/iconv.solaris-2.7.rc
-%%PORTDOCS%%@dirrm share/doc/mutt/samples/iconv
-%%PORTDOCS%%@dirrm share/doc/mutt/samples
-%%SUB_HTML%%share/doc/mutt/html/manual.html
-%%SUB_HTML%%share/doc/mutt/html/manual_toc.html
-%%SUB_HTML%%share/doc/mutt/html/manual1.html
-%%SUB_HTML%%share/doc/mutt/html/manual2.html
-%%SUB_HTML%%share/doc/mutt/html/manual3.html
-%%SUB_HTML%%share/doc/mutt/html/manual4.html
-%%SUB_HTML%%share/doc/mutt/html/manual5.html
-%%SUB_HTML%%share/doc/mutt/html/manual6.html
-%%SUB_HTML%%share/doc/mutt/html/manual7.html
-%%SUB_HTML%%share/doc/mutt/html/manual8.html
-%%SUB_HTML%%share/doc/mutt/html/manual9.html
-%%SUB_HTML%%share/doc/mutt/html/manual10.html
-%%SUB_HTML%%share/doc/mutt/html/manual11.html
-%%SUB_HTML%%share/doc/mutt/html/manual12.html
-%%SUB_HTML%%share/doc/mutt/html/manual13.html
-%%SUB_HTML%%share/doc/mutt/html/manual14.html
-%%SUB_HTML%%share/doc/mutt/html/manual15.html
-%%SUB_HTML%%share/doc/mutt/html/manual16.html
-%%SUB_HTML%%share/doc/mutt/html/manual17.html
-%%SUB_HTML%%share/doc/mutt/html/manual18.html
-%%SUB_HTML%%share/doc/mutt/html/manual19.html
-%%SUB_HTML%%share/doc/mutt/html/manual20.html
-%%SUB_HTML%%share/doc/mutt/html/manual21.html
-%%SUB_HTML%%share/doc/mutt/html/manual22.html
-%%SUB_HTML%%share/doc/mutt/html/manual23.html
-%%SUB_HTML%%share/doc/mutt/html/manual24.html
-%%SUB_HTML%%share/doc/mutt/html/manual25.html
-%%SUB_HTML%%share/doc/mutt/html/manual26.html
-%%SUB_HTML%%share/doc/mutt/html/manual27.html
-%%SUB_HTML%%share/doc/mutt/html/manual28.html
-%%SUB_HTML%%share/doc/mutt/html/manual29.html
-%%SUB_HTML%%share/doc/mutt/html/manual30.html
-%%SUB_HTML%%share/doc/mutt/html/manual31.html
-%%SUB_HTML%%share/doc/mutt/html/manual32.html
-%%SUB_HTML%%share/doc/mutt/html/manual33.html
-%%SUB_HTML%%share/doc/mutt/html/manual34.html
-%%SUB_HTML%%share/doc/mutt/html/manual35.html
-%%SUB_HTML%%share/doc/mutt/html/manual36.html
-%%SUB_HTML%%share/doc/mutt/html/manual37.html
-%%SUB_HTML%%share/doc/mutt/html/manual38.html
-%%SUB_HTML%%share/doc/mutt/html/manual39.html
-%%SUB_HTML%%share/doc/mutt/html/manual40.html
-%%SUB_HTML%%share/doc/mutt/html/manual41.html
-%%SUB_HTML%%share/doc/mutt/html/manual42.html
-%%SUB_HTML%%share/doc/mutt/html/manual43.html
-%%SUB_HTML%%share/doc/mutt/html/manual44.html
-%%SUB_HTML%%share/doc/mutt/html/manual45.html
-%%SUB_HTML%%share/doc/mutt/html/manual46.html
-%%SUB_HTML%%share/doc/mutt/html/manual47.html
-%%SUB_HTML%%share/doc/mutt/html/manual48.html
-%%SUB_HTML%%share/doc/mutt/html/manual49.html
-%%SUB_HTML%%share/doc/mutt/html/manual50.html
-%%SUB_HTML%%share/doc/mutt/html/manual51.html
-%%SUB_HTML%%share/doc/mutt/html/manual52.html
-%%SUB_HTML%%share/doc/mutt/html/manual53.html
-%%SUB_HTML%%share/doc/mutt/html/manual54.html
-%%SUB_HTML%%share/doc/mutt/html/manual55.html
-%%SUB_HTML%%share/doc/mutt/html/manual56.html
-%%SUB_HTML%%share/doc/mutt/html/manual57.html
-%%SUB_HTML%%share/doc/mutt/html/manual58.html
-%%SUB_HTML%%share/doc/mutt/html/manual59.html
-%%SUB_HTML%%share/doc/mutt/html/manual60.html
-%%SUB_HTML%%share/doc/mutt/html/manual61.html
-%%SUB_HTML%%share/doc/mutt/html/manual62.html
-%%SUB_HTML%%share/doc/mutt/html/manual63.html
-%%SUB_HTML%%share/doc/mutt/html/manual64.html
-%%SUB_HTML%%share/doc/mutt/html/manual65.html
-%%SUB_HTML%%share/doc/mutt/html/manual66.html
-%%SUB_HTML%%share/doc/mutt/html/manual67.html
-%%SUB_HTML%%share/doc/mutt/html/manual68.html
-%%SUB_HTML%%share/doc/mutt/html/manual69.html
-%%SUB_HTML%%share/doc/mutt/html/manual70.html
-%%SUB_HTML%%share/doc/mutt/html/manual71.html
-%%SUB_HTML%%share/doc/mutt/html/manual72.html
-%%SUB_HTML%%share/doc/mutt/html/manual73.html
-%%SUB_HTML%%share/doc/mutt/html/manual74.html
-%%SUB_HTML%%share/doc/mutt/html/manual75.html
-%%SUB_HTML%%share/doc/mutt/html/manual76.html
-%%SUB_HTML%%share/doc/mutt/html/manual77.html
-%%SUB_HTML%%share/doc/mutt/html/manual78.html
-%%SUB_HTML%%share/doc/mutt/html/manual79.html
-%%SUB_HTML%%share/doc/mutt/html/manual80.html
-%%SUB_HTML%%share/doc/mutt/html/manual81.html
-%%SUB_HTML%%share/doc/mutt/html/manual82.html
-%%SUB_HTML%%share/doc/mutt/html/manual83.html
-%%SUB_HTML%%share/doc/mutt/html/manual84.html
-%%SUB_HTML%%share/doc/mutt/html/manual85.html
-%%SUB_HTML%%share/doc/mutt/html/manual86.html
-%%SUB_HTML%%share/doc/mutt/html/manual87.html
-%%SUB_HTML%%share/doc/mutt/html/manual88.html
-%%SUB_HTML%%share/doc/mutt/html/manual89.html
-%%SUB_HTML%%share/doc/mutt/html/manual90.html
-%%SUB_HTML%%share/doc/mutt/html/manual91.html
-%%SUB_HTML%%share/doc/mutt/html/manual92.html
-%%SUB_HTML%%share/doc/mutt/html/manual93.html
-%%SUB_HTML%%share/doc/mutt/html/manual94.html
-%%SUB_HTML%%share/doc/mutt/html/manual95.html
-%%SUB_HTML%%share/doc/mutt/html/manual96.html
-%%SUB_HTML%%share/doc/mutt/html/manual97.html
-%%SUB_HTML%%share/doc/mutt/html/manual98.html
-%%SUB_HTML%%share/doc/mutt/html/manual99.html
-%%SUB_HTML%%share/doc/mutt/html/manual100.html
-%%SUB_HTML%%share/doc/mutt/html/manual101.html
-%%SUB_HTML%%share/doc/mutt/html/manual102.html
-%%SUB_HTML%%share/doc/mutt/html/manual103.html
-%%SUB_HTML%%share/doc/mutt/html/manual104.html
-%%SUB_HTML%%share/doc/mutt/html/manual105.html
-%%SUB_HTML%%share/doc/mutt/html/manual106.html
-%%SUB_HTML%%share/doc/mutt/html/manual107.html
-%%SUB_HTML%%share/doc/mutt/html/manual108.html
-%%SUB_HTML%%share/doc/mutt/html/manual109.html
-%%SUB_HTML%%share/doc/mutt/html/manual110.html
-%%SUB_HTML%%share/doc/mutt/html/manual111.html
-%%SUB_HTML%%share/doc/mutt/html/manual112.html
-%%SUB_HTML%%share/doc/mutt/html/manual113.html
-%%SUB_HTML%%share/doc/mutt/html/manual114.html
-%%SUB_HTML%%share/doc/mutt/html/manual115.html
-%%SUB_HTML%%share/doc/mutt/html/manual116.html
-%%SUB_HTML%%share/doc/mutt/html/manual117.html
-%%SUB_HTML%%share/doc/mutt/html/manual118.html
-%%SUB_HTML%%share/doc/mutt/html/manual119.html
-%%SUB_HTML%%share/doc/mutt/html/manual120.html
-%%SUB_HTML%%share/doc/mutt/html/manual121.html
-%%SUB_HTML%%share/doc/mutt/html/manual122.html
-%%SUB_HTML%%share/doc/mutt/html/manual123.html
-%%SUB_HTML%%share/doc/mutt/html/manual124.html
-%%SUB_HTML%%share/doc/mutt/html/manual125.html
-%%SUB_HTML%%share/doc/mutt/html/manual126.html
-%%SUB_HTML%%share/doc/mutt/html/manual127.html
-%%SUB_HTML%%share/doc/mutt/html/manual128.html
-%%SUB_HTML%%share/doc/mutt/html/manual129.html
-%%SUB_HTML%%share/doc/mutt/html/manual130.html
-%%SUB_HTML%%share/doc/mutt/html/manual131.html
-%%SUB_HTML%%share/doc/mutt/html/manual132.html
-%%SUB_HTML%%share/doc/mutt/html/manual133.html
-%%SUB_HTML%%share/doc/mutt/html/manual134.html
-%%SUB_HTML%%share/doc/mutt/html/manual135.html
-%%SUB_HTML%%share/doc/mutt/html/manual136.html
-%%SUB_HTML%%share/doc/mutt/html/manual137.html
-%%SUB_HTML%%share/doc/mutt/html/manual138.html
-%%SUB_HTML%%share/doc/mutt/html/manual139.html
-%%SUB_HTML%%share/doc/mutt/html/manual140.html
-%%SUB_HTML%%share/doc/mutt/html/manual141.html
-%%SUB_HTML%%share/doc/mutt/html/manual142.html
-%%SUB_HTML%%share/doc/mutt/html/manual143.html
-%%SUB_HTML%%share/doc/mutt/html/manual144.html
-%%SUB_HTML%%share/doc/mutt/html/manual145.html
-%%SUB_HTML%%share/doc/mutt/html/manual146.html
-%%SUB_HTML%%share/doc/mutt/html/manual147.html
-%%SUB_HTML%%share/doc/mutt/html/manual148.html
-%%SUB_HTML%%share/doc/mutt/html/manual149.html
-%%SUB_HTML%%share/doc/mutt/html/manual150.html
-%%SUB_HTML%%share/doc/mutt/html/manual151.html
-%%SUB_HTML%%share/doc/mutt/html/manual152.html
-%%SUB_HTML%%share/doc/mutt/html/manual153.html
-%%SUB_HTML%%share/doc/mutt/html/manual154.html
-%%SUB_HTML%%share/doc/mutt/html/manual155.html
-%%SUB_HTML%%share/doc/mutt/html/manual156.html
-%%SUB_HTML%%share/doc/mutt/html/manual157.html
-%%SUB_HTML%%share/doc/mutt/html/manual158.html
-%%SUB_HTML%%share/doc/mutt/html/manual159.html
-%%SUB_HTML%%share/doc/mutt/html/manual160.html
-%%SUB_HTML%%share/doc/mutt/html/manual161.html
-%%SUB_HTML%%share/doc/mutt/html/manual162.html
-%%SUB_HTML%%share/doc/mutt/html/manual163.html
-%%SUB_HTML%%share/doc/mutt/html/manual164.html
-%%SUB_HTML%%share/doc/mutt/html/manual165.html
-%%SUB_HTML%%share/doc/mutt/html/manual166.html
-%%SUB_HTML%%share/doc/mutt/html/manual167.html
-%%SUB_HTML%%share/doc/mutt/html/manual168.html
-%%SUB_HTML%%share/doc/mutt/html/manual169.html
-%%SUB_HTML%%share/doc/mutt/html/manual170.html
-%%SUB_HTML%%share/doc/mutt/html/manual171.html
-%%SUB_HTML%%share/doc/mutt/html/manual172.html
-%%SUB_HTML%%share/doc/mutt/html/manual173.html
-%%SUB_HTML%%share/doc/mutt/html/manual174.html
-%%SUB_HTML%%share/doc/mutt/html/manual175.html
-%%SUB_HTML%%share/doc/mutt/html/manual176.html
-%%SUB_HTML%%share/doc/mutt/html/manual177.html
-%%SUB_HTML%%share/doc/mutt/html/manual178.html
-%%SUB_HTML%%share/doc/mutt/html/manual179.html
-%%SUB_HTML%%share/doc/mutt/html/manual180.html
-%%SUB_HTML%%share/doc/mutt/html/manual181.html
-%%SUB_HTML%%share/doc/mutt/html/manual182.html
-%%SUB_HTML%%share/doc/mutt/html/manual183.html
-%%SUB_HTML%%share/doc/mutt/html/manual184.html
-%%SUB_HTML%%share/doc/mutt/html/manual185.html
-%%SUB_HTML%%share/doc/mutt/html/manual186.html
-%%SUB_HTML%%share/doc/mutt/html/manual187.html
-%%SUB_HTML%%share/doc/mutt/html/manual188.html
-%%SUB_HTML%%share/doc/mutt/html/manual189.html
-%%SUB_HTML%%share/doc/mutt/html/manual190.html
-%%SUB_HTML%%share/doc/mutt/html/manual191.html
-%%SUB_HTML%%share/doc/mutt/html/manual192.html
-%%SUB_HTML%%share/doc/mutt/html/manual193.html
-%%SUB_HTML%%share/doc/mutt/html/manual194.html
-%%SUB_HTML%%share/doc/mutt/html/manual195.html
-%%SUB_HTML%%share/doc/mutt/html/manual196.html
-%%SUB_HTML%%share/doc/mutt/html/manual197.html
-%%SUB_HTML%%share/doc/mutt/html/manual198.html
-%%SUB_HTML%%share/doc/mutt/html/manual199.html
-%%SUB_HTML%%share/doc/mutt/html/manual200.html
-%%SUB_HTML%%share/doc/mutt/html/manual201.html
-%%SUB_HTML%%share/doc/mutt/html/manual202.html
-%%SUB_HTML%%share/doc/mutt/html/manual203.html
-%%SUB_HTML%%share/doc/mutt/html/manual204.html
-%%SUB_HTML%%share/doc/mutt/html/manual205.html
-%%SUB_HTML%%share/doc/mutt/html/manual206.html
-%%SUB_HTML%%share/doc/mutt/html/manual207.html
-%%SUB_HTML%%share/doc/mutt/html/manual208.html
-%%SUB_HTML%%share/doc/mutt/html/manual209.html
-%%SUB_HTML%%share/doc/mutt/html/manual210.html
-%%SUB_HTML%%share/doc/mutt/html/manual211.html
-%%SUB_HTML%%share/doc/mutt/html/manual212.html
-%%SUB_HTML%%share/doc/mutt/html/manual213.html
-%%SUB_HTML%%share/doc/mutt/html/manual214.html
-%%SUB_HTML%%share/doc/mutt/html/manual215.html
-%%SUB_HTML%%share/doc/mutt/html/manual216.html
-%%SUB_HTML%%share/doc/mutt/html/manual217.html
-%%SUB_HTML%%share/doc/mutt/html/manual218.html
-%%SUB_HTML%%share/doc/mutt/html/manual219.html
-%%SUB_HTML%%share/doc/mutt/html/manual220.html
-%%SUB_HTML%%share/doc/mutt/html/manual221.html
-%%SUB_HTML%%share/doc/mutt/html/manual222.html
-%%SUB_HTML%%share/doc/mutt/html/manual223.html
-%%SUB_HTML%%share/doc/mutt/html/manual224.html
-%%SUB_HTML%%share/doc/mutt/html/manual225.html
-%%SUB_HTML%%share/doc/mutt/html/manual226.html
-%%SUB_HTML%%share/doc/mutt/html/manual227.html
-%%SUB_HTML%%share/doc/mutt/html/manual228.html
-%%SUB_HTML%%share/doc/mutt/html/manual229.html
-%%SUB_HTML%%share/doc/mutt/html/manual230.html
-%%SUB_HTML%%share/doc/mutt/html/manual231.html
-%%SUB_HTML%%share/doc/mutt/html/manual232.html
-%%SUB_HTML%%share/doc/mutt/html/manual233.html
-%%SUB_HTML%%share/doc/mutt/html/manual234.html
-%%SUB_HTML%%share/doc/mutt/html/manual235.html
-%%SUB_HTML%%share/doc/mutt/html/manual236.html
-%%SUB_HTML%%share/doc/mutt/html/manual237.html
-%%SUB_HTML%%share/doc/mutt/html/manual238.html
-%%SUB_HTML%%share/doc/mutt/html/manual239.html
-%%SUB_HTML%%share/doc/mutt/html/manual240.html
-%%SUB_HTML%%share/doc/mutt/html/manual241.html
-%%SUB_HTML%%share/doc/mutt/html/manual242.html
-%%SUB_HTML%%share/doc/mutt/html/manual243.html
-%%SUB_HTML%%share/doc/mutt/html/manual244.html
-%%SUB_HTML%%share/doc/mutt/html/manual245.html
-%%SUB_HTML%%share/doc/mutt/html/manual246.html
-%%SUB_HTML%%share/doc/mutt/html/manual247.html
-%%SUB_HTML%%share/doc/mutt/html/manual248.html
-%%SUB_HTML%%share/doc/mutt/html/manual249.html
-%%SUB_HTML%%share/doc/mutt/html/manual250.html
-%%SUB_HTML%%share/doc/mutt/html/manual251.html
-%%SUB_HTML%%share/doc/mutt/html/manual252.html
-%%SUB_HTML%%share/doc/mutt/html/manual253.html
-%%SUB_HTML%%share/doc/mutt/html/manual254.html
-%%SUB_HTML%%share/doc/mutt/html/manual255.html
-%%SUB_HTML%%share/doc/mutt/html/manual256.html
-%%SUB_HTML%%share/doc/mutt/html/manual257.html
-%%SUB_HTML%%share/doc/mutt/html/manual258.html
-%%SUB_HTML%%share/doc/mutt/html/manual259.html
-%%SUB_HTML%%share/doc/mutt/html/manual260.html
-%%SUB_HTML%%share/doc/mutt/html/manual261.html
-%%SUB_HTML%%share/doc/mutt/html/manual262.html
-%%SUB_HTML%%share/doc/mutt/html/manual263.html
-%%SUB_HTML%%share/doc/mutt/html/manual264.html
-%%SUB_HTML%%share/doc/mutt/html/manual265.html
-%%SUB_HTML%%share/doc/mutt/html/manual266.html
-%%SUB_HTML%%share/doc/mutt/html/manual267.html
-%%SUB_HTML%%share/doc/mutt/html/manual268.html
-%%SUB_HTML%%share/doc/mutt/html/manual269.html
-%%SUB_HTML%%share/doc/mutt/html/manual270.html
-%%SUB_HTML%%share/doc/mutt/html/manual271.html
-%%SUB_HTML%%share/doc/mutt/html/manual272.html
-%%SUB_HTML%%share/doc/mutt/html/manual273.html
-%%SUB_HTML%%share/doc/mutt/html/manual274.html
-%%SUB_HTML%%share/doc/mutt/html/manual275.html
-%%SUB_HTML%%share/doc/mutt/html/manual276.html
-%%SUB_HTML%%share/doc/mutt/html/manual277.html
-%%SUB_HTML%%share/doc/mutt/html/manual278.html
-%%SUB_HTML%%share/doc/mutt/html/manual279.html
-%%SUB_HTML%%share/doc/mutt/html/manual280.html
-%%SUB_HTML%%share/doc/mutt/html/manual281.html
-%%SUB_HTML%%share/doc/mutt/html/manual282.html
-%%SUB_HTML%%share/doc/mutt/html/manual283.html
-%%SUB_HTML%%share/doc/mutt/html/manual284.html
-%%SUB_HTML%%share/doc/mutt/html/manual285.html
-%%SUB_HTML%%share/doc/mutt/html/manual286.html
-%%SUB_HTML%%share/doc/mutt/html/manual287.html
-%%SUB_HTML%%share/doc/mutt/html/manual288.html
-%%SUB_HTML%%share/doc/mutt/html/manual289.html
-%%SUB_HTML%%share/doc/mutt/html/manual290.html
-%%SUB_HTML%%share/doc/mutt/html/manual291.html
-%%SUB_HTML%%share/doc/mutt/html/manual292.html
-%%SUB_HTML%%share/doc/mutt/html/manual293.html
-%%SUB_HTML%%share/doc/mutt/html/manual294.html
-%%SUB_HTML%%share/doc/mutt/html/manual295.html
-%%SUB_HTML%%share/doc/mutt/html/manual296.html
-%%SUB_HTML%%share/doc/mutt/html/manual297.html
-%%SUB_HTML%%share/doc/mutt/html/manual298.html
-%%SUB_HTML%%share/doc/mutt/html/manual299.html
-%%SUB_HTML%%share/doc/mutt/html/manual300.html
-%%SUB_HTML%%share/doc/mutt/html/manual301.html
-%%SUB_HTML%%share/doc/mutt/html/manual302.html
-%%SUB_HTML%%share/doc/mutt/html/manual303.html
-%%SUB_HTML%%share/doc/mutt/html/manual304.html
-%%SUB_HTML%%share/doc/mutt/html/manual305.html
-%%SUB_HTML%%share/doc/mutt/html/manual306.html
-%%SUB_HTML%%share/doc/mutt/html/manual307.html
-%%SUB_HTML%%share/doc/mutt/html/manual308.html
-%%SUB_HTML%%share/doc/mutt/html/manual309.html
-%%SUB_HTML%%share/doc/mutt/html/manual310.html
-%%SUB_HTML%%share/doc/mutt/html/manual311.html
-%%SUB_HTML%%share/doc/mutt/html/manual312.html
-%%SUB_HTML%%share/doc/mutt/html/manual313.html
-%%SUB_HTML%%share/doc/mutt/html/manual314.html
-%%SUB_HTML%%share/doc/mutt/html/manual315.html
-%%SUB_HTML%%share/doc/mutt/html/manual316.html
-%%SUB_HTML%%share/doc/mutt/html/manual317.html
-%%SUB_HTML%%share/doc/mutt/html/manual318.html
-%%SUB_HTML%%share/doc/mutt/html/manual319.html
-%%SUB_HTML%%share/doc/mutt/html/manual320.html
-%%SUB_HTML%%share/doc/mutt/html/manual321.html
-%%SUB_HTML%%share/doc/mutt/html/manual322.html
-%%SUB_HTML%%share/doc/mutt/html/manual323.html
-%%SUB_HTML%%share/doc/mutt/html/manual324.html
-%%SUB_HTML%%share/doc/mutt/html/manual325.html
-%%SUB_HTML%%share/doc/mutt/html/manual326.html
-%%SUB_HTML%%share/doc/mutt/html/manual327.html
-%%SUB_HTML%%share/doc/mutt/html/manual328.html
-%%SUB_HTML%%share/doc/mutt/html/manual329.html
-%%SUB_HTML%%share/doc/mutt/html/manual330.html
-%%SUB_HTML%%share/doc/mutt/html/manual331.html
-%%SUB_HTML%%share/doc/mutt/html/manual332.html
-%%SUB_HTML%%share/doc/mutt/html/manual333.html
-%%SUB_HTML%%share/doc/mutt/html/manual334.html
-%%SUB_HTML%%share/doc/mutt/html/manual335.html
-%%SUB_HTML%%share/doc/mutt/html/manual336.html
-%%SUB_HTML%%share/doc/mutt/html/manual337.html
-%%SUB_HTML%%share/doc/mutt/html/manual338.html
-%%SUB_HTML%%share/doc/mutt/html/manual339.html
-%%SUB_HTML%%share/doc/mutt/html/manual340.html
-%%SUB_HTML%%share/doc/mutt/html/manual341.html
-%%SUB_HTML%%share/doc/mutt/html/manual342.html
-%%SUB_HTML%%share/doc/mutt/html/manual343.html
-%%SUB_HTML%%share/doc/mutt/html/manual344.html
-%%SUB_HTML%%share/doc/mutt/html/manual345.html
-%%SUB_HTML%%share/doc/mutt/html/manual346.html
-%%SUB_HTML%%share/doc/mutt/html/manual347.html
-%%SUB_HTML%%share/doc/mutt/html/manual348.html
-%%SUB_HTML%%share/doc/mutt/html/manual349.html
-%%SUB_HTML%%share/doc/mutt/html/manual350.html
-%%SUB_HTML%%share/doc/mutt/html/manual351.html
-%%SUB_HTML%%share/doc/mutt/html/manual352.html
-%%SUB_HTML%%share/doc/mutt/html/manual353.html
-%%SUB_HTML%%share/doc/mutt/html/manual354.html
-%%SUB_HTML%%share/doc/mutt/html/manual355.html
-%%SUB_HTML%%share/doc/mutt/html/manual356.html
-%%SUB_HTML%%share/doc/mutt/html/manual357.html
-%%SUB_HTML%%share/doc/mutt/html/manual358.html
-%%SUB_HTML%%share/doc/mutt/html/manual359.html
-%%SUB_HTML%%share/doc/mutt/html/manual360.html
-%%SUB_HTML%%share/doc/mutt/html/manual361.html
-%%SUB_HTML%%%%SUB_PATCHES%%%%SUB_PGP%%share/doc/mutt/html/manual362.html
-%%SUB_HTML%%%%SUB_PATCHES%%%%SUB_THREAD%%share/doc/mutt/html/manual362.html
-%%SUB_HTML%%%%SUB_PATCHES%%%%SUB_THREAD%%share/doc/mutt/html/manual363.html
-%%SUB_HTML%%%%SUB_PATCHES%%%%SUB_THREAD%%share/doc/mutt/html/manual364.html
-%%SUB_HTML%%%%SUB_PATCHES%%%%SUB_THREAD_PGP%%share/doc/mutt/html/manual362.html
-%%SUB_HTML%%%%SUB_PATCHES%%%%SUB_THREAD_PGP%%share/doc/mutt/html/manual363.html
-%%SUB_HTML%%%%SUB_PATCHES%%%%SUB_THREAD_PGP%%share/doc/mutt/html/manual364.html
-%%SUB_HTML%%%%SUB_PATCHES%%%%SUB_THREAD_PGP%%share/doc/mutt/html/manual365.html
-%%SUB_ADD_A%%share/doc/mutt/html/manual362.html
-%%SUB_ADD_A%%share/doc/mutt/html/manual363.html
-%%SUB_ADD_A%%%%SUB_PGP%%share/doc/mutt/html/manual364.html
-%%SUB_ADD_A%%%%SUB_THREAD%%share/doc/mutt/html/manual364.html
-%%SUB_ADD_A%%%%SUB_THREAD%%share/doc/mutt/html/manual365.html
-%%SUB_ADD_A%%%%SUB_THREAD%%share/doc/mutt/html/manual366.html
-%%SUB_ADD_A%%%%SUB_THREAD_PGP%%share/doc/mutt/html/manual364.html
-%%SUB_ADD_A%%%%SUB_THREAD_PGP%%share/doc/mutt/html/manual365.html
-%%SUB_ADD_A%%%%SUB_THREAD_PGP%%share/doc/mutt/html/manual366.html
-%%SUB_ADD_A%%%%SUB_THREAD_PGP%%share/doc/mutt/html/manual367.html
-%%SUB_ADD_B%%share/doc/mutt/html/manual362.html
-%%SUB_ADD_B%%share/doc/mutt/html/manual363.html
-%%SUB_ADD_B%%share/doc/mutt/html/manual364.html
-%%SUB_ADD_B%%share/doc/mutt/html/manual365.html
-%%SUB_ADD_B%%share/doc/mutt/html/manual366.html
-%%SUB_ADD_B%%%%SUB_PGP%%share/doc/mutt/html/manual367.html
-%%SUB_ADD_B%%%%SUB_THREAD%%share/doc/mutt/html/manual367.html
-%%SUB_ADD_B%%%%SUB_THREAD%%share/doc/mutt/html/manual368.html
-%%SUB_ADD_B%%%%SUB_THREAD%%share/doc/mutt/html/manual369.html
-%%SUB_ADD_B%%%%SUB_THREAD_PGP%%share/doc/mutt/html/manual367.html
-%%SUB_ADD_B%%%%SUB_THREAD_PGP%%share/doc/mutt/html/manual368.html
-%%SUB_ADD_B%%%%SUB_THREAD_PGP%%share/doc/mutt/html/manual369.html
-%%SUB_ADD_B%%%%SUB_THREAD_PGP%%share/doc/mutt/html/manual370.html
-%%SUB_ADD_C%%share/doc/mutt/html/manual362.html
-%%SUB_ADD_C%%share/doc/mutt/html/manual363.html
-%%SUB_ADD_C%%share/doc/mutt/html/manual364.html
-%%SUB_ADD_C%%share/doc/mutt/html/manual365.html
-%%SUB_ADD_C%%share/doc/mutt/html/manual366.html
-%%SUB_ADD_C%%share/doc/mutt/html/manual367.html
-%%SUB_ADD_C%%share/doc/mutt/html/manual368.html
-%%SUB_ADD_C%%%%SUB_PGP%%share/doc/mutt/html/manual369.html
-%%SUB_ADD_C%%%%SUB_THREAD%%share/doc/mutt/html/manual369.html
-%%SUB_ADD_C%%%%SUB_THREAD%%share/doc/mutt/html/manual370.html
-%%SUB_ADD_C%%%%SUB_THREAD%%share/doc/mutt/html/manual371.html
-%%SUB_ADD_C%%%%SUB_THREAD_PGP%%share/doc/mutt/html/manual369.html
-%%SUB_ADD_C%%%%SUB_THREAD_PGP%%share/doc/mutt/html/manual370.html
-%%SUB_ADD_C%%%%SUB_THREAD_PGP%%share/doc/mutt/html/manual371.html
-%%SUB_ADD_C%%%%SUB_THREAD_PGP%%share/doc/mutt/html/manual372.html
-%%SUB_ADD_D%%share/doc/mutt/html/manual362.html
-%%SUB_ADD_D%%share/doc/mutt/html/manual363.html
-%%SUB_ADD_D%%share/doc/mutt/html/manual364.html
-%%SUB_ADD_D%%share/doc/mutt/html/manual365.html
-%%SUB_ADD_D%%share/doc/mutt/html/manual366.html
-%%SUB_ADD_D%%share/doc/mutt/html/manual367.html
-%%SUB_ADD_D%%share/doc/mutt/html/manual368.html
-%%SUB_ADD_D%%share/doc/mutt/html/manual369.html
-%%SUB_ADD_D%%share/doc/mutt/html/manual370.html
-%%SUB_ADD_D%%share/doc/mutt/html/manual371.html
-%%SUB_ADD_D%%share/doc/mutt/html/manual372.html
-%%SUB_ADD_D%%share/doc/mutt/html/manual373.html
-%%SUB_ADD_D%%share/doc/mutt/html/manual374.html
-%%SUB_ADD_D%%share/doc/mutt/html/manual375.html
-%%SUB_ADD_D%%share/doc/mutt/html/manual376.html
-%%SUB_ADD_D%%share/doc/mutt/html/manual377.html
-%%SUB_ADD_D%%share/doc/mutt/html/manual378.html
-%%SUB_ADD_D%%share/doc/mutt/html/manual379.html
-%%SUB_ADD_D%%share/doc/mutt/html/manual380.html
-%%SUB_ADD_D%%share/doc/mutt/html/manual381.html
-%%SUB_ADD_D%%share/doc/mutt/html/manual382.html
-%%SUB_ADD_D%%share/doc/mutt/html/manual383.html
-%%SUB_ADD_D%%%%SUB_PGP%%share/doc/mutt/html/manual384.html
-%%SUB_ADD_D%%%%SUB_THREAD%%share/doc/mutt/html/manual384.html
-%%SUB_ADD_D%%%%SUB_THREAD%%share/doc/mutt/html/manual385.html
-%%SUB_ADD_D%%%%SUB_THREAD%%share/doc/mutt/html/manual386.html
-%%SUB_ADD_D%%%%SUB_THREAD_PGP%%share/doc/mutt/html/manual384.html
-%%SUB_ADD_D%%%%SUB_THREAD_PGP%%share/doc/mutt/html/manual385.html
-%%SUB_ADD_D%%%%SUB_THREAD_PGP%%share/doc/mutt/html/manual386.html
-%%SUB_ADD_D%%%%SUB_THREAD_PGP%%share/doc/mutt/html/manual387.html
-%%SUB_ADD_E%%share/doc/mutt/html/manual362.html
-%%SUB_ADD_E%%share/doc/mutt/html/manual363.html
-%%SUB_ADD_E%%share/doc/mutt/html/manual364.html
-%%SUB_ADD_E%%share/doc/mutt/html/manual365.html
-%%SUB_ADD_E%%share/doc/mutt/html/manual366.html
-%%SUB_ADD_E%%share/doc/mutt/html/manual367.html
-%%SUB_ADD_E%%share/doc/mutt/html/manual368.html
-%%SUB_ADD_E%%share/doc/mutt/html/manual369.html
-%%SUB_ADD_E%%share/doc/mutt/html/manual370.html
-%%SUB_ADD_E%%share/doc/mutt/html/manual371.html
-%%SUB_ADD_E%%share/doc/mutt/html/manual372.html
-%%SUB_ADD_E%%share/doc/mutt/html/manual373.html
-%%SUB_ADD_E%%share/doc/mutt/html/manual374.html
-%%SUB_ADD_E%%share/doc/mutt/html/manual375.html
-%%SUB_ADD_E%%share/doc/mutt/html/manual376.html
-%%SUB_ADD_E%%share/doc/mutt/html/manual377.html
-%%SUB_ADD_E%%share/doc/mutt/html/manual378.html
-%%SUB_ADD_E%%share/doc/mutt/html/manual379.html
-%%SUB_ADD_E%%share/doc/mutt/html/manual380.html
-%%SUB_ADD_E%%share/doc/mutt/html/manual381.html
-%%SUB_ADD_E%%share/doc/mutt/html/manual382.html
-%%SUB_ADD_E%%share/doc/mutt/html/manual383.html
-%%SUB_ADD_E%%share/doc/mutt/html/manual384.html
-%%SUB_ADD_E%%share/doc/mutt/html/manual385.html
-%%SUB_ADD_E%%%%SUB_PGP%%share/doc/mutt/html/manual386.html
-%%SUB_ADD_E%%%%SUB_THREAD%%share/doc/mutt/html/manual386.html
-%%SUB_ADD_E%%%%SUB_THREAD%%share/doc/mutt/html/manual387.html
-%%SUB_ADD_E%%%%SUB_THREAD%%share/doc/mutt/html/manual388.html
-%%SUB_ADD_E%%%%SUB_THREAD_PGP%%share/doc/mutt/html/manual386.html
-%%SUB_ADD_E%%%%SUB_THREAD_PGP%%share/doc/mutt/html/manual387.html
-%%SUB_ADD_E%%%%SUB_THREAD_PGP%%share/doc/mutt/html/manual388.html
-%%SUB_ADD_E%%%%SUB_THREAD_PGP%%share/doc/mutt/html/manual389.html
-%%SUB_ADD_F%%share/doc/mutt/html/manual362.html
-%%SUB_ADD_F%%share/doc/mutt/html/manual363.html
-%%SUB_ADD_F%%share/doc/mutt/html/manual364.html
-%%SUB_ADD_F%%share/doc/mutt/html/manual365.html
-%%SUB_ADD_F%%share/doc/mutt/html/manual366.html
-%%SUB_ADD_F%%share/doc/mutt/html/manual367.html
-%%SUB_ADD_F%%share/doc/mutt/html/manual368.html
-%%SUB_ADD_F%%share/doc/mutt/html/manual369.html
-%%SUB_ADD_F%%share/doc/mutt/html/manual370.html
-%%SUB_ADD_F%%share/doc/mutt/html/manual371.html
-%%SUB_ADD_F%%share/doc/mutt/html/manual372.html
-%%SUB_ADD_F%%share/doc/mutt/html/manual373.html
-%%SUB_ADD_F%%share/doc/mutt/html/manual374.html
-%%SUB_ADD_F%%share/doc/mutt/html/manual375.html
-%%SUB_ADD_F%%share/doc/mutt/html/manual376.html
-%%SUB_ADD_F%%share/doc/mutt/html/manual377.html
-%%SUB_ADD_F%%share/doc/mutt/html/manual378.html
-%%SUB_ADD_F%%share/doc/mutt/html/manual379.html
-%%SUB_ADD_F%%share/doc/mutt/html/manual380.html
-%%SUB_ADD_F%%share/doc/mutt/html/manual381.html
-%%SUB_ADD_F%%share/doc/mutt/html/manual382.html
-%%SUB_ADD_F%%share/doc/mutt/html/manual383.html
-%%SUB_ADD_F%%share/doc/mutt/html/manual384.html
-%%SUB_ADD_F%%share/doc/mutt/html/manual385.html
-%%SUB_ADD_F%%share/doc/mutt/html/manual386.html
-%%SUB_ADD_F%%share/doc/mutt/html/manual387.html
-%%SUB_ADD_F%%share/doc/mutt/html/manual388.html
-%%SUB_ADD_F%%%%SUB_PGP%%share/doc/mutt/html/manual389.html
-%%SUB_ADD_F%%%%SUB_THREAD%%share/doc/mutt/html/manual389.html
-%%SUB_ADD_F%%%%SUB_THREAD%%share/doc/mutt/html/manual390.html
-%%SUB_ADD_F%%%%SUB_THREAD%%share/doc/mutt/html/manual391.html
-%%SUB_ADD_F%%%%SUB_THREAD_PGP%%share/doc/mutt/html/manual389.html
-%%SUB_ADD_F%%%%SUB_THREAD_PGP%%share/doc/mutt/html/manual390.html
-%%SUB_ADD_F%%%%SUB_THREAD_PGP%%share/doc/mutt/html/manual391.html
-%%SUB_ADD_F%%%%SUB_THREAD_PGP%%share/doc/mutt/html/manual392.html
-%%SUB_ADD_G%%share/doc/mutt/html/manual362.html
-%%SUB_ADD_G%%share/doc/mutt/html/manual363.html
-%%SUB_ADD_G%%share/doc/mutt/html/manual364.html
-%%SUB_ADD_G%%share/doc/mutt/html/manual365.html
-%%SUB_ADD_G%%share/doc/mutt/html/manual366.html
-%%SUB_ADD_G%%share/doc/mutt/html/manual367.html
-%%SUB_ADD_G%%share/doc/mutt/html/manual368.html
-%%SUB_ADD_G%%share/doc/mutt/html/manual369.html
-%%SUB_ADD_G%%share/doc/mutt/html/manual370.html
-%%SUB_ADD_G%%share/doc/mutt/html/manual371.html
-%%SUB_ADD_G%%share/doc/mutt/html/manual372.html
-%%SUB_ADD_G%%share/doc/mutt/html/manual373.html
-%%SUB_ADD_G%%share/doc/mutt/html/manual374.html
-%%SUB_ADD_G%%share/doc/mutt/html/manual375.html
-%%SUB_ADD_G%%share/doc/mutt/html/manual376.html
-%%SUB_ADD_G%%share/doc/mutt/html/manual377.html
-%%SUB_ADD_G%%share/doc/mutt/html/manual378.html
-%%SUB_ADD_G%%share/doc/mutt/html/manual379.html
-%%SUB_ADD_G%%share/doc/mutt/html/manual380.html
-%%SUB_ADD_G%%share/doc/mutt/html/manual381.html
-%%SUB_ADD_G%%share/doc/mutt/html/manual382.html
-%%SUB_ADD_G%%share/doc/mutt/html/manual383.html
-%%SUB_ADD_G%%share/doc/mutt/html/manual384.html
-%%SUB_ADD_G%%share/doc/mutt/html/manual385.html
-%%SUB_ADD_G%%share/doc/mutt/html/manual386.html
-%%SUB_ADD_G%%share/doc/mutt/html/manual387.html
-%%SUB_ADD_G%%share/doc/mutt/html/manual388.html
-%%SUB_ADD_G%%share/doc/mutt/html/manual389.html
-%%SUB_ADD_G%%share/doc/mutt/html/manual390.html
-%%SUB_ADD_G%%%%SUB_PGP%%share/doc/mutt/html/manual391.html
-%%SUB_ADD_G%%%%SUB_THREAD%%share/doc/mutt/html/manual391.html
-%%SUB_ADD_G%%%%SUB_THREAD%%share/doc/mutt/html/manual392.html
-%%SUB_ADD_G%%%%SUB_THREAD%%share/doc/mutt/html/manual393.html
-%%SUB_ADD_G%%%%SUB_THREAD_PGP%%share/doc/mutt/html/manual391.html
-%%SUB_ADD_G%%%%SUB_THREAD_PGP%%share/doc/mutt/html/manual392.html
-%%SUB_ADD_G%%%%SUB_THREAD_PGP%%share/doc/mutt/html/manual393.html
-%%SUB_ADD_G%%%%SUB_THREAD_PGP%%share/doc/mutt/html/manual394.html
-%%SUB_HTML%%@dirrm share/doc/mutt/html
-%%PORTDOCS%%@dirrm share/doc/mutt
diff --git a/mail/mutt-devel/scripts/generate-plist b/mail/mutt-devel/scripts/generate-plist
new file mode 100644
index 000000000000..4a576c17d460
--- /dev/null
+++ b/mail/mutt-devel/scripts/generate-plist
@@ -0,0 +1,164 @@
+#!/bin/sh
+#
+# $FreeBSD$
+#
+# set -x
+
+trap ' cleanup ' 0
+trap ' echo_signal; exit 1' 1 2 3 15
+
+tmp_first=$(mktemp ${WRKDIR:=/tmp}/.plist-first.XXXXXXXXXX)
+tmp_last=$(mktemp ${WRKDIR}/.plist-last.XXXXXXXXXX)
+
+cleanup() {
+ rm -f $tmp_first $tmp_last
+}
+
+echo_signal() {
+ echo "Got Signal -- aborting `basename $0`"
+}
+
+PATH=/bin:/usr/bin
+
+cat > $tmp_first <<EOF
+bin/flea
+bin/mutt
+bin/mutt_dotlock
+bin/muttbug
+bin/pgpewrap
+bin/pgpring
+bin/smime_keys
+etc/Muttrc
+etc/mime.types
+share/locale/ca/LC_MESSAGES/mutt.mo
+share/locale/cs/LC_MESSAGES/mutt.mo
+share/locale/da/LC_MESSAGES/mutt.mo
+share/locale/de/LC_MESSAGES/mutt.mo
+share/locale/el/LC_MESSAGES/mutt.mo
+share/locale/eo/LC_MESSAGES/mutt.mo
+share/locale/es/LC_MESSAGES/mutt.mo
+share/locale/et/LC_MESSAGES/mutt.mo
+share/locale/fr/LC_MESSAGES/mutt.mo
+share/locale/gl/LC_MESSAGES/mutt.mo
+share/locale/hu/LC_MESSAGES/mutt.mo
+share/locale/id/LC_MESSAGES/mutt.mo
+share/locale/it/LC_MESSAGES/mutt.mo
+share/locale/ja/LC_MESSAGES/mutt.mo
+share/locale/ko/LC_MESSAGES/mutt.mo
+share/locale/lt/LC_MESSAGES/mutt.mo
+share/locale/nl/LC_MESSAGES/mutt.mo
+share/locale/pl/LC_MESSAGES/mutt.mo
+share/locale/pt_BR/LC_MESSAGES/mutt.mo
+share/locale/ru/LC_MESSAGES/mutt.mo
+share/locale/sk/LC_MESSAGES/mutt.mo
+share/locale/sv/LC_MESSAGES/mutt.mo
+share/locale/tr/LC_MESSAGES/mutt.mo
+share/locale/uk/LC_MESSAGES/mutt.mo
+share/locale/zh_CN/LC_MESSAGES/mutt.mo
+share/locale/zh_TW/LC_MESSAGES/mutt.mo
+EOF
+
+if [ "$MUTT_PORTDOCS" = "yes" ]; then
+cat >> $tmp_first <<EOF
+share/doc/mutt/ABOUT-NLS
+share/doc/mutt/COPYRIGHT
+share/doc/mutt/ChangeLog
+share/doc/mutt/GPL
+share/doc/mutt/INSTALL
+share/doc/mutt/NEWS
+share/doc/mutt/PGP-Notes.txt
+share/doc/mutt/README
+share/doc/mutt/README.SECURITY
+share/doc/mutt/README.SSL
+share/doc/mutt/TODO
+share/doc/mutt/applying-patches.txt
+share/doc/mutt/devel-notes.txt
+share/doc/mutt/language.txt
+share/doc/mutt/language50.txt
+share/doc/mutt/manual.txt
+share/doc/mutt/patch-notes.txt
+share/doc/mutt/smime-notes.txt
+share/doc/mutt/samples/Mush.rc
+share/doc/mutt/samples/Pine.rc
+share/doc/mutt/samples/Tin.rc
+share/doc/mutt/samples/ca-bundle.crt
+share/doc/mutt/samples/gpg.rc
+share/doc/mutt/samples/pgp2.rc
+share/doc/mutt/samples/pgp5.rc
+share/doc/mutt/samples/pgp6.rc
+share/doc/mutt/samples/sample.mailcap
+share/doc/mutt/samples/sample.muttrc
+share/doc/mutt/samples/sample.muttrc-tlr
+share/doc/mutt/samples/smime.rc
+share/doc/mutt/samples/smime_keys_test.pl
+share/doc/mutt/samples/iconv/iconv.aix-3.2.5.rc
+share/doc/mutt/samples/iconv/iconv.aix-4.1.5.rc
+share/doc/mutt/samples/iconv/iconv.aix-4.2.0.rc
+share/doc/mutt/samples/iconv/iconv.aix-4.3.2.rc
+share/doc/mutt/samples/iconv/iconv.freebsd-3.3.rc
+share/doc/mutt/samples/iconv/iconv.glibc-2.1.3.rc
+share/doc/mutt/samples/iconv/iconv.glibc-2.1.90.rc
+share/doc/mutt/samples/iconv/iconv.hpux-10.01.rc
+share/doc/mutt/samples/iconv/iconv.hpux-10.20.rc
+share/doc/mutt/samples/iconv/iconv.hpux-11.00.rc
+share/doc/mutt/samples/iconv/iconv.irix-6.5.rc
+share/doc/mutt/samples/iconv/iconv.osf1-4.0a.rc
+share/doc/mutt/samples/iconv/iconv.osf1-4.0d.rc
+share/doc/mutt/samples/iconv/iconv.solaris-2.4.rc
+share/doc/mutt/samples/iconv/iconv.solaris-2.5.1.rc
+share/doc/mutt/samples/iconv/iconv.solaris-2.6-cjk.rc
+share/doc/mutt/samples/iconv/iconv.solaris-2.6.rc
+share/doc/mutt/samples/iconv/iconv.solaris-2.7.rc
+EOF
+fi
+
+if [ "$MUTT_NNTP" = "yes" ]; then
+echo "share/doc/mutt/ChangeLog.nntp" >> $tmp_first
+fi
+if [ "$MUTT_SGML" = "yes" ]; then
+echo "share/doc/mutt/manual.latin1" >> $tmp_first
+fi
+
+if [ "$MUTT_HTML" = "yes" ]; then
+ html=361
+ if [ "$MUTT_COMPRESSED_FOLDERS" = "yes" ]; then
+ html=$(($html + 5))
+ fi
+ if [ "$MUTT_NNTP" = "yes" ]; then
+ html=$(($html + 22))
+ fi
+ if [ "$MUTT_QUOTE_PATCH" = "yes" ]; then
+ html=$(($html + 2))
+ fi
+ if [ "$MUTT_EDIT_THREADS" = "yes" ]; then
+ html=$(($html + 3))
+ fi
+ if [ "$MUTT_SIGNATURE_MENU" = "yes" ]; then
+ html=$(($html + 1))
+ fi
+ if [ "$MUTT_IFDEF_PATCH" = "yes" ]; then
+ html=$(($html + 1))
+ fi
+ if [ "$MUTT_PGP_OUTLOOK_PATCH" = "yes" ]; then
+ html=$(($html + 1))
+ fi
+ echo "share/doc/mutt/html/manual.html" >> $tmp_first
+ echo "share/doc/mutt/html/manual_toc.html" >> $tmp_first
+ i=1
+ while [ $i -le $html ]; do
+ echo "share/doc/mutt/html/manual$i.html" >> $tmp_first
+ i=$(($i + 1))
+ done
+ echo "@dirrm share/doc/mutt/html" >> $tmp_last
+fi
+
+if [ "$MUTT_PORTDOCS" = "yes" ]; then
+cat >> $tmp_last <<EOF
+@dirrm share/doc/mutt/samples/iconv
+@dirrm share/doc/mutt/samples
+@dirrm share/doc/mutt
+EOF
+fi
+
+sort -u $tmp_first
+cat $tmp_last