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> |