Date: Thu, 10 Mar 2022 11:57:45 GMT From: Dmitry Marakasov <amdmi3@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 79b02f62ea39 - main - www/wget2: fix manpage generation Message-ID: <202203101157.22ABvjNN072063@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by amdmi3: URL: https://cgit.FreeBSD.org/ports/commit/?id=79b02f62ea39ad26b3ed746d7c8c3bca97e59885 commit 79b02f62ea39ad26b3ed746d7c8c3bca97e59885 Author: Dmitry Marakasov <amdmi3@FreeBSD.org> AuthorDate: 2022-03-09 19:57:17 +0000 Commit: Dmitry Marakasov <amdmi3@FreeBSD.org> CommitDate: 2022-03-10 11:22:56 +0000 www/wget2: fix manpage generation PR: 26126 Reported by: yonas.yanfa@gmail.com --- www/wget2/Makefile | 5 +++-- www/wget2/files/patch-docs_wget2__md2man.sh.in | 9 +++++++++ 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/www/wget2/Makefile b/www/wget2/Makefile index 7c101c7368ec..fad00175dd48 100644 --- a/www/wget2/Makefile +++ b/www/wget2/Makefile @@ -1,6 +1,6 @@ PORTNAME= wget2 DISTVERSION= 2.0.0 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= www MASTER_SITES= GNU/wget @@ -30,7 +30,8 @@ OPTIONS_SUB= yes IDN_LIB_DEPENDS= libidn2.so:dns/libidn2 IDN_CONFIGURE_WITH= libidn2 -MANPAGES_BUILD_DEPENDS= pandoc:textproc/hs-pandoc +MANPAGES_BUILD_DEPENDS= pandoc:textproc/hs-pandoc \ + gsed:textproc/gsed DOXYGEN_BUILD_DEPENDS= doxygen:devel/doxygen diff --git a/www/wget2/files/patch-docs_wget2__md2man.sh.in b/www/wget2/files/patch-docs_wget2__md2man.sh.in new file mode 100644 index 000000000000..1456388beb0f --- /dev/null +++ b/www/wget2/files/patch-docs_wget2__md2man.sh.in @@ -0,0 +1,9 @@ +--- docs/wget2_md2man.sh.in.orig 2021-08-21 17:47:39 UTC ++++ docs/wget2_md2man.sh.in +@@ -11,5 +11,5 @@ set -e + echo "" + cat "$1" + ) | \ +-sed '/# Wget2/,/^#/{/^# </!d}' | \ ++gsed '/# Wget2/,/^#/{/^# </!d}' | \ + $PANDOC -s -f markdown -t man -o "$2"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202203101157.22ABvjNN072063>