ports/mail/py-notmuch2/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

27 lines
718 B
Makefile

CATEGORIES= mail python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
PKGNAMESUFFIX= 0
COMMENT= Pythonic bindings for the notmuch mail database using CFFI
LICENSE= GPLv3
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cffi>=1.0.0:devel/py-cffi@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cffi>=1.0.0:devel/py-cffi@${PY_FLAVOR}
LIB_DEPENDS= libnotmuch.so:mail/notmuch
USES= python:3.5+ pkgconfig uniquefiles:dirs
USE_PYTHON= autoplist distutils
HAS_CONFIGURE= yes
CONFIGURE_WRKSRC= ${WRKDIR}/${DISTNAME}
MASTERDIR= ${.CURDIR}/../notmuch
WRKSRC_SUBDIR= bindings/python-cffi
PORTSCOUT= limit:^[0-9\.]*$$
post-install:
@${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/notmuch2/_capi.abi3*.so
.include "${MASTERDIR}/Makefile"