| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | # $NetBSD: Makefile,v 1.93 2024/04/16 22:08:23 wiz Exp $ | | 1 | # $NetBSD: Makefile,v 1.94 2024/04/18 06:54:20 wiz Exp $ |
2 | | | 2 | |
3 | DISTNAME= neomutt-20240416 | | 3 | DISTNAME= neomutt-20240416 |
4 | CATEGORIES= mail | | 4 | CATEGORIES= mail |
5 | MASTER_SITES= ${MASTER_SITE_GITHUB:=neomutt/} | | 5 | MASTER_SITES= ${MASTER_SITE_GITHUB:=neomutt/} |
6 | GITHUB_TAG= ${PKGVERSION_NOREV} | | 6 | GITHUB_TAG= ${PKGVERSION_NOREV} |
7 | | | 7 | |
8 | MAINTAINER= pkgsrc-users@NetBSD.org | | 8 | MAINTAINER= pkgsrc-users@NetBSD.org |
9 | HOMEPAGE= https://www.neomutt.org/ | | 9 | HOMEPAGE= https://www.neomutt.org/ |
10 | COMMENT= Fork of mutt with integrated community patches | | 10 | COMMENT= Fork of mutt with integrated community patches |
11 | LICENSE= gnu-gpl-v2 OR gnu-gpl-v3 # or newer | | 11 | LICENSE= gnu-gpl-v2 OR gnu-gpl-v3 # or newer |
12 | | | 12 | |
13 | TOOL_DEPENDS+= gettext-tools-[0-9]*:../../devel/gettext-tools | | 13 | TOOL_DEPENDS+= gettext-tools-[0-9]*:../../devel/gettext-tools |
14 | TOOL_DEPENDS+= libxslt-[0-9]*:../../textproc/libxslt | | 14 | TOOL_DEPENDS+= libxslt-[0-9]*:../../textproc/libxslt |
| @@ -20,26 +20,28 @@ USE_TOOLS+= msgfmt gmake perl:build pkg | | | @@ -20,26 +20,28 @@ USE_TOOLS+= msgfmt gmake perl:build pkg |
20 | | | 20 | |
21 | HAS_CONFIGURE= yes | | 21 | HAS_CONFIGURE= yes |
22 | EXTRACT_USING= bsdtar | | 22 | EXTRACT_USING= bsdtar |
23 | CONFIGURE_ARGS+= --prefix=${PREFIX} | | 23 | CONFIGURE_ARGS+= --prefix=${PREFIX} |
24 | CONFIGURE_ARGS+= --mandir=${PREFIX}/${PKGMANDIR} | | 24 | CONFIGURE_ARGS+= --mandir=${PREFIX}/${PKGMANDIR} |
25 | | | 25 | |
26 | CONFIGURE_ARGS.SunOS+= --disable-inotify | | 26 | CONFIGURE_ARGS.SunOS+= --disable-inotify |
27 | | | 27 | |
28 | EGDIR= ${PREFIX}/share/examples/neomutt | | 28 | EGDIR= ${PREFIX}/share/examples/neomutt |
29 | CONF_FILES= ${EGDIR}/neomuttrc ${PKG_SYSCONFDIR}/neomuttrc | | 29 | CONF_FILES= ${EGDIR}/neomuttrc ${PKG_SYSCONFDIR}/neomuttrc |
30 | INSTALLATION_DIRS+= ${EGDIR} | | 30 | INSTALLATION_DIRS+= ${EGDIR} |
31 | INSTALL_MAKE_FLAGS= ${MAKE_FLAGS} DOTLOCK_GROUP= sysconfdir=${EGDIR} | | 31 | INSTALL_MAKE_FLAGS= ${MAKE_FLAGS} DOTLOCK_GROUP= sysconfdir=${EGDIR} |
32 | | | 32 | |
| | | 33 | GCC_REQD+= 8 |
| | | 34 | |
33 | .include "../../mk/bsd.prefs.mk" | | 35 | .include "../../mk/bsd.prefs.mk" |
34 | | | 36 | |
35 | .if ${OPSYS} == "NetBSD" || ${OPSYS} == "DragonFly" || ${OPSYS} == "FreeBSD" || ${OPSYS} == "OpenBSD" | | 37 | .if ${OPSYS} == "NetBSD" || ${OPSYS} == "DragonFly" || ${OPSYS} == "FreeBSD" || ${OPSYS} == "OpenBSD" |
36 | # Force sendmail to /usr/sbin to avoid postfix's | | 38 | # Force sendmail to /usr/sbin to avoid postfix's |
37 | # ${LOCALBASE}/sbin/sendmail. Should be enabled on all platforms which | | 39 | # ${LOCALBASE}/sbin/sendmail. Should be enabled on all platforms which |
38 | # support mailwrapper. | | 40 | # support mailwrapper. |
39 | CONFIGURE_ENV+= SENDMAIL=/usr/sbin/sendmail | | 41 | CONFIGURE_ENV+= SENDMAIL=/usr/sbin/sendmail |
40 | .endif | | 42 | .endif |
41 | | | 43 | |
42 | SUBST_CLASSES+= interpreter | | 44 | SUBST_CLASSES+= interpreter |
43 | SUBST_STAGE.interpreter= pre-configure | | 45 | SUBST_STAGE.interpreter= pre-configure |
44 | SUBST_MESSAGE.interpreter= Substituting /usr/bin/env python3 interpreter lines | | 46 | SUBST_MESSAGE.interpreter= Substituting /usr/bin/env python3 interpreter lines |
45 | SUBST_FILES.interpreter= contrib/oauth2/mutt_oauth2.py | | 47 | SUBST_FILES.interpreter= contrib/oauth2/mutt_oauth2.py |