diff options
author | wiz <wiz@pkgsrc.org> | 2018-04-14 20:32:06 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2018-04-14 20:32:06 +0000 |
commit | fe4fa437c645f0d36f8492ac05ceaee8523c890e (patch) | |
tree | 8e80df4afdc2b13c7a2b493d879c2940412dce55 /time/khal/Makefile | |
parent | 7d3e13abec78e419814cfc556a3b3840cb6d8fe9 (diff) | |
download | pkgsrc-fe4fa437c645f0d36f8492ac05ceaee8523c890e.tar.gz |
khal: update to 0.9.8nb1.
Build and install the man page.
Diffstat (limited to 'time/khal/Makefile')
-rw-r--r-- | time/khal/Makefile | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/time/khal/Makefile b/time/khal/Makefile index b14b2fc4695..10994833fb7 100644 --- a/time/khal/Makefile +++ b/time/khal/Makefile @@ -1,6 +1,7 @@ -# $NetBSD: Makefile,v 1.23 2017/10/05 22:39:05 wiz Exp $ +# $NetBSD: Makefile,v 1.24 2018/04/14 20:32:06 wiz Exp $ DISTNAME= khal-0.9.8 +PKGREVISION= 1 CATEGORIES= time net MASTER_SITES= ${MASTER_SITE_PYPI:=k/khal/} @@ -24,27 +25,26 @@ 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 +# for the man page +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 PYTHON_VERSIONS_INCOMPATIBLE= 27 # not supported as of 0.8.0 -INSTALLATION_DIRS= share/doc/khal +INSTALLATION_DIRS= share/doc/khal ${PKGMANDIR}/man1 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-build: + cd ${WRKSRC}/doc && ${SETENV} ${MAKE_ENV} PYTHONPATH=${WRKSRC} ${GMAKE} man SPHINXBUILD=sphinx-build${PYVERSSUFFIX} post-install: ${INSTALL_DATA} ${WRKSRC}/khal.conf.sample ${DESTDIR}${PREFIX}/share/doc/khal + ${INSTALL_MAN} ${WRKSRC}/doc/build/man/khal.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 do-test: cd ${WRKSRC} && py.test-${PYVERSSUFFIX} tests |