| @@ -1,36 +1,40 @@ | | | @@ -1,36 +1,40 @@ |
1 | # $NetBSD: Makefile,v 1.51 2019/12/18 13:47:58 wiz Exp $ | | 1 | # $NetBSD: Makefile,v 1.52 2020/01/16 13:52:39 tm Exp $ |
2 | | | 2 | |
3 | DISTNAME= neomutt-20191129 | | 3 | DISTNAME= neomutt-20191129 |
| | | 4 | PKGREVISION= 1 |
4 | CATEGORIES= mail | | 5 | CATEGORIES= mail |
5 | MASTER_SITES= ${MASTER_SITE_GITHUB:=neomutt/} | | 6 | MASTER_SITES= ${MASTER_SITE_GITHUB:=neomutt/} |
6 | GITHUB_TAG= ${PKGVERSION_NOREV} | | 7 | GITHUB_TAG= ${PKGVERSION_NOREV} |
7 | | | 8 | |
8 | MAINTAINER= wiz@NetBSD.org | | 9 | MAINTAINER= wiz@NetBSD.org |
9 | HOMEPAGE= https://www.neomutt.org/ | | 10 | HOMEPAGE= https://www.neomutt.org/ |
10 | COMMENT= Fork of mutt with integrated community patches | | 11 | COMMENT= Fork of mutt with integrated community patches |
11 | LICENSE= gnu-gpl-v2 OR gnu-gpl-v3 # or newer | | 12 | LICENSE= gnu-gpl-v2 OR gnu-gpl-v3 # or newer |
12 | | | 13 | |
13 | USE_TOOLS+= msgfmt gmake | | 14 | USE_TOOLS+= msgfmt gmake |
14 | | | 15 | |
15 | BUILD_DEPENDS+= gettext-tools-[0-9]*:../../devel/gettext-tools | | 16 | BUILD_DEPENDS+= gettext-tools-[0-9]*:../../devel/gettext-tools |
16 | BUILD_DEPENDS+= libxslt-[0-9]*:../../textproc/libxslt | | 17 | BUILD_DEPENDS+= libxslt-[0-9]*:../../textproc/libxslt |
17 | BUILD_DEPENDS+= docbook-xsl-[0-9]*:../../textproc/docbook-xsl | | 18 | BUILD_DEPENDS+= docbook-xsl-[0-9]*:../../textproc/docbook-xsl |
| | | 19 | BUILD_DEPENDS+= w3m-[0-9]*:../../www/w3m |
18 | | | 20 | |
19 | HAS_CONFIGURE= yes | | 21 | HAS_CONFIGURE= yes |
20 | EXTRACT_USING= bsdtar | | 22 | EXTRACT_USING= bsdtar |
21 | CONFIGURE_ARGS+= --prefix=${PREFIX} | | 23 | CONFIGURE_ARGS+= --prefix=${PREFIX} |
22 | CONFIGURE_ARGS+= --mandir=${PREFIX}/${PKGMANDIR} | | 24 | CONFIGURE_ARGS+= --mandir=${PREFIX}/${PKGMANDIR} |
23 | | | 25 | |
| | | 26 | CONFIGURE_ARGS.SunOS+= --disable-inotify |
| | | 27 | |
24 | EGDIR= ${PREFIX}/share/examples/neomutt | | 28 | EGDIR= ${PREFIX}/share/examples/neomutt |
25 | CONF_FILES= ${EGDIR}/neomuttrc ${PKG_SYSCONFDIR}/neomuttrc | | 29 | CONF_FILES= ${EGDIR}/neomuttrc ${PKG_SYSCONFDIR}/neomuttrc |
26 | INSTALLATION_DIRS+= ${EGDIR} | | 30 | INSTALLATION_DIRS+= ${EGDIR} |
27 | INSTALL_MAKE_FLAGS= ${MAKE_FLAGS} DOTLOCK_GROUP= sysconfdir=${EGDIR} | | 31 | INSTALL_MAKE_FLAGS= ${MAKE_FLAGS} DOTLOCK_GROUP= sysconfdir=${EGDIR} |
28 | | | 32 | |
29 | .include "../../mk/bsd.prefs.mk" | | 33 | .include "../../mk/bsd.prefs.mk" |
30 | | | 34 | |
31 | .if ${OPSYS} == "NetBSD" || ${OPSYS} == "DragonFly" || ${OPSYS} == "FreeBSD" || ${OPSYS} == "OpenBSD" | | 35 | .if ${OPSYS} == "NetBSD" || ${OPSYS} == "DragonFly" || ${OPSYS} == "FreeBSD" || ${OPSYS} == "OpenBSD" |
32 | # Force sendmail to /usr/sbin to avoid postfix's | | 36 | # Force sendmail to /usr/sbin to avoid postfix's |
33 | # ${LOCALBASE}/sbin/sendmail. Should be enabled on all platforms which | | 37 | # ${LOCALBASE}/sbin/sendmail. Should be enabled on all platforms which |
34 | # support mailwrapper. | | 38 | # support mailwrapper. |
35 | CONFIGURE_ENV+= SENDMAIL=/usr/sbin/sendmail | | 39 | CONFIGURE_ENV+= SENDMAIL=/usr/sbin/sendmail |
36 | .endif | | 40 | .endif |