mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-19 00:13:33 +00:00
cdf28617b4
PR: 272449
47 lines
1.3 KiB
Makefile
47 lines
1.3 KiB
Makefile
PORTNAME= newsboat
|
|
DISTVERSION= 2.30.1
|
|
PORTREVISION= 4
|
|
CATEGORIES= www
|
|
MASTER_SITES= https://newsboat.org/releases/${DISTVERSION}/
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}
|
|
|
|
MAINTAINER= mt-bugs@markoturk.info
|
|
COMMENT= RSS feed reader for the text console
|
|
WWW= https://newsboat.org/
|
|
|
|
LICENSE= MIT
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
BUILD_DEPENDS= asciidoctor:textproc/rubygem-asciidoctor
|
|
LIB_DEPENDS= libcurl.so:ftp/curl \
|
|
libjson-c.so:devel/json-c \
|
|
libstfl.so:devel/stfl
|
|
|
|
USES= cargo compiler:c++11-lang gettext gmake gnome iconv:translit \
|
|
ncurses pkgconfig python:env shebangfix sqlite ssl tar:xz
|
|
USE_GNOME= libxml2
|
|
|
|
SHEBANG_FILES= contrib/bookmark-evernote.sh contrib/exportOPMLWithTags.py \
|
|
contrib/feedgrabber.rb contrib/getpocket.com/send-to-pocket.sh \
|
|
contrib/heise.rb contrib/image-preview/nbparser \
|
|
contrib/slashdot.rb doc/examples/example-exec-script.py \
|
|
contrib/newsboat_reorganize.py
|
|
|
|
CARGO_BUILD= no
|
|
CARGO_INSTALL= no
|
|
CARGO_TARGET_DIR= ${WRKSRC}/target
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's,fail "ncursesw",true,; s,fail "libcrypto",true,' \
|
|
-e 's,fail "libssl",true,' \
|
|
${WRKSRC}/config.sh
|
|
@${REINPLACE_CMD} -e 's|-liconv|${ICONV_LIB} -lcrypto ${NCURSESLIBS}|;s|-Werror||' \
|
|
${WRKSRC}/Makefile
|
|
|
|
post-install:
|
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/*boat
|
|
|
|
.include <bsd.port.mk>
|