1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-30 10:38:37 +00:00
freebsd-ports/deskutils/py-todoman/Makefile
Po-Chuan Hsieh 84a372ad5f
devel/py-python-dateutil: Move devel/py-dateutil to devel/py-python-dateutil
- Convert to USE_PYTHON=pep517
- Bump PORTREVISION of dependent ports for dependency change
- While I'm here, update audio/py-pyradio to use PYTHON_PKGNAMEPREFIX instead of PKGNAMEPREFIX for *_DEPENDS
2024-04-13 22:47:51 +08:00

43 lines
1.6 KiB
Makefile

PORTNAME= todoman
DISTVERSION= 4.1.0
PORTREVISION= 1
CATEGORIES= deskutils python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= andreas@bilke.org
COMMENT= Simple CalDAV-based todo manager
WWW= https://github.com/pimutils/todoman/
LICENSE= ISCL
LICENSE_FILE= ${WRKSRC}/LICENCE
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools-scm>0:devel/py-setuptools-scm@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}atomicwrites>0:devel/py-atomicwrites@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}click-log>=0.2.1:devel/py-click-log@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}click>=7.1<9.0:devel/py-click@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}python-dateutil>0:devel/py-python-dateutil@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}humanize>0:devel/py-humanize@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}icalendar>=4.0.3:devel/py-icalendar@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}parsedatetime>0:devel/py-parsedatetime@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}urwid>0:devel/py-urwid@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}vdirsyncer>0:deskutils/py-vdirsyncer@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}xdg>0:devel/py-xdg@${PY_FLAVOR}
USES= python
USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
PLIST_FILES= ${EXAMPLESDIR}/config.py.sample \
share/zsh/site-functions/_todoman
post-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/share/zsh/site-functions
${INSTALL_DATA} ${WRKSRC}/contrib/completion/zsh/_todo \
${STAGEDIR}${PREFIX}/share/zsh/site-functions/_todoman
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
(cd ${WRKSRC}/ && ${COPYTREE_SHARE} config.py.sample ${STAGEDIR}${EXAMPLESDIR})
.include <bsd.port.mk>