PORTNAME= newsbeuter
PORTVERSION= 2.8
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= www
MASTER_SITES= http://newsbeuter.org/downloads/
OPTIONS_SUB= yes
PODCAST_DESC= Podcast client (podbeuter)
USES= gettext gmake iconv:translit ncurses perl5 pkgconfig
USES= compiler:c++11-lang gettext gmake iconv:translit ncurses perl5 pkgconfig
USE_CXXSTD= gnu++11
USE_PERL5= build
USE_SQLITE= yes
USE_GNOME= libxml2
USE_GCC= any
post-patch:
${REINPLACE_CMD} -e "s,share/man,man,; \
--- include/matcher.h.orig 2014-02-02 16:00:13.000000000 +0100
+++ include/matcher.h 2014-02-02 16:00:19.000000000 +0100
@@ -3,6 +3,10 @@
#include <FilterParser.h>
+#ifdef _LIBCPP_VERSION
+namespace std { namespace tr1 = std; }
+#endif
+
namespace newsbeuter {
class matchable {
--- rss/rsspp_internal.h.orig 2014-02-02 15:53:54.000000000 +0100
+++ rss/rsspp_internal.h 2014-02-02 15:52:36.000000000 +0100
@@ -9,6 +9,10 @@
#include <rsspp.h>
#include <tr1/memory>
#define CONTENT_URI "http://purl.org/rss/1.0/modules/content/"
#define RDF_URI "http://www.w3.org/1999/02/22-rdf-syntax-ns#"
#define ITUNES_URI "http://www.itunes.com/dtds/podcast-1.0.dtd"