aboutsummaryrefslogtreecommitdiff
path: root/mail/py-notmuch/Makefile
blob: 7411bef41fab19de6c3361f2dbe6cc7becb420d6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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:3.6+ 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

PORTSCOUT=	limit:^[0-9\.]*$$

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"