blob: ba8c7a9e5ee52faa38f7576a58f8ecad5cc43c49 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# $NetBSD: Makefile,v 1.17 2019/04/25 07:33:07 maya Exp $
DISTNAME= khard-0.13.0
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"
|