aboutsummaryrefslogblamecommitdiff
path: root/mail/py-notmuch/Makefile
blob: 745e1ab2bd8e810a7e2c6fc111e8ab5563f49f09 (plain) (tree)
1
2
3
4
5
6
7
8
9

           
                           

                                       
                                                                                 
 

                     
                                          
 
                                       
                                   

                                     
                   
                 







                                                       
 
                   

                                                                           
 
                                
# $FreeBSD$

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=	bindings/python

OPTIONS_DEFINE=	DOCS

DOCS_BUILD_DEPENDS=	sphinx-build:textproc/py-sphinx

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"