summaryrefslogtreecommitdiff
path: root/time/khal/Makefile
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2014-07-22 17:08:46 +0000
committerwiz <wiz@pkgsrc.org>2014-07-22 17:08:46 +0000
commit0a1003c67fab80041953b75ec39f72ddfcaf874e (patch)
treeb1e7267ce3782ca2d015d047403220daaec5a22a /time/khal/Makefile
parent65dd2b41cfd9af589c9f1cd7e8ed429c9c80b6ab (diff)
downloadpkgsrc-0a1003c67fab80041953b75ec39f72ddfcaf874e.tar.gz
Import khal-0.2.0 as time/khal.
Khal is a standards based CLI (console) calendar program. CalDAV compatibiliy is achieved by using vdir/vdirsyncer as a backend, allowing syncing of calendars with a variety of other programs on a host of different platforms. khal is currently in an early stage of development, has a limited feature set and is probably full of bugs. If you do try it out, please make sure you have a backup of your date and please report back any bugs you might encounter.
Diffstat (limited to 'time/khal/Makefile')
-rw-r--r--time/khal/Makefile37
1 files changed, 37 insertions, 0 deletions
diff --git a/time/khal/Makefile b/time/khal/Makefile
new file mode 100644
index 00000000000..61c175aa7b0
--- /dev/null
+++ b/time/khal/Makefile
@@ -0,0 +1,37 @@
+# $NetBSD: Makefile,v 1.1 2014/07/22 17:08:46 wiz Exp $
+
+DISTNAME= khal-0.2.0
+CATEGORIES= time net
+MASTER_SITES= -https://github.com/geier/khal/archive/${DISTNAME:S/khal-/v/}${EXTRACT_SUFX}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= https://github.com/geier/khal
+COMMENT= CLI calendar application built around CalDAV
+LICENSE= mit
+
+DEPENDS+= ${PYPKGPREFIX}-pytz-[0-9]*:../../time/py-pytz
+DEPENDS+= ${PYPKGPREFIX}-xdg>=0.17:../../devel/py-xdg
+DEPENDS+= ${PYPKGPREFIX}-icalendar>=2.0.1:../../time/py-icalendar
+DEPENDS+= ${PYPKGPREFIX}-sqlite3-[0-9]*:../../databases/py-sqlite3
+DEPENDS+= ${PYPKGPREFIX}-lxml>=2:../../textproc/py-lxml
+DEPENDS+= ${PYPKGPREFIX}-requests>=0.10:../../devel/py-requests
+# SimpleFocusListWalker is in urwid 1.1.0
+DEPENDS+= ${PYPKGPREFIX}-urwid>=1.1.0:../../devel/py-urwid
+# not needed, but recommended, so let's just depend on them
+DEPENDS+= ${PYPKGPREFIX}-keyring-[0-9]*:../../security/py-keyring
+DEPENDS+= ${PYPKGPREFIX}-setproctitle-[0-9]*:../../sysutils/py-setproctitle
+
+PYTHON_VERSIONED_DEPENDENCIES= dateutil
+PYTHON_VERSIONS_INCOMPATIBLE= 33 34 # not yet ported as of 0.2.0
+
+INSTALLATION_DIRS= share/doc/khal
+REPLACE_PYTHON+= khal/*/*.py
+REPLACE_PYTHON+= khal/*.py
+
+post-install:
+ ${INSTALL_DATA} ${WRKSRC}/khal.conf.sample ${DESTDIR}${PREFIX}/share/doc/khal
+
+.include "../../lang/python/application.mk"
+.include "../../lang/python/egg.mk"
+.include "../../lang/python/versioned_dependencies.mk"
+.include "../../mk/bsd.pkg.mk"