mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-16 03:24:07 +00:00
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)
This commit is contained in:
parent
bb5196a149
commit
25fae17790
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=458514
@ -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>
|
||||
|
@ -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
|
||||
|
@ -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 {
|
||||
|
@ -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/
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user