summaryrefslogtreecommitdiff
path: root/time
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2017-03-07 10:43:05 +0000
committerwiz <wiz@pkgsrc.org>2017-03-07 10:43:05 +0000
commit49563bb198889fd3f8f31c9659d53f11c32d601e (patch)
tree8c7750a6aa82a45fbe4f49becc0715c67f8b3522 /time
parent39b77da53ef0e176b8cde9da38ad5ec3accd9d19 (diff)
downloadpkgsrc-49563bb198889fd3f8f31c9659d53f11c32d601e.tar.gz
Add comments on how to generate the man page.
Diffstat (limited to 'time')
-rw-r--r--time/khal/Makefile11
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