pkgsrc/mail/notmuch/Makefile
ryoon 0277591084 Update to 0.29.2
Changelog:
Notmuch 0.29.2 (2019-10-19)
===========================

General
-------

Fix for file descriptor leak when opening gzipped mail files. Thanks
to James Troup for the bug report and the fix.
2019-10-28 12:53:07 +00:00

65 lines
1.7 KiB
Makefile

# $NetBSD: Makefile,v 1.54 2019/10/28 12:53:07 ryoon Exp $
DISTNAME= notmuch-0.29.2
CATEGORIES= mail
MASTER_SITES= https://notmuchmail.org/releases/
EXTRACT_SUFX= .tar.xz
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://notmuchmail.org/
COMMENT= Mail indexer
LICENSE= gnu-gpl-v3
HAS_CONFIGURE= yes
USE_LANGUAGES= c c++
USE_TOOLS+= bash gmake makeinfo pkg-config
MAKE_FLAGS+= PYTHON=${PYTHONBIN}
INFO_FILES= yes
#TEST_TARGET= check
REPLACE_BASH+= emacs/notmuch-emacs-mua
.include "options.mk"
CONFIGURE_ARGS+= --prefix=${PREFIX}
CONFIGURE_ARGS+= --mandir=${PREFIX}/${PKGMANDIR}
CONFIGURE_ARGS+= --infodir=${PREFIX}/info
CONFIGURE_ARGS+= --without-ruby
SUBST_CLASSES.SunOS+= gnuld
SUBST_STAGE.gnuld= pre-configure
SUBST_FILES.gnuld= lib/Makefile.local
SUBST_SED.gnuld= -e 's/-Wl,--[^ ]*//g'
SUBST_CLASSES+= sphinx
SUBST_SED.sphinx+= -e "s,sphinx-build,sphinx-build-${PYVERSSUFFIX},"
SUBST_FILES.sphinx+= bindings/python/docs/Makefile configure doc/Makefile.local
SUBST_STAGE.sphinx= pre-configure
SUBST_MESSAGE.sphinx= Fix sphinx command names.
.if !empty(PKG_BUILD_OPTIONS.gpgme:Mgnupg2)
GPG= gpg2
.else
GPG= gpg
.endif
SUBST_CLASSES+= gpg
SUBST_STAGE.gpg= pre-configure
SUBST_MESSAGE.gpg= Select GnuPG command
SUBST_FILES.gpg+= configure
SUBST_VARS.gpg= GPG
LDFLAGS.SunOS+= -lnsl
post-extract:
${MV} ${WRKSRC}/version ${WRKSRC}/version.txt
.include "../../lang/python/application.mk"
BUILDLINK_API_DEPENDS.gmime3+= gmime3>=3.0.3
.include "../../mail/gmime3/buildlink3.mk"
BUILDLINK_API_DEPENDS.xapian+= xapian>=1.4
.include "../../textproc/xapian/buildlink3.mk"
.include "../../devel/talloc/buildlink3.mk"
BUILDLINK_API_DEPENDS.zlib+= zlib>=1.2.5.2
.include "../../devel/zlib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"