pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/time/khal Add comments on how to generate the man page.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5dbd1ac24c4d
branches:  trunk
changeset: 359331:5dbd1ac24c4d
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Tue Mar 07 10:43:05 2017 +0000

description:
Add comments on how to generate the man page.

diffstat:

 time/khal/Makefile |  11 ++++++++++-
 1 files changed, 10 insertions(+), 1 deletions(-)

diffs (32 lines):

diff -r 0bef7547a778 -r 5dbd1ac24c4d time/khal/Makefile
--- a/time/khal/Makefile        Tue Mar 07 10:18:36 2017 +0000
+++ b/time/khal/Makefile        Tue Mar 07 10:43:05 2017 +0000
@@ -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}-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 @@
 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
 



Home | Main Index | Thread Index | Old Index