mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-19 00:13:33 +00:00
39 lines
969 B
Makefile
39 lines
969 B
Makefile
PORTNAME= todo
|
|
PORTVERSION= 2.12.0
|
|
CATEGORIES= deskutils
|
|
MASTER_SITES= https://github.com/todotxt/todo.txt-cli/releases/download/v${PORTVERSION}/
|
|
DISTNAME= todo.txt_cli-${PORTVERSION}
|
|
|
|
MAINTAINER= sunpoet@FreeBSD.org
|
|
COMMENT= Todo.txt Manager
|
|
WWW= http://todotxt.org/ \
|
|
https://github.com/todotxt/todo.txt-cli
|
|
|
|
LICENSE= GPLv3
|
|
|
|
RUN_DEPENDS= bash:shells/bash
|
|
|
|
USES= shebangfix
|
|
|
|
NO_ARCH= yes
|
|
NO_BUILD= yes
|
|
|
|
PLIST_FILES= bin/todo \
|
|
etc/todo.cfg \
|
|
etc/bash_completion.d/todo
|
|
|
|
CONFLICTS_INSTALL= deforaos-todo devtodo # bin/todo
|
|
|
|
SHEBANG_FILES= todo.sh todo_completion
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|' ${WRKSRC}/todo.sh
|
|
|
|
do-install:
|
|
${INSTALL_SCRIPT} ${WRKSRC}/todo.sh ${STAGEDIR}${PREFIX}/bin/todo
|
|
${INSTALL_DATA} ${WRKSRC}/todo.cfg ${STAGEDIR}${PREFIX}/etc/todo.cfg
|
|
${MKDIR} ${STAGEDIR}${PREFIX}/etc/bash_completion.d/
|
|
${INSTALL_DATA} ${WRKSRC}/todo_completion ${STAGEDIR}${PREFIX}/etc/bash_completion.d/todo
|
|
|
|
.include <bsd.port.mk>
|