| @@ -1,57 +1,57 @@ | | | @@ -1,57 +1,57 @@ |
1 | # $NetBSD: Makefile,v 1.73 2021/10/01 08:51:53 wiz Exp $ | | 1 | # $NetBSD: Makefile,v 1.74 2021/10/05 06:56:48 wiz Exp $ |
2 | | | 2 | |
3 | DISTNAME= notmuch-0.33.2 | | 3 | DISTNAME= notmuch-0.33.2 |
4 | CATEGORIES= mail | | 4 | CATEGORIES= mail |
5 | MASTER_SITES= https://notmuchmail.org/releases/ | | 5 | MASTER_SITES= https://notmuchmail.org/releases/ |
6 | EXTRACT_SUFX= .tar.xz | | 6 | EXTRACT_SUFX= .tar.xz |
7 | | | 7 | |
8 | MAINTAINER= pkgsrc-users@NetBSD.org | | 8 | MAINTAINER= pkgsrc-users@NetBSD.org |
9 | HOMEPAGE= https://notmuchmail.org/ | | 9 | HOMEPAGE= https://notmuchmail.org/ |
10 | COMMENT= Mail indexer | | 10 | COMMENT= Mail indexer |
11 | LICENSE= gnu-gpl-v3 | | 11 | LICENSE= gnu-gpl-v3 |
12 | | | 12 | |
13 | HAS_CONFIGURE= yes | | 13 | HAS_CONFIGURE= yes |
14 | USE_LANGUAGES= c c++ | | 14 | USE_LANGUAGES= c c++11 |
15 | USE_TOOLS+= bash gmake makeinfo pkg-config # perl:test | | 15 | USE_TOOLS+= bash gmake makeinfo pkg-config # perl:test |
16 | MAKE_FLAGS+= PYTHON=${PYTHONBIN} | | 16 | MAKE_FLAGS+= PYTHON=${PYTHONBIN} |
17 | INFO_FILES= yes | | 17 | INFO_FILES= yes |
18 | TEST_TARGET= check | | 18 | TEST_TARGET= check |
19 | | | 19 | |
20 | PYTHON_FOR_BUILD_ONLY= tool | | 20 | PYTHON_FOR_BUILD_ONLY= tool |
21 | | | 21 | |
22 | REPLACE_BASH+= emacs/notmuch-emacs-mua | | 22 | REPLACE_BASH+= emacs/notmuch-emacs-mua |
23 | | | 23 | |
24 | .include "options.mk" | | 24 | .include "options.mk" |
25 | | | 25 | |
26 | CONFIGURE_ARGS+= --prefix=${PREFIX} | | 26 | CONFIGURE_ARGS+= --prefix=${PREFIX} |
27 | CONFIGURE_ARGS+= --mandir=${PREFIX}/${PKGMANDIR} | | 27 | CONFIGURE_ARGS+= --mandir=${PREFIX}/${PKGMANDIR} |
28 | CONFIGURE_ARGS+= --infodir=${PREFIX}/info | | 28 | CONFIGURE_ARGS+= --infodir=${PREFIX}/info |
29 | CONFIGURE_ARGS+= --without-ruby | | 29 | CONFIGURE_ARGS+= --without-ruby |
30 | | | 30 | |
31 | SUBST_CLASSES.SunOS+= gnuld | | 31 | SUBST_CLASSES.SunOS+= gnuld |
32 | SUBST_STAGE.gnuld= pre-configure | | 32 | SUBST_STAGE.gnuld= pre-configure |
33 | SUBST_FILES.gnuld= lib/Makefile.local | | 33 | SUBST_FILES.gnuld= lib/Makefile.local |
34 | SUBST_SED.gnuld= -e 's/-Wl,--[^ ]*//g' | | 34 | SUBST_SED.gnuld= -e 's/-Wl,--[^ ]*//g' |
35 | | | 35 | |
36 | SUBST_CLASSES+= sphinx | | 36 | SUBST_CLASSES+= sphinx |
37 | SUBST_SED.sphinx+= -e "s,sphinx-build,sphinx-build-${PYVERSSUFFIX}," | | 37 | SUBST_SED.sphinx+= -e "s,sphinx-build,sphinx-build-${PYVERSSUFFIX}," |
38 | SUBST_FILES.sphinx+= bindings/python/docs/Makefile configure doc/Makefile.local | | 38 | SUBST_FILES.sphinx+= bindings/python/docs/Makefile configure doc/Makefile.local |
39 | SUBST_STAGE.sphinx= pre-configure | | 39 | SUBST_STAGE.sphinx= pre-configure |
40 | SUBST_MESSAGE.sphinx= Fix sphinx command names. | | 40 | SUBST_MESSAGE.sphinx= Fix sphinx command names. |
41 | | | 41 | |
42 | SUBST_CLASSES+= gpg | | 42 | SUBST_CLASSES+= gpg |
43 | SUBST_STAGE.gpg= pre-configure | | 43 | SUBST_STAGE.gpg= pre-configure |
44 | SUBST_MESSAGE.gpg= Select GnuPG command | | 44 | SUBST_MESSAGE.gpg= Select GnuPG command |
45 | SUBST_FILES.gpg+= configure | | 45 | SUBST_FILES.gpg+= configure |
46 | SUBST_VARS.gpg= GPGME_GPG | | 46 | SUBST_VARS.gpg= GPGME_GPG |
47 | | | 47 | |
48 | LDFLAGS.SunOS+= -lsocket -lnsl | | 48 | LDFLAGS.SunOS+= -lsocket -lnsl |
49 | | | 49 | |
50 | .include "../../lang/python/application.mk" | | 50 | .include "../../lang/python/application.mk" |
51 | BUILDLINK_API_DEPENDS.gmime3+= gmime3>=3.0.3 | | 51 | BUILDLINK_API_DEPENDS.gmime3+= gmime3>=3.0.3 |
52 | .include "../../mail/gmime3/buildlink3.mk" | | 52 | .include "../../mail/gmime3/buildlink3.mk" |
53 | .include "../../textproc/xapian/buildlink3.mk" | | 53 | .include "../../textproc/xapian/buildlink3.mk" |
54 | .include "../../devel/talloc/buildlink3.mk" | | 54 | .include "../../devel/talloc/buildlink3.mk" |
55 | BUILDLINK_API_DEPENDS.zlib+= zlib>=1.2.5.2 | | 55 | BUILDLINK_API_DEPENDS.zlib+= zlib>=1.2.5.2 |
56 | .include "../../devel/zlib/buildlink3.mk" | | 56 | .include "../../devel/zlib/buildlink3.mk" |
57 | .include "../../mk/bsd.pkg.mk" | | 57 | .include "../../mk/bsd.pkg.mk" |