mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-22 04:17:44 +00:00
37 lines
842 B
Makefile
37 lines
842 B
Makefile
# Created by: ijliao
|
|
|
|
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
|
|
|
|
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
|
|
|
|
# bin/todo
|
|
CONFLICTS_INSTALL= deforaos-todo devtodo
|
|
|
|
SHEBANG_FILES= todo.sh todo_completion
|
|
|
|
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>
|