pkgsrc/mail/notmuch/Makefile
wiz d50d794e73 Updated notmuch to 0.23.5.
Notmuch 0.23.5 (2017-01-09)
===========================

Build system
------------

Fix quoting bug in configure. This had introduced a RUNPATH into the
notmuch binary in cases where it was not not needed.
2017-01-16 11:08:42 +00:00

45 lines
1.3 KiB
Makefile

# $NetBSD: Makefile,v 1.23 2017/01/16 11:08:42 wiz Exp $
DISTNAME= notmuch-0.23.5
CATEGORIES= mail
MASTER_SITES= http://notmuchmail.org/releases/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://notmuchmail.org/
COMMENT= Mail indexer
LICENSE= gnu-gpl-v3
BUILD_DEPENDS+= ${PYPKGPREFIX}-sphinx-[0-9]*:../../textproc/py-sphinx
HAS_CONFIGURE= yes
USE_LANGUAGES= c c++
USE_TOOLS+= gmake pkg-config
MAKE_FLAGS+= PYTHON=${PYTHONBIN}
#TEST_TARGET= check
.include "options.mk"
CONFIGURE_ARGS+= --prefix=${PREFIX}
CONFIGURE_ARGS+= --mandir=${PREFIX}/${PKGMANDIR}
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.
LDFLAGS.SunOS+= -lnsl
.include "../../lang/python/application.mk"
.include "../../mail/gmime/buildlink3.mk"
BUILDLINK_API_DEPENDS.xapian+= xapian>=1.2.6
.include "../../textproc/xapian/buildlink3.mk"
.include "../../devel/talloc/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"