aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorarved <arved@FreeBSD.org>2009-05-08 04:54:25 +0800
committerarved <arved@FreeBSD.org>2009-05-08 04:54:25 +0800
commit2916560c89cb6d97865cc075eb100d41350965f3 (patch)
treecedaa2ceffdd24098a30239746bb5970bd6ccb03
parentb7a5f5cd94bb2bf7f2ff1f82235e21789be49d25 (diff)
downloadfreebsd-ports-gnome-2916560c89cb6d97865cc075eb100d41350965f3.tar.gz
freebsd-ports-gnome-2916560c89cb6d97865cc075eb100d41350965f3.tar.zst
freebsd-ports-gnome-2916560c89cb6d97865cc075eb100d41350965f3.zip
Update to 2.0
Submitted by: ed
-rw-r--r--www/newsbeuter/Makefile7
-rw-r--r--www/newsbeuter/distinfo6
-rw-r--r--www/newsbeuter/files/patch-src-controller.cpp11
-rw-r--r--www/newsbeuter/pkg-plist1
4 files changed, 8 insertions, 17 deletions
diff --git a/www/newsbeuter/Makefile b/www/newsbeuter/Makefile
index 01d50ff9c30c..886e655d723f 100644
--- a/www/newsbeuter/Makefile
+++ b/www/newsbeuter/Makefile
@@ -5,8 +5,7 @@
# $FreeBSD$
PORTNAME= newsbeuter
-PORTVERSION= 1.3
-PORTREVISION= 1
+PORTVERSION= 2.0
CATEGORIES= www
MASTER_SITES= http://newsbeuter.org/downloads/
@@ -22,6 +21,7 @@ USE_PERL5_BUILD=yes
USE_SQLITE= yes
USE_RUBY= yes
USE_GCC= 4.2+
+USE_GNOME= libxml2
MAN1= newsbeuter.1 podbeuter.1
@@ -36,6 +36,7 @@ post-patch:
/^prefix/s|=.*|=${PREFIX}|; /^CXX=/d; \
s|/usr/local|${LOCALBASE}|; s|ruby1.8|ruby18|" \
${WRKSRC}/Makefile
- ${REINPLACE_CMD} -e "s,#include <alloca.h>,," ${WRKSRC}/src/logger.cpp
+ ${REINPLACE_CMD} -e 's,<ncursesw/ncurses.h>,<ncurses.h>,' \
+ ${WRKSRC}/src/controller.cpp ${WRKSRC}/src/view.cpp
.include <bsd.port.post.mk>
diff --git a/www/newsbeuter/distinfo b/www/newsbeuter/distinfo
index 86f6156b589e..41c2707cde84 100644
--- a/www/newsbeuter/distinfo
+++ b/www/newsbeuter/distinfo
@@ -1,3 +1,3 @@
-MD5 (newsbeuter-1.3.tar.gz) = 7246e37ed0067ab55803be4b1d144c50
-SHA256 (newsbeuter-1.3.tar.gz) = 944bb77bbbb440731627f06bc4e1c119b0c50fa76a8d74fedaac3b415ed8ea4f
-SIZE (newsbeuter-1.3.tar.gz) = 287938
+MD5 (newsbeuter-2.0.tar.gz) = 3b506b0c87f6e306917b7732d56eecf1
+SHA256 (newsbeuter-2.0.tar.gz) = f170b0de2b84c736c45e4093dd2361ff512a2ebf4e533e43f0790e3d406a146c
+SIZE (newsbeuter-2.0.tar.gz) = 335576
diff --git a/www/newsbeuter/files/patch-src-controller.cpp b/www/newsbeuter/files/patch-src-controller.cpp
deleted file mode 100644
index 1ac542cc8621..000000000000
--- a/www/newsbeuter/files/patch-src-controller.cpp
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/controller.cpp.orig 2007-09-19 17:00:28.000000000 +0200
-+++ src/controller.cpp 2007-09-19 17:00:41.000000000 +0200
-@@ -26,7 +26,7 @@
- #include <sys/wait.h>
- #include <pwd.h>
-
--#include <ncursesw/ncurses.h>
-+#include <ncurses.h>
-
- #include <config.h>
-
diff --git a/www/newsbeuter/pkg-plist b/www/newsbeuter/pkg-plist
index 84fbba88d056..2d3016c61f66 100644
--- a/www/newsbeuter/pkg-plist
+++ b/www/newsbeuter/pkg-plist
@@ -9,6 +9,7 @@ share/locale/nl/LC_MESSAGES/newsbeuter.mo
share/locale/pl/LC_MESSAGES/newsbeuter.mo
share/locale/pt_BR/LC_MESSAGES/newsbeuter.mo
share/locale/ru/LC_MESSAGES/newsbeuter.mo
+share/locale/sv/LC_MESSAGES/newsbeuter.mo
share/locale/tr/LC_MESSAGES/newsbeuter.mo
share/locale/uk/LC_MESSAGES/newsbeuter.mo
share/locale/zh/LC_MESSAGES/newsbeuter.mo