mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-18 19:49:40 +00:00
cf118ccf87
Reported by: lwhsu
32 lines
681 B
Makefile
32 lines
681 B
Makefile
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"
|