pkgsrc-Changes archive

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

CVS commit: pkgsrc/misc/khard



Module Name:    pkgsrc
Committed By:   wiz
Date:           Sun Jul 21 21:11:37 UTC 2019

Modified Files:
        pkgsrc/misc/khard: Makefile PLIST

Log Message:
khard: build and install man page.

Bump PKGREVISION.


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 pkgsrc/misc/khard/Makefile
cvs rdiff -u -r1.4 -r1.5 pkgsrc/misc/khard/PLIST

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/misc/khard/Makefile
diff -u pkgsrc/misc/khard/Makefile:1.18 pkgsrc/misc/khard/Makefile:1.19
--- pkgsrc/misc/khard/Makefile:1.18     Sun Jul 21 08:50:44 2019
+++ pkgsrc/misc/khard/Makefile  Sun Jul 21 21:11:37 2019
@@ -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
 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"

Index: pkgsrc/misc/khard/PLIST
diff -u pkgsrc/misc/khard/PLIST:1.4 pkgsrc/misc/khard/PLIST:1.5
--- pkgsrc/misc/khard/PLIST:1.4 Sat Aug 27 15:50:47 2016
+++ pkgsrc/misc/khard/PLIST     Sun Jul 21 21:11:37 2019
@@ -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



Home | Main Index | Thread Index | Old Index