View | Details | Raw Unified | Return to bug 223290 | Differences between
and this patch

Collapse All | Expand All

(-)www/newsboat/Makefile (+54 lines)
Line 0 Link Here
1
# Created by: Marko Turk <mt@markoturk.info>
2
# $FreeBSD$
3
4
PORTNAME=	newsboat
5
PORTVERSION=	2.10.1
6
CATEGORIES=	www
7
PKGNAMESUFFIX=
8
9
USE_GITHUB=	yes
10
GH_ACCOUNT=	newsboat
11
GH_PROJECT=	newsboat
12
GH_TAGNAME=	ce18285a103961427b4aeebbbaf3d926f33e6b9d
13
14
MAINTAINER=	mt@markoturk.info
15
COMMENT=	RSS feed reader for the text console
16
17
LICENSE=	MIT
18
LICENSE_FILE=	${WRKSRC}/LICENSE
19
20
BUILD_DEPENDS=	a2x:textproc/asciidoc
21
22
LIB_DEPENDS=	libstfl.so:devel/stfl \
23
		libcurl.so:ftp/curl \
24
		libjson-c.so:devel/json-c
25
26
MAKE_ARGS=	all doc
27
28
OPTIONS_DEFINE=	PODCAST
29
OPTIONS_DEFAULT=PODCAST
30
OPTIONS_SUB=	yes
31
PODCAST_DESC=	Podcast client (podboat)
32
33
USES=		compiler:c++11-lib gettext gmake iconv:translit ncurses perl5 \
34
		pkgconfig sqlite shebangfix ssl
35
USE_CXXSTD=	gnu++11
36
USE_PERL5=	build
37
USE_GNOME=	libxml2
38
39
.include <bsd.port.pre.mk>
40
41
post-patch:
42
	${REINPLACE_CMD} -e "s,share/man,man,; \
43
			/^prefix/s|=.*|=${PREFIX}|; /^CXX=/d; \
44
			s|/usr/local|${LOCALBASE}|; s|ruby1.8|ruby18|" \
45
				${WRKSRC}/Makefile
46
	${REINPLACE_CMD} -e 's,fail "ncursesw",true,; s,fail "libcrypto",true,' \
47
		${WRKSRC}/config.sh
48
	${REINPLACE_CMD} -e 's|-liconv|${ICONV_LIB} -lcrypto -lncursesw|' \
49
		${WRKSRC}/Makefile
50
51
post-install:
52
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/*boat
53
54
.include <bsd.port.post.mk>
(-)www/newsboat/distinfo (+2 lines)
Line 0 Link Here
1
SHA256 (newsboat-newsboat-2.10.1-ce18285a103961427b4aeebbbaf3d926f33e6b9d_GH0.tar.gz) = d5e6b6d76ae09bd116a9d29a6e14e2442285dc2a0207ea104de63434fb8adc1c
2
SIZE (newsboat-newsboat-2.10.1-ce18285a103961427b4aeebbbaf3d926f33e6b9d_GH0.tar.gz) = 498390
(-)www/newsboat/files/patch-Makefile (+11 lines)
Line 0 Link Here
1
--- Makefile.orig	2017-11-05 12:17:03.587477000 +0000
2
+++ Makefile	2017-11-05 12:17:18.173524000 +0000
3
@@ -18,7 +18,7 @@ GIT_HASH:=$(shell git describe --abbrev=
4
 DEFINES+=-DGIT_HASH=\"$(GIT_HASH)\"
5
 endif
6
 
7
-WARNFLAGS=-Werror -Wall -Wextra -Wunreachable-code
8
+WARNFLAGS=-Wall -Wextra -Wunreachable-code
9
 INCLUDES=-Iinclude -Istfl -Ifilter -I. -Irss
10
 BARE_CXXFLAGS=-std=c++11 -ggdb $(INCLUDES)
11
 CXXFLAGS+=$(BARE_CXXFLAGS) $(WARNFLAGS) $(DEFINES)
(-)www/newsboat/pkg-descr (+5 lines)
Line 0 Link Here
1
Newsboat is a fork of Newsbeuter, an RSS/Atom feed reader for the text console.
2
The only difference is that Newsboat is actively maintained while Newsbeuter
3
isn't.
4
5
WWW: http://newsboat.org/
(-)www/newsboat/pkg-plist (+26 lines)
Line 0 Link Here
1
bin/newsboat
2
%%PODCAST%%bin/podboat
3
share/locale/ca/LC_MESSAGES/newsboat.mo
4
share/locale/de/LC_MESSAGES/newsboat.mo
5
share/locale/es/LC_MESSAGES/newsboat.mo
6
share/locale/es_ES/LC_MESSAGES/newsboat.mo
7
share/locale/fr/LC_MESSAGES/newsboat.mo
8
share/locale/hu/LC_MESSAGES/newsboat.mo
9
share/locale/it/LC_MESSAGES/newsboat.mo
10
share/locale/ja/LC_MESSAGES/newsboat.mo
11
share/locale/nb/LC_MESSAGES/newsboat.mo
12
share/locale/nl/LC_MESSAGES/newsboat.mo
13
share/locale/pl/LC_MESSAGES/newsboat.mo
14
share/locale/pt_BR/LC_MESSAGES/newsboat.mo
15
share/locale/ru/LC_MESSAGES/newsboat.mo
16
share/locale/sv/LC_MESSAGES/newsboat.mo
17
share/locale/tr/LC_MESSAGES/newsboat.mo
18
share/locale/uk/LC_MESSAGES/newsboat.mo
19
share/locale/zh/LC_MESSAGES/newsboat.mo
20
share/locale/zh_TW/LC_MESSAGES/newsboat.mo
21
share/doc/newsboat/faq.html
22
share/doc/newsboat/docbook-xsl.css
23
share/doc/newsboat/newsboat.html
24
share/doc/newsboat/examples/config
25
man/man1/newsboat.1.gz
26
%%PODCAST%%man/man1/podboat.1.gz

Return to bug 223290