Index: deskutils/Makefile =================================================================== --- deskutils/Makefile +++ deskutils/Makefile @@ -231,6 +231,7 @@ SUBDIR += puush SUBDIR += py-bugwarrior SUBDIR += py-khal + SUBDIR += py-khard SUBDIR += py-pystash SUBDIR += py-send2trash SUBDIR += py-taskw Index: deskutils/py-khard/Makefile =================================================================== --- /dev/null +++ deskutils/py-khard/Makefile @@ -0,0 +1,40 @@ +# $FreeBSD$ + +PORTNAME= khard +DISTVERSION= 0.12.2 +CATEGORIES= deskutils python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= andreas@bilke.org +COMMENT= Console carddav client + +LICENSE= GPLv3 +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>1.12.0:devel/py-setuptools_scm@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}atomicwrites>=0.1.7:devel/py-atomicwrites@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}configobj>=5.0.6:devel/py-configobj@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}ruamel.yaml>=0.15:devel/py-ruamel.yaml@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}unidecode>=0.04.21:converters/py-unidecode@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}vdirsyncer>=0:deskutils/py-vdirsyncer@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}vobject>=0.9.5:deskutils/py-vobject@${PY_FLAVOR} + +USES= python:3.4+ +USE_PYTHON= autoplist distutils +NO_ARCH= yes + +PLIST_FILES= share/zsh/site-functions/_khard \ + ${EXAMPLESDIR}/khard.conf.example \ + ${EXAMPLESDIR}/template_for_contact_creation.yaml + +SUB_FILES= pkg-message + +post-install: + @${MKDIR} ${STAGEDIR}${PREFIX}/share/zsh/site-functions + ${INSTALL_DATA} ${WRKSRC}/misc/zsh/_khard \ + ${STAGEDIR}${PREFIX}/share/zsh/site-functions + ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + (cd ${WRKSRC}/misc/khard/ && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}) + +.include Index: deskutils/py-khard/distinfo =================================================================== --- /dev/null +++ deskutils/py-khard/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1528305405 +SHA256 (khard-0.12.2.tar.gz) = 9193d2d07cdb69cc6e35a0732111efb92bbfba854a1dd42b4f9c91a52a16c507 +SIZE (khard-0.12.2.tar.gz) = 5064055 Index: deskutils/py-khard/files/pkg-message.in =================================================================== --- /dev/null +++ deskutils/py-khard/files/pkg-message.in @@ -0,0 +1,7 @@ +====================================================================== + +Copy the example configuration from +%%PREFIX%%/share/examples/khard/khard.conf.example to +$XDG_CONFIG_HOME/khard/khard.conf + +====================================================================== Index: deskutils/py-khard/pkg-descr =================================================================== --- /dev/null +++ deskutils/py-khard/pkg-descr @@ -0,0 +1,5 @@ +Khard is an address book for the console. It creates, reads, modifies and +removes carddav address book entries at your local machine. Khard is also +compatible to the email clients mutt and alot and the SIP client twinkle. + +WWW: https://github.com/scheibler/khard/