diff options
author | wiz <wiz@pkgsrc.org> | 2017-03-07 10:43:05 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2017-03-07 10:43:05 +0000 |
commit | 59fdb88f6028b945e9de5b7919c6f419590e3a24 (patch) | |
tree | 03f6f0e848ad3f3ba8aca77751319da2e702e426 /time | |
parent | 5c16640d0969c9b4bcde97d604f165034ac682ce (diff) | |
download | pkgsrc-59fdb88f6028b945e9de5b7919c6f419590e3a24.tar.gz |
Add comments on how to generate the man page.
Diffstat (limited to 'time')
-rw-r--r-- | time/khal/Makefile | 11 |
1 files changed, 10 insertions, 1 deletions
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 |