2013-04-02 12:02:19 +02:00
|
|
|
# Created by: arved
|
2007-06-01 20:22:36 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= newsbeuter
|
2014-01-20 10:37:52 +01:00
|
|
|
PORTVERSION= 2.8
|
2014-02-03 16:47:22 +01:00
|
|
|
PORTREVISION= 2
|
2007-06-01 20:22:36 +02:00
|
|
|
CATEGORIES= www
|
2008-08-26 18:37:33 +02:00
|
|
|
MASTER_SITES= http://newsbeuter.org/downloads/
|
2007-06-01 20:22:36 +02:00
|
|
|
|
|
|
|
MAINTAINER= arved@FreeBSD.org
|
|
|
|
COMMENT= An RSS feed reader for the text console
|
|
|
|
|
2013-12-30 16:53:58 +01:00
|
|
|
LICENSE= MIT
|
|
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
|
|
|
|
LIB_DEPENDS= stfl:${PORTSDIR}/devel/stfl \
|
2013-07-11 18:26:26 +02:00
|
|
|
curl:${PORTSDIR}/ftp/curl \
|
2013-11-09 16:57:18 +01:00
|
|
|
libjson.so:${PORTSDIR}/devel/json-c
|
2007-06-01 20:22:36 +02:00
|
|
|
|
2013-12-30 16:53:58 +01:00
|
|
|
OPTIONS_DEFINE= PODCAST
|
2014-01-30 17:05:25 +01:00
|
|
|
OPTIONS_DEFAULT=PODCAST
|
|
|
|
OPTIONS_SUB= yes
|
2013-12-30 16:53:58 +01:00
|
|
|
PODCAST_DESC= Podcast client (podbeuter)
|
|
|
|
|
2014-02-03 16:47:22 +01:00
|
|
|
USES= compiler:c++11-lang gettext gmake iconv:translit ncurses perl5 pkgconfig
|
|
|
|
USE_CXXSTD= gnu++11
|
2013-09-14 15:38:20 +02:00
|
|
|
USE_PERL5= build
|
2007-06-04 21:11:38 +02:00
|
|
|
USE_SQLITE= yes
|
2009-05-07 22:54:25 +02:00
|
|
|
USE_GNOME= libxml2
|
2007-06-01 20:22:36 +02:00
|
|
|
|
2007-06-04 21:11:38 +02:00
|
|
|
post-patch:
|
|
|
|
${REINPLACE_CMD} -e "s,share/man,man,; \
|
|
|
|
/^prefix/s|=.*|=${PREFIX}|; /^CXX=/d; \
|
2008-03-12 11:20:24 +01:00
|
|
|
s|/usr/local|${LOCALBASE}|; s|ruby1.8|ruby18|" \
|
2007-06-04 21:11:38 +02:00
|
|
|
${WRKSRC}/Makefile
|
2009-05-07 22:54:25 +02:00
|
|
|
${REINPLACE_CMD} -e 's,<ncursesw/ncurses.h>,<ncurses.h>,' \
|
|
|
|
${WRKSRC}/src/controller.cpp ${WRKSRC}/src/view.cpp
|
2014-01-20 10:37:52 +01:00
|
|
|
${REINPLACE_CMD} -e 's,fail "ncursesw",true,; s,fail "libcrypto",true,' \
|
2012-01-19 09:42:20 +01:00
|
|
|
${WRKSRC}/config.sh
|
2013-10-25 18:33:27 +02:00
|
|
|
${REINPLACE_CMD} -e 's|-liconv|${ICONV_LIB} -lcrypto -lncursesw|' \
|
|
|
|
${WRKSRC}/Makefile
|
2007-06-04 21:11:38 +02:00
|
|
|
|
2013-10-25 18:33:27 +02:00
|
|
|
.include <bsd.port.mk>
|