missing (versioned) dependencies. This version works with the current deskutils/py-vdirsyncer. - Also switch to DISTVERSION - Minor fixes in Makefile, alphabetizing - Updated dependencies - Optional (non-default) dependency on setproctitle Move maintainership from upstream to lbdm. PR: 221736 224732 Submitted by: lbdm@privacychain.ch Reviewed by: che@bein.link (maintainer) adridg Approved by: tcberner (mentor) Differential Revision: https://reviews.freebsd.org/D13432
47 lines
1.6 KiB
Makefile
47 lines
1.6 KiB
Makefile
# Created by: che@bein.link
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= khal
|
|
DISTVERSION= 0.9.8
|
|
CATEGORIES= deskutils python
|
|
MASTER_SITES= CHEESESHOP
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= lbdm@privacychain.ch
|
|
COMMENT= CalDAV-based calendar
|
|
|
|
LICENSE= MIT
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>1.12.0:devel/py-setuptools_scm@${FLAVOR}
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}atomicwrites>=0.1.7:devel/py-atomicwrites@${FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}click>=3.2:devel/py-click@${FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}click-log>=0.2.0:devel/py-click-log@${FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}configobj>=0:devel/py-configobj@${FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}dateutil>=0:devel/py-dateutil@${FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}icalendar>=3.11.7:devel/py-icalendar@${FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}pytz>=0:devel/py-pytz@${FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}tzlocal>=1.0:devel/py-tzlocal@${FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}urwid>=0:devel/py-urwid@${FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}vdirsyncer>=0:deskutils/py-vdirsyncer@${FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}xdg>=0:devel/py-xdg@${FLAVOR}
|
|
|
|
USES= python:3.4+
|
|
USE_PYTHON= autoplist distutils
|
|
|
|
NO_ARCH= yes
|
|
|
|
OPTIONS_DEFINE= SETPROCTITLE
|
|
|
|
SETPROCTITLE_DESC= Set the process title
|
|
SETPROCTITLE_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setproctitle>=0:devel/py-setproctitle@${FLAVOR}
|
|
|
|
PLIST_FILES= share/zsh/site-functions/__khal
|
|
|
|
post-install:
|
|
@${MKDIR} ${STAGEDIR}${PREFIX}/share/zsh/site-functions
|
|
${INSTALL_DATA} ${WRKSRC}/misc/__khal \
|
|
${STAGEDIR}${PREFIX}/share/zsh/site-functions
|
|
|
|
.include <bsd.port.mk>
|