pkgsrc/mail/mutt/Makefile
tron 13fe0d368d mutt: Update to version 1.9.5
This is a bug fix release. Fixes include:
* GPGME S/MIME non-detached signature handling.
* A compilation issue with ncurses-6.1 when tinfow is split out.
  Hopefully the fix doesn't impact anyone: please let me know of any
  issues.
* Regular expression crashes and weird behavior problems on MacOS (and
  possibly other BSDs).  This was most noticeable with the recent Xcode
  9.3 release, but the issue has existed for a while.
* GSSAPI authentication issues, which may have affected Exchange users.
  We've changed behavior to match the RFC.  If you are negatively
  impacted by this, please let me know.
2018-04-14 22:28:03 +00:00

66 lines
2 KiB
Makefile

# $NetBSD: Makefile,v 1.199 2018/04/14 22:28:03 tron Exp $
DISTNAME= mutt-1.9.5
CATEGORIES= mail
MASTER_SITES= http://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
.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"