0bf6945c85
News: https://git.notmuchmail.org/git?p=notmuch;a=blob_plain;f=NEWS;hb=81e9eaa273203553a494c6e92f69f08382d58889 Sponsored by: The FreeBSD Foundation
33 lines
698 B
Makefile
33 lines
698 B
Makefile
PORTREVISION= 1
|
|
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= contrib/python-legacy
|
|
|
|
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"
|