diff options
author | wiz <wiz@pkgsrc.org> | 2019-07-21 21:11:37 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2019-07-21 21:11:37 +0000 |
commit | 83fcf80a570a1b07998070f3dd8289a84e638af1 (patch) | |
tree | 545b0195813764976279f602134ff6dc7e457f57 /misc | |
parent | 42f4e243097dfaca2b1703e6d722f3778af7519d (diff) | |
download | pkgsrc-83fcf80a570a1b07998070f3dd8289a84e638af1.tar.gz |
khard: build and install man page.
Bump PKGREVISION.
Diffstat (limited to 'misc')
-rw-r--r-- | misc/khard/Makefile | 12 | ||||
-rw-r--r-- | misc/khard/PLIST | 3 |
2 files changed, 11 insertions, 4 deletions
diff --git a/misc/khard/Makefile b/misc/khard/Makefile index b1fb751a3f7..c8fca2a15bf 100644 --- a/misc/khard/Makefile +++ b/misc/khard/Makefile @@ -1,6 +1,7 @@ -# $NetBSD: Makefile,v 1.18 2019/07/21 08:50:44 wiz Exp $ +# $NetBSD: Makefile,v 1.19 2019/07/21 21:11:37 wiz Exp $ DISTNAME= khard-0.14.0 +PKGREVISION= 1 CATEGORIES= misc net # 0.14.0 is missing on pypi: https://github.com/scheibler/khard/issues/215 #MASTER_SITES= ${MASTER_SITE_PYPI:=k/khard/} @@ -17,16 +18,21 @@ DEPENDS+= ${PYPKGPREFIX}-configobj-[0-9]*:../../devel/py-configobj DEPENDS+= ${PYPKGPREFIX}-ruamel-yaml-[0-9]*:../../devel/py-ruamel-yaml DEPENDS+= ${PYPKGPREFIX}-Unidecode-[0-9]*:../../textproc/py-Unidecode DEPENDS+= ${PYPKGPREFIX}-vobject>=0.9.4:../../textproc/py-vobject -#TOOL_DEPENDS+= ${PYPKGPREFIX}-sphinx-[0-9]*:../../textproc/py-sphinx +TOOL_DEPENDS+= ${PYPKGPREFIX}-sphinx-[0-9]*:../../textproc/py-sphinx PYTHON_VERSIONS_INCOMPATIBLE= 27 # does not support python-2.x any longer -INSTALLATION_DIRS= share/examples/khard +INSTALLATION_DIRS= share/examples/khard ${PKGMANDIR}/man1 REPLACE_PYTHON+= */*.py +USE_TOOLS+= gmake + +pre-build: + cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${GMAKE} -C doc SPHINXBUILD=sphinx-build${PYVERSSUFFIX} man post-install: ${INSTALL_DATA} ${WRKSRC}/misc/khard/khard.conf.example ${DESTDIR}${PREFIX}/share/examples/khard cd ${DESTDIR}${PREFIX}/bin && ${MV} khard khard-${PYVERSSUFFIX} + ${INSTALL_DATA} ${WRKSRC}/doc/build/man/khard.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 .include "../../lang/python/application.mk" .include "../../lang/python/egg.mk" diff --git a/misc/khard/PLIST b/misc/khard/PLIST index d1947292ae1..09fbe27416c 100644 --- a/misc/khard/PLIST +++ b/misc/khard/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.4 2016/08/27 15:50:47 wiz Exp $ +@comment $NetBSD: PLIST,v 1.5 2019/07/21 21:11:37 wiz Exp $ bin/khard-${PYVERSSUFFIX} ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt @@ -36,4 +36,5 @@ ${PYSITELIB}/khard/object_type.pyo ${PYSITELIB}/khard/version.py ${PYSITELIB}/khard/version.pyc ${PYSITELIB}/khard/version.pyo +man/man1/khard.1 share/examples/khard/khard.conf.example |