ports/mail/py-notmuch/Makefile
Tobias Kortkamp e79fe1aabc Fix WWW in parent/child ports
Many of the WWW are overwritten later which means the wrong value
is used. This did not happen before where the children were either
 a) just using the pkg-descr from the parents
 b) or had their own separate pkg-descr with custom WWW

Use WWW?= in parents when the child's WWW is different.

Children that use the same WWW as the parent can just inherit it,
i.e., the child WWW can be removed.

Approved by:	portmgr (implicit)
2022-09-10 19:41:16 +02:00

31 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"