git: 5c31f5a0195b - main - www/ddgr: update 1.9 → 2.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 09 Mar 2022 13:57:46 UTC
The branch main has been updated by amdmi3: URL: https://cgit.FreeBSD.org/ports/commit/?id=5c31f5a0195bdc8df767ed011ed7846ca3ff3565 commit 5c31f5a0195bdc8df767ed011ed7846ca3ff3565 Author: Dmitry Marakasov <amdmi3@FreeBSD.org> AuthorDate: 2022-03-09 11:34:13 +0000 Commit: Dmitry Marakasov <amdmi3@FreeBSD.org> CommitDate: 2022-03-09 13:57:10 +0000 www/ddgr: update 1.9 → 2.0 --- www/ddgr/Makefile | 9 ++++----- www/ddgr/distinfo | 6 +++--- www/ddgr/files/patch-ddgr.1 | 31 +++++++++++++++++++++++++++++++ 3 files changed, 38 insertions(+), 8 deletions(-) diff --git a/www/ddgr/Makefile b/www/ddgr/Makefile index fc611aed9c59..6dc2b8115c9e 100644 --- a/www/ddgr/Makefile +++ b/www/ddgr/Makefile @@ -1,7 +1,6 @@ PORTNAME= ddgr -PORTVERSION= 1.9 +PORTVERSION= 2.0 DISTVERSIONPREFIX= v -PORTREVISION= 1 CATEGORIES= www MAINTAINER= amdmi3@FreeBSD.org @@ -13,14 +12,14 @@ LICENSE_FILE= ${WRKSRC}/LICENSE USE_GITHUB= yes GH_ACCOUNT= jarun -USES= python:3.5+ shebangfix +USES= python:3.6+ shebangfix SHEBANG_FILES= ${PORTNAME} NO_ARCH= yes NO_BUILD= yes PORTDOCS= README.md CHANGELOG PLIST_FILES= bin/ddgr \ - man/man1/ddgr.1.gz + share/man/man1/ddgr.1.gz OPTIONS_DEFINE= BASH ZSH FISH DOCS OPTIONS_DEFAULT=BASH ZSH FISH @@ -31,7 +30,7 @@ FISH_PLIST_FILES= share/fish/completions/ddgr.fish do-install: ${INSTALL_SCRIPT} ${WRKSRC}/ddgr ${STAGEDIR}${PREFIX}/bin - ${INSTALL_MAN} ${WRKSRC}/ddgr.1 ${STAGEDIR}${MANPREFIX}/man/man1 + ${INSTALL_MAN} ${WRKSRC}/ddgr.1 ${STAGEDIR}${MANPREFIX}/share/man/man1 do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} diff --git a/www/ddgr/distinfo b/www/ddgr/distinfo index fdc68cb3f008..501c29cf9b1b 100644 --- a/www/ddgr/distinfo +++ b/www/ddgr/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1595855086 -SHA256 (jarun-ddgr-v1.9_GH0.tar.gz) = 3dfe82fab649f1cec904a1de63f78692be329a3b6928c1615f22c76f6e21c36f -SIZE (jarun-ddgr-v1.9_GH0.tar.gz) = 44181 +TIMESTAMP = 1646821443 +SHA256 (jarun-ddgr-v2.0_GH0.tar.gz) = 7e46430b0a8c479a5feca832adb73f2f09804bf603dedc50f4cf2e1da4c75f88 +SIZE (jarun-ddgr-v2.0_GH0.tar.gz) = 44463 diff --git a/www/ddgr/files/patch-ddgr.1 b/www/ddgr/files/patch-ddgr.1 new file mode 100644 index 000000000000..a468c9fc2220 --- /dev/null +++ b/www/ddgr/files/patch-ddgr.1 @@ -0,0 +1,31 @@ +https://github.com/jarun/ddgr/pull/141 + +--- ddgr.1.orig 2022-03-05 00:23:13 UTC ++++ ddgr.1 +@@ -186,7 +186,7 @@ reverse video prompts + .TP + Note that + .IP - 2 +-Bright colors (implemented as \\x1b[90m - \\x1b[97m) may not be available in all color-capable terminal emulators; ++Bright colors (implemented as \ex1b[90m - \ex1b[97m) may not be available in all color-capable terminal emulators; + .IP - 2 + Some terminal emulators draw bold text in bright colors instead; + .IP - 2 +@@ -231,7 +231,7 @@ DuckDuckGo \fBhello world\fR: + .EX + .IP + .B ddgr !w hello world +-.B ddgr \\\\!w hello world // bash-specific, need to escape ! on bash ++.B ddgr \e!w hello world // bash-specific, need to escape ! on bash + .EE + .PP + .IP "" 4 +@@ -245,7 +245,7 @@ Bangs work at the omniprompt too. To look up bangs, vi + .B alias bang='ddgr --gb --np' + .IP + .B bang !w hello world +-.B bang \\\\!w hello world // bash-specific, need to escape ! on bash ++.B bang \e!w hello world // bash-specific, need to escape ! on bash + .EE + .PP + .IP 5. 4