diff options
author | tobik <tobik@FreeBSD.org> | 2018-01-09 15:54:15 +0800 |
---|---|---|
committer | tobik <tobik@FreeBSD.org> | 2018-01-09 15:54:15 +0800 |
commit | e89731ac7555355ff850fcbeeb09669db78737f0 (patch) | |
tree | 2942750cce0f14ddc3d698a4600db4eb28a73f9b | |
parent | 9383586309dec014705390cfb7dcbc875260bcd6 (diff) | |
download | freebsd-ports-gnome-e89731ac7555355ff850fcbeeb09669db78737f0.tar.gz freebsd-ports-gnome-e89731ac7555355ff850fcbeeb09669db78737f0.tar.zst freebsd-ports-gnome-e89731ac7555355ff850fcbeeb09669db78737f0.zip |
www/newsboat: Update to 2.10.2
- Install manpages
- Update pkg-descr: newsbeuter -> newsboat
- Remove PODCAST option. Podboat is always built and has no extra
dependencies, so we might as well always install it.
- Remove all post-patch cruft that does nothing anymore
- Perl isn't used during the build anymore, so remove it.
PR: 223784
Submitted by: mt@markoturk.info (maintainer, based on)
-rw-r--r-- | www/newsboat/Makefile | 27 | ||||
-rw-r--r-- | www/newsboat/distinfo | 6 | ||||
-rw-r--r-- | www/newsboat/files/patch-include-matcher.h | 8 | ||||
-rw-r--r-- | www/newsboat/pkg-descr | 6 | ||||
-rw-r--r-- | www/newsboat/pkg-plist | 10 |
5 files changed, 26 insertions, 31 deletions
diff --git a/www/newsboat/Makefile b/www/newsboat/Makefile index 311bb8b840f8..a89dc0fdea49 100644 --- a/www/newsboat/Makefile +++ b/www/newsboat/Makefile @@ -2,9 +2,8 @@ # $FreeBSD$ PORTNAME= newsboat -PORTVERSION= 2.10.1 +PORTVERSION= 2.10.2 DISTVERSIONPREFIX= r -PORTREVISION= 1 CATEGORIES= www MAINTAINER= mt@markoturk.info @@ -13,40 +12,28 @@ COMMENT= RSS feed reader for the text console LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE +BUILD_DEPENDS= a2x:textproc/asciidoc LIB_DEPENDS= libstfl.so:devel/stfl \ libcurl.so:ftp/curl \ libjson-c.so:devel/json-c -OPTIONS_DEFINE= PODCAST -OPTIONS_DEFAULT=PODCAST -OPTIONS_SUB= yes -PODCAST_DESC= Podcast client (podbeuter) - -USES= compiler:c++11-lib gettext gmake iconv:translit ncurses perl5 \ +USES= compiler:c++11-lib gettext gmake iconv:translit ncurses \ pkgconfig sqlite shebangfix ssl USE_GITHUB= yes USE_CXXSTD= gnu++11 -USE_PERL5= build -SHEBANG_FILES= txt2h.pl USE_GNOME= libxml2 -.include <bsd.port.pre.mk> +MAKE_ARGS= mandir=${PREFIX}/man prefix=${PREFIX} + +OPTIONS_DEFINE= DOCS post-patch: - ${REINPLACE_CMD} -e "s,share/man,man,; \ - /^prefix/s|=.*|=${PREFIX}|; /^CXX=/d; \ - s|/usr/local|${LOCALBASE}|" \ - ${WRKSRC}/Makefile - ${REINPLACE_CMD} -e 's,<ncursesw/ncurses.h>,<ncurses.h>,' \ - ${WRKSRC}/src/controller.cpp ${WRKSRC}/src/view.cpp ${REINPLACE_CMD} -e 's,fail "ncursesw",true,; s,fail "libcrypto",true,' \ ${WRKSRC}/config.sh ${REINPLACE_CMD} -e 's|-liconv|${ICONV_LIB} -lcrypto -lncursesw|;s|-Werror||' \ ${WRKSRC}/Makefile - ${REINPLACE_CMD} -e 's|LDFLAGS+=-L. -fprofile-arcs -ftest-coverage|LDFLAGS+=-L.|' \ - ${WRKSRC}/Makefile post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/*boat -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/www/newsboat/distinfo b/www/newsboat/distinfo index acb718c73f19..161946037d93 100644 --- a/www/newsboat/distinfo +++ b/www/newsboat/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1510573019 -SHA256 (newsboat-newsboat-r2.10.1_GH0.tar.gz) = 82d5e3e2a6dab845aac0bf72580f46c2756375d49214905a627284e5bc32e327 -SIZE (newsboat-newsboat-r2.10.1_GH0.tar.gz) = 500250 +TIMESTAMP = 1514654826 +SHA256 (newsboat-newsboat-r2.10.2_GH0.tar.gz) = e548596d3a263369210890f46f146a6a398bd2b1973f94167e5614dee58ab7aa +SIZE (newsboat-newsboat-r2.10.2_GH0.tar.gz) = 514202 diff --git a/www/newsboat/files/patch-include-matcher.h b/www/newsboat/files/patch-include-matcher.h index b95e2c1844a4..10b6e5c50f3e 100644 --- a/www/newsboat/files/patch-include-matcher.h +++ b/www/newsboat/files/patch-include-matcher.h @@ -1,5 +1,5 @@ ---- include/matcher.h.orig 2014-02-02 16:00:13.000000000 +0100 -+++ include/matcher.h 2014-02-02 16:00:19.000000000 +0100 +--- include/matcher.h.orig 2017-12-25 17:41:10 UTC ++++ include/matcher.h @@ -3,6 +3,10 @@ #include <FilterParser.h> @@ -8,6 +8,6 @@ +namespace std { namespace tr1 = std; } +#endif + - namespace newsbeuter { + namespace newsboat { - class matchable { + class matchable { diff --git a/www/newsboat/pkg-descr b/www/newsboat/pkg-descr index 53b35ea948ee..fec23eedd0ae 100644 --- a/www/newsboat/pkg-descr +++ b/www/newsboat/pkg-descr @@ -1,3 +1,5 @@ -Newsbeuter is an RSS feed reader for the text console. +Newsboat is a fork of Newsbeuter, an RSS/Atom feed reader for the text console. +The only difference is that Newsboat is actively maintained while Newsbeuter +isn't. -WWW: http://newsbeuter.org/ +WWW: https://newsboat.org/ diff --git a/www/newsboat/pkg-plist b/www/newsboat/pkg-plist index 5ec21b832dd4..2fe086acc040 100644 --- a/www/newsboat/pkg-plist +++ b/www/newsboat/pkg-plist @@ -1,5 +1,11 @@ bin/newsboat -%%PODCAST%%bin/podboat +bin/podboat +man/man1/newsboat.1.gz +man/man1/podboat.1.gz +%%PORTDOCS%%%%DOCSDIR%%/docbook-xsl.css +%%PORTDOCS%%%%DOCSDIR%%/examples/config +%%PORTDOCS%%%%DOCSDIR%%/faq.html +%%PORTDOCS%%%%DOCSDIR%%/newsboat.html share/locale/ca/LC_MESSAGES/newsboat.mo share/locale/de/LC_MESSAGES/newsboat.mo share/locale/es/LC_MESSAGES/newsboat.mo @@ -13,9 +19,9 @@ share/locale/nl/LC_MESSAGES/newsboat.mo share/locale/pl/LC_MESSAGES/newsboat.mo share/locale/pt_BR/LC_MESSAGES/newsboat.mo share/locale/ru/LC_MESSAGES/newsboat.mo +share/locale/sk/LC_MESSAGES/newsboat.mo share/locale/sv/LC_MESSAGES/newsboat.mo share/locale/tr/LC_MESSAGES/newsboat.mo share/locale/uk/LC_MESSAGES/newsboat.mo share/locale/zh/LC_MESSAGES/newsboat.mo share/locale/zh_TW/LC_MESSAGES/newsboat.mo -share/doc/newsboat/examples/config |