From 49563bb198889fd3f8f31c9659d53f11c32d601e Mon Sep 17 00:00:00 2001 From: wiz Date: Tue, 7 Mar 2017 10:43:05 +0000 Subject: Add comments on how to generate the man page. --- time/khal/Makefile | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'time') diff --git a/time/khal/Makefile b/time/khal/Makefile index 6230d1d162a..c74db20b9bb 100644 --- a/time/khal/Makefile +++ b/time/khal/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.17 2017/03/06 21:55:53 wiz Exp $ +# $NetBSD: Makefile,v 1.18 2017/03/07 10:43:05 wiz Exp $ DISTNAME= khal-0.9.3 CATEGORIES= time net @@ -24,6 +24,11 @@ DEPENDS+= ${PYPKGPREFIX}-vdirsyncer>=0.5.2:../../time/py-vdirsyncer DEPENDS+= ${PYPKGPREFIX}-xdg>=0.17:../../devel/py-xdg # not needed, but recommended, so let's just depend on it DEPENDS+= ${PYPKGPREFIX}-setproctitle-[0-9]*:../../sysutils/py-setproctitle +# for the man page, needs khal installed though, see +# https://github.com/pimutils/khal/issues/598 +#USE_TOOLS+= gmake +#BUILD_DEPENDS+= ${PYPKGPREFIX}-sphinx-[0-9]*:../../textproc/py-sphinx +#BUILD_DEPENDS+= ${PYPKGPREFIX}-sphinxcontrib-newsfeed-[0-9]*:../../textproc/py-sphinxcontrib-newsfeed # TEST_DEPENDS BUILD_DEPENDS+= ${PYPKGPREFIX}-freezegun-[0-9]*:../../devel/py-freezegun BUILD_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test @@ -34,6 +39,10 @@ INSTALLATION_DIRS= share/doc/khal REPLACE_PYTHON+= khal/*/*.py REPLACE_PYTHON+= khal/*.py +# man page generation, see above +#post-build: +# cd ${WRKSRC}/doc && gmake SPHINXBUILD=sphinx-build${PYVERSSUFFIX} man + post-install: ${INSTALL_DATA} ${WRKSRC}/khal.conf.sample ${DESTDIR}${PREFIX}/share/doc/khal -- cgit v1.2.3