pkgsrc/misc/khard/Makefile

33 lines
1.2 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.15 2018/04/14 15:15:55 wiz Exp $
DISTNAME= khard-0.12.2
PKGREVISION= 1
CATEGORIES= misc net
Updated khard to 0.9.0. v0.5.0: 2015.09.05 - New option to merge two contacts - Support for XDG_CONFIG_HOME parameter - Post address: Added support for street and house number field with multiple lines v0.6.0: 2015.09.20 - New options copy contact and move contact - Changed behavior of merge command (have a look into the readme file for details) - Get path to editor and merge editor from the $PATH variable - Code cleanup: new object class AddressBook v0.6.1: 2015.10.06 - Added title and role attribute - Removed input restrictions of name and post address fields - Parameter default_country in config file is not longer in use v0.6.2: 2015.10.10 - Added completion function for zsh v0.6.3: 2015.10.24 - Added note attribute v0.7.0: 2015.12.18 - Support for vobject library version >= 0.8.2 from https://github.com/tBaxter/vobject - Contact template syntax switched to yaml - alot and mutt actions summarized to new email action (please have a look into the readme file for configuration changes) - Support for extended name attributes - Create and modify contact from stdin or from template file - New action "export" to export data of existing contact in yaml format - New argument --open-editor to open the preferred text editor after successful creation of new contact from stdin or template file - New argument {-u, --uid} to select contact by uid - Added write support for categories attribute - Added wrapper script for sdiff - Fixed a bug, which prevented the creation of new contacts with the add-email action v0.7.1: 2016.01.01 - Added support for multiple instances of one vcard attribute v0.7.2: 2016.01.03 - Use of module atomicwrites to securely write vcards to disk v0.7.3: 2016.01.08 - Cancel without further actions if the opened contacts editor is closed without saving (determined by modification date of template file) v0.7.4: 2016.01.11 - Fixed uid dictionary creation v0.8.0: 2016.01.15 - Sort contact table by first or last name (take note of changed behaviour of "sort" option) - New option -g, --group-by-addressbook to group contact table by address book - Changes in config file: - New group: contact table - new option: sort to sort contact table by first or last name - New option: group_by_addressbook to group contact table by address book - Moved show_nicknames option from group "general" to group "contact table" v0.8.1: 2016.01.16 - New option "show_uids" in config file to disable uid column in contact table v0.9.0: 2016.03.17 - Fully restructured command line interface for better usability: - general help with: khard -h - help for a specific action: khard action -h - Updated zsh completion function - New Action addressbooks - New option -p|--pretty for email and phone actions to get pretty formatted output - Fix: Only delete contact after modify, copy or move action was completed successfully
2016-06-06 14:28:37 +02:00
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:
Updated khard to 0.9.0. v0.5.0: 2015.09.05 - New option to merge two contacts - Support for XDG_CONFIG_HOME parameter - Post address: Added support for street and house number field with multiple lines v0.6.0: 2015.09.20 - New options copy contact and move contact - Changed behavior of merge command (have a look into the readme file for details) - Get path to editor and merge editor from the $PATH variable - Code cleanup: new object class AddressBook v0.6.1: 2015.10.06 - Added title and role attribute - Removed input restrictions of name and post address fields - Parameter default_country in config file is not longer in use v0.6.2: 2015.10.10 - Added completion function for zsh v0.6.3: 2015.10.24 - Added note attribute v0.7.0: 2015.12.18 - Support for vobject library version >= 0.8.2 from https://github.com/tBaxter/vobject - Contact template syntax switched to yaml - alot and mutt actions summarized to new email action (please have a look into the readme file for configuration changes) - Support for extended name attributes - Create and modify contact from stdin or from template file - New action "export" to export data of existing contact in yaml format - New argument --open-editor to open the preferred text editor after successful creation of new contact from stdin or template file - New argument {-u, --uid} to select contact by uid - Added write support for categories attribute - Added wrapper script for sdiff - Fixed a bug, which prevented the creation of new contacts with the add-email action v0.7.1: 2016.01.01 - Added support for multiple instances of one vcard attribute v0.7.2: 2016.01.03 - Use of module atomicwrites to securely write vcards to disk v0.7.3: 2016.01.08 - Cancel without further actions if the opened contacts editor is closed without saving (determined by modification date of template file) v0.7.4: 2016.01.11 - Fixed uid dictionary creation v0.8.0: 2016.01.15 - Sort contact table by first or last name (take note of changed behaviour of "sort" option) - New option -g, --group-by-addressbook to group contact table by address book - Changes in config file: - New group: contact table - new option: sort to sort contact table by first or last name - New option: group_by_addressbook to group contact table by address book - Moved show_nicknames option from group "general" to group "contact table" v0.8.1: 2016.01.16 - New option "show_uids" in config file to disable uid column in contact table v0.9.0: 2016.03.17 - Fully restructured command line interface for better usability: - general help with: khard -h - help for a specific action: khard action -h - Updated zsh completion function - New Action addressbooks - New option -p|--pretty for email and phone actions to get pretty formatted output - Fix: Only delete contact after modify, copy or move action was completed successfully
2016-06-06 14:28:37 +02:00
${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"