a53340810e
From the announce: "Mutt 1.5.18 contains 6 months of bug fixes, documentation improvements and performance enhancements since the release of 1.5.17, but I believe only one new feature ($time_inc, for controlling the rate at which status updates are displayed)."
71 lines
2 KiB
Makefile
71 lines
2 KiB
Makefile
# $NetBSD: Makefile,v 1.68 2008/05/18 08:26:30 tonio Exp $
|
|
|
|
DISTNAME= mutt-1.5.18
|
|
CATEGORIES= mail
|
|
MUTT_SITES= ftp://ftp.mutt.org/mutt/ \
|
|
ftp://ftp.stealth.net/pub/mirrors/ftp.mutt.org/pub/mutt/ \
|
|
ftp://gd.tuwien.ac.at/infosys/mail/mutt/ \
|
|
ftp://ftp.fu-berlin.de/unix/mail/mutt/
|
|
MASTER_SITES= ${MUTT_SITES:=devel/}
|
|
|
|
MAINTAINER= tonio@NetBSD.org
|
|
HOMEPAGE= http://www.mutt.org/
|
|
COMMENT= Text-based MIME mail client with PGP & S/MIME support
|
|
|
|
PKG_INSTALLATION_TYPES= overwrite pkgviews
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
USE_PKGLOCALEDIR= yes
|
|
USE_TOOLS+= msgfmt
|
|
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q} \
|
|
--with-docdir=${PREFIX}/share/doc/mutt \
|
|
--without-included-gettext \
|
|
--enable-pop \
|
|
--enable-imap
|
|
MAKE_ENV+= CHGRP=${CHGRP:Q} CHMOD=${CHMOD:Q}
|
|
|
|
.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
|
|
|
|
.if (${OPSYS} == "SunOS")
|
|
CONFIGURE_ARGS+= --without-wc-funcs
|
|
.endif
|
|
|
|
# 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}
|
|
|
|
# Define WRKSRC explicitly so we can use its value below.
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}
|
|
PLIST_VARS+= dotlock
|
|
.if exists(${WRKSRC}/mutt_dotlock)
|
|
PLIST.dotlock= yes
|
|
.endif
|
|
INSTALL_MAKE_FLAGS= ${MAKE_FLAGS} sysconfdir=${EGDIR}
|
|
|
|
.include "../../converters/libiconv/buildlink3.mk"
|
|
.include "../../devel/gettext-lib/buildlink3.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|