pkgsrc/misc/khard/Makefile
wiz 745d160e5f khard: update to 0.12.2nb1.
Update list of dependencies.
2018-04-14 15:15:55 +00:00

32 lines
1.2 KiB
Makefile

# $NetBSD: Makefile,v 1.15 2018/04/14 15:15:55 wiz Exp $
DISTNAME= khard-0.12.2
PKGREVISION= 1
CATEGORIES= misc net
MASTER_SITES= ${MASTER_SITE_PYPI:=k/khard/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://github.com/scheibler/khard
COMMENT= CLI contacts application built around CardDAV
LICENSE= gnu-gpl-v3
#DEPENDS+= ${PYPKGPREFIX}-argparse-[0-9]*:../../devel/py-argparse
#DEPENDS+= ${PYPKGPREFIX}-yaml-[0-9]*:../../textproc/py-yaml
DEPENDS+= ${PYPKGPREFIX}-atomicwrites-[0-9]*:../../devel/py-atomicwrites
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
PYTHON_VERSIONS_INCOMPATIBLE= 27 # does not support python-2.x any longer
INSTALLATION_DIRS= share/examples/khard
REPLACE_PYTHON+= */*.py
post-install:
${INSTALL_DATA} ${WRKSRC}/misc/khard/khard.conf.example ${DESTDIR}${PREFIX}/share/examples/khard
cd ${DESTDIR}${PREFIX}/bin && ${MV} khard khard-${PYVERSSUFFIX}
.include "../../lang/python/application.mk"
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"