blob: 95f2524ffff6dda8c9afd9baadafd23286184feb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
# $NetBSD: Makefile,v 1.11 2016/10/04 11:05:06 wiz Exp $
DISTNAME= neomutt-20161003
CATEGORIES= mail
MASTER_SITES= ${MASTER_SITE_GITHUB:=neomutt/}
GITHUB_TAG= ${DISTNAME}
MAINTAINER= wiz@NetBSD.org
HOMEPAGE= http://www.neomutt.org/
COMMENT= Fork of mutt with integrated community patches
LICENSE= gnu-gpl-v2 OR gnu-gpl-v3 # or newer
USE_TOOLS+= autoconf automake autoreconf msgfmt
SPECIAL_PERMS+= bin/mutt_dotlock ${REAL_ROOT_USER} mail 2551
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --without-included-gettext
CONFIGURE_ARGS+= --enable-external-dotlock
CONFIGURE_ARGS+= --enable-imap
CONFIGURE_ARGS+= --enable-notmuch
CONFIGURE_ARGS+= --enable-pop
EGDIR= ${PREFIX}/share/examples/mutt
CONF_FILES= ${EGDIR}/Muttrc ${PKG_SYSCONFDIR}/Muttrc
CONF_FILES+= ${EGDIR}/mime.types ${PKG_SYSCONFDIR}/mime.types
INSTALLATION_DIRS+= ${DOCDIR} ${EGDIR}
INSTALL_MAKE_FLAGS= ${MAKE_FLAGS} sysconfdir=${EGDIR}
.include "../../mk/bsd.prefs.mk"
.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
.include "options.mk"
pre-configure:
cd ${WRKSRC} && autoreconf -fiv
.include "../../converters/libiconv/buildlink3.mk"
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../mail/notmuch/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|