pkgsrc/mail/mutt/Makefile

68 lines
2 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.204 2018/12/02 11:30:27 tron Exp $
DISTNAME= mutt-1.11.1
CATEGORIES= mail
mutt: Update to version 1.10.0 This is a feature release. Changes since version 1.9.5: ! $reply_self is now respected for group-reply, even with $metoo unset. ! Enabled $imap_poll_timeout when $imap_idle is set. ! Added %R (number of read messages) expando for $status_format. + When $change_folder_next is set, the <change-folder> function mailbox suggestion will start at the next folder in your "mailboxes" list, instead of starting at the first folder in the list. + $new_mail_command specifies a command to run after a new message is received. + $pgp_default_key specifies the default key-pair to use for PGP operations. It will be used for both encryption and signing (unless $pgp_sign_as is set). See contrib/gpg.rc. ! $smime_default_key now specifies the default key-pair to use for both encryption and signing S/MIME operations. See contrib/smime.rc. + $smime_sign_as can be used to specify a sign-only key-pair for S/MIME operations. - $pgp_self_encrypt_as is now deprecated, and is an alias for $pgp_default_key. $smime_self_encrypt_as is also deprecated, and is an alias for $smime_default_key. ! $pgp_self_encrypt and $smime_self_encrypt now default to set. This makes setting $pgp_default_key or $smime_default_key all that is required to enable self-encryption (for both classic and GPGME mode). + The <history-search> function (default: ^R) will search history based on the text currently typed in. That is, type the search string first, then hit ^R. + The $abort_noattach quadoption controls whether to abort sending a message that matches $abort_noattach_regexp and has no attachments. + Mutt can now be configured --with-idn2. This requires the libidn1 compatibility layer present in libidn2 v2.0.0 or greater. + Unsetting $browser_abbreviate_mailboxes turns off '=' and '~' shortcuts for mailbox names in the browser mailbox list. ! $sort_browser now has 'count' and 'unread' options. + <error-history> will display the last $error_history count of error/informational messages generated. + The ~M pattern matches content-type headers. Note that this pattern may be slow because it reads each message in. + The "echo" command can be used to display a message, for instance when running a macro or sourcing a file.
2018-05-20 09:54:23 +02:00
MASTER_SITES= ftp://ftp.mutt.org/pub/mutt/
MAINTAINER= tonio@NetBSD.org
HOMEPAGE= http://www.mutt.org/
COMMENT= Text-based MIME mail client with PGP & S/MIME support
LICENSE= gnu-gpl-v2 OR gnu-gpl-v3 # or newer
CONFLICTS+= neomutt-[0-9]*
.include "../../mk/bsd.prefs.mk"
USE_PKGLOCALEDIR= yes
USE_TOOLS+= gmake msgfmt perl
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
CONFIGURE_ARGS+= --with-docdir=${PREFIX}/share/doc/mutt
CONFIGURE_ARGS+= --without-included-gettext
CONFIGURE_ARGS+= --enable-external-dotlock
CONFIGURE_ARGS+= --enable-pop
CONFIGURE_ARGS+= --enable-imap
mutt: Update to version 1.11.0 Changes since version 1.10.1: + inotify is used for local mailbox monitoring on Linux. Configuration flag --disable-filemonitor turns this off. + OAUTHBEARER support for IMAP, SMTP and POP via $imap_oauth_refresh_command, $smtp_oauth_refresh_command, and $pop_oauth_refresh_command. ! $pgp_timeout and $smime_timeout support 32-bit numbers. + <check-stats> manually updates mailbox statistics, the same way $mail_check_stats does when set. ! Thread limited views, e.g. ~(pattern), now show new mail as it arrives. ! Command line argument -z and -Z options also work for IMAP mailboxes. + $imap_condstore and $imap_qresync enable IMAP CONDSTORE and QRESYNC support, respectively. QRESYNC should provide much faster mailbox opening. ! $abort_noattach skips quoted lines (as defined by $quote_regexp and $smileys). ! Initial IMAP header downloading can be aborted with ctrl-c. + <compose-to-sender> composes a message to the sender of the selected message, in the index or attachment menu. ! Address book queries ($query_format) now support multibyte characters. + Finnish translation. ! pgpring has been renamed to mutt_pgpring. ! Certificate prompts show sha-256 instead of md5 fingerprints. ! Non-threaded $sort_aux "reverse-" settings now work properly. + The manual can be generated and installed in GNU Info format. + index-format-hook and the new %@name@ expando for $index_format enable dynamic index formats using pattern matching against the current message. This can be used, for example, to format dates based on the age of the message. ! Relative date matching allows hour, minute, and second units: HMS.
2018-11-26 13:26:19 +01:00
INFO_FILES= yes
.if ${OPSYS} == "NetBSD" || ${OPSYS} == "DragonFly" || ${OPSYS} == "FreeBSD" || ${OPSYS} == "OpenBSD"
# Force sendmail to /usr/sbin to avoid postfix's
# ${LOCALBASE}/sbin/sendmail. Should be enabled on all platforms which
# support mailwrapper.
CONFIGURE_ENV+= SENDMAIL=/usr/sbin/sendmail
.endif
CONFIGURE_ARGS.SunOS+= --without-wc-funcs
# There is a problem using /bin/sh on old NetBSD releases, so use /bin/ksh
# there.
#
.if !empty(MACHINE_PLATFORM:MNetBSD-1.[0-5]*-*)
CONFIGURE_ARGS+= --with-exec-shell=/bin/ksh
.endif
.include "options.mk"
LDFLAGS+= ${_STRIPFLAG_CC}
DOCDIR= ${PREFIX}/share/doc/mutt
EGDIR= ${PREFIX}/share/examples/mutt
CONF_FILES= ${EGDIR}/Muttrc ${PKG_SYSCONFDIR}/Muttrc
CONF_FILES+= ${EGDIR}/mime.types ${PKG_SYSCONFDIR}/mime.types
FILES_SUBST+= DOCDIR=${DOCDIR}
INSTALLATION_DIRS+= ${DOCDIR} ${EGDIR}
SUBST_CLASSES+= paths
SUBST_FILES.paths= doc/Muttrc
SUBST_VARS.paths+= DOCDIR PREFIX
SUBST_STAGE.paths= pre-configure
SPECIAL_PERMS+= bin/mutt_dotlock ${REAL_ROOT_USER} mail 2551
INSTALL_MAKE_FLAGS= ${MAKE_FLAGS} sysconfdir=${EGDIR}
.include "../../devel/zlib/buildlink3.mk"
.include "../../converters/libiconv/buildlink3.mk"
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../textproc/libxslt/xsltproc-nonet.mk"
.include "../../mk/bsd.pkg.mk"