diff --git a/deskutils/todo/Makefile b/deskutils/todo/Makefile index dcb5ef438d9d..e48fd205594a 100644 --- a/deskutils/todo/Makefile +++ b/deskutils/todo/Makefile @@ -1,37 +1,36 @@ PORTNAME= todo -PORTVERSION= 2.13.0 -PORTREVISION= 1 +PORTVERSION= 2.14.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.sh \ etc/todo.cfg \ etc/bash_completion.d/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.sh ${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 diff --git a/deskutils/todo/distinfo b/deskutils/todo/distinfo index 0340a073b236..2189c0d6f8e1 100644 --- a/deskutils/todo/distinfo +++ b/deskutils/todo/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1735227788 -SHA256 (todo.txt_cli-2.13.0.tar.gz) = d3b925434029aac212213c103fb6573a4f960c74dd467a3efac9bd9afe89d15f -SIZE (todo.txt_cli-2.13.0.tar.gz) = 16156 +TIMESTAMP = 1788499908 +SHA256 (todo.txt_cli-2.14.0.tar.gz) = 71a703ecbf79a163f1aa9b831e7ea0e6036cdbb06fdfc6b5c3502b627efb873d +SIZE (todo.txt_cli-2.14.0.tar.gz) = 16817 diff --git a/deskutils/todo/files/patch-todo.sh b/deskutils/todo/files/patch-todo.sh index 794b6c7923bd..81325b23302e 100644 --- a/deskutils/todo/files/patch-todo.sh +++ b/deskutils/todo/files/patch-todo.sh @@ -1,11 +1,13 @@ ---- todo.sh.orig 2020-08-12 04:44:46 UTC +% sed -i .orig 's|/etc/todo/config|%%PREFIX%%&|' todo.sh + +--- todo.sh.orig 2026-09-01 17:18:36 UTC +++ todo.sh -@@ -622,7 +622,7 @@ TODOTXT_DEFAULT_ACTION=${TODOTXT_DEFAULT_ACTION:-} +@@ -666,7 +666,7 @@ TODOTXT_FINAL_FILTER=${TODOTXT_FINAL_FILTER:-cat} TODOTXT_SORT_COMMAND=${TODOTXT_SORT_COMMAND:-env LC_COLLATE=C sort -f -k2} TODOTXT_DISABLE_FILTER=${TODOTXT_DISABLE_FILTER:-} TODOTXT_FINAL_FILTER=${TODOTXT_FINAL_FILTER:-cat} -TODOTXT_GLOBAL_CFG_FILE=${TODOTXT_GLOBAL_CFG_FILE:-/etc/todo/config} -+TODOTXT_GLOBAL_CFG_FILE=${TODOTXT_GLOBAL_CFG_FILE:-%%PREFIX%%/etc/todo.cfg} - TODOTXT_SIGIL_BEFORE_PATTERN=${TODOTXT_SIGIL_BEFORE_PATTERN:-} # Allow any other non-whitespace entity before +project and @context; should be an optional match; example: \(w:\)\{0,1\} to allow w:@context. - TODOTXT_SIGIL_VALID_PATTERN=${TODOTXT_SIGIL_VALID_PATTERN:-.*} # Limit the valid characters (from the default any non-whitespace sequence) for +project and @context; example: [a-zA-Z]\{3,\} to only allow alphabetic ones that are at least three characters long. - TODOTXT_SIGIL_AFTER_PATTERN=${TODOTXT_SIGIL_AFTER_PATTERN:-} # Allow any other non-whitespace entity after +project and @context; should be an optional match; example: )\{0,1\} to allow (with the corresponding TODOTXT_SIGIL_BEFORE_PATTERN) enclosing in parentheses. ++TODOTXT_GLOBAL_CFG_FILE=${TODOTXT_GLOBAL_CFG_FILE:-%%PREFIX%%/etc/todo/config} + TODOTXT_SIGIL_BEFORE_PATTERN=${TODOTXT_SIGIL_BEFORE_PATTERN:-} # Allow any other non-whitespace entity before +project and @context; should be an optional match; example: \(w:\)\{0,1\} to allow w:@context. + TODOTXT_SIGIL_VALID_PATTERN=${TODOTXT_SIGIL_VALID_PATTERN:-.*} # Limit the valid characters (from the default any non-whitespace sequence) for +project and @context; example: [a-zA-Z]\{3,\} to only allow alphabetic ones that are at least three characters long. + TODOTXT_SIGIL_AFTER_PATTERN=${TODOTXT_SIGIL_AFTER_PATTERN:-} # Allow any other non-whitespace entity after +project and @context; should be an optional match; example: )\{0,1\} to allow (with the corresponding TODOTXT_SIGIL_BEFORE_PATTERN) enclosing in parentheses.