| @@ -1,58 +1,58 @@ | | | @@ -1,58 +1,58 @@ |
1 | # $NetBSD: Makefile,v 1.94 2024/04/18 06:54:20 wiz Exp $ | | 1 | # $NetBSD: Makefile,v 1.95 2024/04/26 04:41:29 wiz Exp $ |
2 | | | 2 | |
3 | DISTNAME= neomutt-20240416 | | 3 | DISTNAME= neomutt-20240425 |
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 |
15 | TOOL_DEPENDS+= docbook-xsl-[0-9]*:../../textproc/docbook-xsl | | 15 | TOOL_DEPENDS+= docbook-xsl-[0-9]*:../../textproc/docbook-xsl |
16 | TOOL_DEPENDS+= w3m-[0-9]*:../../www/w3m | | 16 | TOOL_DEPENDS+= w3m-[0-9]*:../../www/w3m |
17 | DEPENDS+= mime-types-[0-9]*:../../misc/mime-types | | 17 | DEPENDS+= mime-types-[0-9]*:../../misc/mime-types |
18 | | | 18 | |
19 | USE_TOOLS+= msgfmt gmake perl:build pkg-config | | 19 | USE_TOOLS+= msgfmt gmake perl:build pkg-config |
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 | | 33 | GCC_REQD+= 8 |
34 | | | 34 | |
35 | .include "../../mk/bsd.prefs.mk" | | 35 | .include "../../mk/bsd.prefs.mk" |
36 | | | 36 | |
37 | .if ${OPSYS} == "NetBSD" || ${OPSYS} == "DragonFly" || ${OPSYS} == "FreeBSD" || ${OPSYS} == "OpenBSD" | | 37 | .if ${OPSYS} == "NetBSD" || ${OPSYS} == "DragonFly" || ${OPSYS} == "FreeBSD" || ${OPSYS} == "OpenBSD" |
38 | # Force sendmail to /usr/sbin to avoid postfix's | | 38 | # Force sendmail to /usr/sbin to avoid postfix's |
39 | # ${LOCALBASE}/sbin/sendmail. Should be enabled on all platforms which | | 39 | # ${LOCALBASE}/sbin/sendmail. Should be enabled on all platforms which |
40 | # support mailwrapper. | | 40 | # support mailwrapper. |
41 | CONFIGURE_ENV+= SENDMAIL=/usr/sbin/sendmail | | 41 | CONFIGURE_ENV+= SENDMAIL=/usr/sbin/sendmail |
42 | .endif | | 42 | .endif |
43 | | | 43 | |
44 | SUBST_CLASSES+= interpreter | | 44 | SUBST_CLASSES+= interpreter |
45 | SUBST_STAGE.interpreter= pre-configure | | 45 | SUBST_STAGE.interpreter= pre-configure |
46 | SUBST_MESSAGE.interpreter= Substituting /usr/bin/env python3 interpreter lines | | 46 | SUBST_MESSAGE.interpreter= Substituting /usr/bin/env python3 interpreter lines |
47 | SUBST_FILES.interpreter= contrib/oauth2/mutt_oauth2.py | | 47 | SUBST_FILES.interpreter= contrib/oauth2/mutt_oauth2.py |
48 | SUBST_FILES.interpreter+= data/account-command/macos-keychain/keychain.py | | 48 | SUBST_FILES.interpreter+= data/account-command/macos-keychain/keychain.py |
49 | SUBST_SED.interpreter+= -e "s,\#! */usr/bin/env *python3,\#!${PYTHONBIN}," | | 49 | SUBST_SED.interpreter+= -e "s,\#! */usr/bin/env *python3,\#!${PYTHONBIN}," |
50 | | | 50 | |
51 | .include "options.mk" | | 51 | .include "options.mk" |
52 | | | 52 | |
53 | .include "../../converters/libiconv/buildlink3.mk" | | 53 | .include "../../converters/libiconv/buildlink3.mk" |
54 | .include "../../devel/gettext-lib/buildlink3.mk" | | 54 | .include "../../devel/gettext-lib/buildlink3.mk" |
55 | .include "../../devel/libidn2/buildlink3.mk" | | 55 | .include "../../devel/libidn2/buildlink3.mk" |
56 | .include "../../devel/zlib/buildlink3.mk" | | 56 | .include "../../devel/zlib/buildlink3.mk" |
57 | .include "../../lang/python/application.mk" | | 57 | .include "../../lang/python/application.mk" |
58 | .include "../../mk/bsd.pkg.mk" | | 58 | .include "../../mk/bsd.pkg.mk" |