opnsense-ports/mail/py-notmuch/Makefile
Franco Fichtner 4b54369177 */*: sync with upstream
Taken from: HardenedBSD
2018-06-20 08:11:15 +02:00

31 lines
659 B
Makefile

# $FreeBSD$
CATEGORIES= mail python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
COMMENT= Python interface for the Notmuch email search and tagging library
LICENSE= GPLv3
LIB_DEPENDS= libnotmuch.so:mail/notmuch
USES= python uniquefiles:dirs
USE_PYTHON= autoplist distutils
MASTERDIR= ${.CURDIR}/../notmuch
NO_ARCH= yes
PORTDOCS= *
WRKSRC_SUBDIR= bindings/python
OPTIONS_DEFINE= DOCS
DOCS_BUILD_DEPENDS= sphinx-build:textproc/py-sphinx
do-build-DOCS-on:
@${MAKE_CMD} -C ${WRKSRC}/docs html
do-install-DOCS-on:
cd ${WRKSRC}/docs/html && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}
@${RM} ${STAGEDIR}${DOCSDIR}/.buildinfo
.include "${MASTERDIR}/Makefile"