# $NetBSD: Makefile,v 1.10 2015/08/26 13:33:36 wiz Exp $ DISTNAME= notmuch-0.20.2 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+= PYTHONBIN=${PYTHONBIN} .include "options.mk" CONFIGURE_ARGS+= --prefix=${PREFIX} CONFIGURE_ARGS+= --mandir=${PREFIX}/${PKGMANDIR} .if ${OPSYS} == "SunOS" SUBST_CLASSES+= gnuld SUBST_STAGE.gnuld= pre-configure SUBST_FILES.gnuld= lib/Makefile.local SUBST_SED.gnuld= -e 's/-Wl,--[^ ]*//g' .endif 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 PYTHON_VERSIONS_INCOMPATIBLE= 33 34 # as of 0.19 .include "../../lang/python/application.mk" .include "../../mail/gmime24/buildlink3.mk" .include "../../textproc/xapian/buildlink3.mk" .include "../../devel/talloc/buildlink3.mk" .include "../../devel/zlib/buildlink3.mk" .include "../../mk/bsd.pkg.mk"