aboutsummaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorSylvio Cesar Teixeira <sylvio@FreeBSD.org>2011-06-02 11:56:02 +0000
committerSylvio Cesar Teixeira <sylvio@FreeBSD.org>2011-06-02 11:56:02 +0000
commit8f2b8c6f9a4d87d6223cd84cc604233002d4befc (patch)
tree56a47cf5a78c5863682a6bdbb775a3a2575ead01 /graphics
parente9b2c96f916fe540e252d8ec5431c3e43a8674a0 (diff)
downloadports-8f2b8c6f9a4d87d6223cd84cc604233002d4befc.tar.gz
ports-8f2b8c6f9a4d87d6223cd84cc604233002d4befc.zip
Notes
Diffstat (limited to 'graphics')
-rw-r--r--graphics/epdfview/Makefile5
-rw-r--r--graphics/epdfview/distinfo4
-rw-r--r--graphics/epdfview/files/patch-MainView.cxx33
-rw-r--r--graphics/epdfview/pkg-plist9
4 files changed, 14 insertions, 37 deletions
diff --git a/graphics/epdfview/Makefile b/graphics/epdfview/Makefile
index d19030d06a44..c8d977957fe7 100644
--- a/graphics/epdfview/Makefile
+++ b/graphics/epdfview/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= epdfview
-PORTVERSION= 0.1.7
-PORTREVISION= 7
+PORTVERSION= 0.1.8
CATEGORIES= graphics print gnome
MASTER_SITES= http://trac.emma-soft.com/epdfview/chrome/site/releases/ \
http://mirror.slitaz.org/sources/packages/e/
@@ -32,6 +31,8 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
OPTIONS= CUPS "Use cups printing system" off \
NLS "Native language support" on
+MAN1= epdfview.1
+
.include <bsd.port.pre.mk>
.if defined(WITH_CUPS)
diff --git a/graphics/epdfview/distinfo b/graphics/epdfview/distinfo
index d5a32785169d..c5ba83d9eda7 100644
--- a/graphics/epdfview/distinfo
+++ b/graphics/epdfview/distinfo
@@ -1,2 +1,2 @@
-SHA256 (epdfview-0.1.7.tar.bz2) = 0afbb0f348d4ba916cf58da48b4749b7cca6a9038136b27dc652161913704ae8
-SIZE (epdfview-0.1.7.tar.bz2) = 443609
+SHA256 (epdfview-0.1.8.tar.bz2) = 948648ae7c9d7b3b408d738bd4f48d87375b1196cae1129d6b846a8de0f2f8f0
+SIZE (epdfview-0.1.8.tar.bz2) = 466270
diff --git a/graphics/epdfview/files/patch-MainView.cxx b/graphics/epdfview/files/patch-MainView.cxx
deleted file mode 100644
index 7ef5f1bf6aeb..000000000000
--- a/graphics/epdfview/files/patch-MainView.cxx
+++ /dev/null
@@ -1,33 +0,0 @@
---- src/gtk/MainView.cxx.orig 2009-03-01 05:00:55.000000000 +0800
-+++ src/gtk/MainView.cxx 2009-03-28 12:18:20.000000000 +0800
-@@ -77,7 +77,7 @@
- static void main_window_zoom_out_cb (GtkWidget *, gpointer);
- static void main_window_zoom_width_cb (GtkToggleAction *, gpointer);
- static void main_window_set_page_mode (GtkRadioAction *, GtkRadioAction *, gpointer);
--static void main_window_page_scrolled_cb (GtkWidget *widget, GdkEventScroll *event, gpointer data);
-+static gboolean main_window_page_scrolled_cb (GtkWidget *widget, GdkEventScroll *event, gpointer data);
-
- #if defined (HAVE_CUPS)
- static void main_window_print_cb (GtkWidget *, gpointer);
-@@ -1479,18 +1479,19 @@
- pter->setPageMode (mode);
- }
-
--void
-+gboolean
- main_window_page_scrolled_cb (GtkWidget *widget, GdkEventScroll *event, gpointer data)
- {
- g_assert ( NULL != data && "The data parameter is NULL.");
-
- MainPter *pter = (MainPter *)data;
- // Only zoom when the CTRL-Button is down...
-- if ( !(event->state & GDK_CONTROL_MASK) ) return;
-+ if ( !(event->state & GDK_CONTROL_MASK) ) return FALSE;
- if ( event->direction == GDK_SCROLL_UP ) {
- pter->zoomInActivated ();
- } else if ( event->direction == GDK_SCROLL_DOWN ) {
- pter->zoomOutActivated ();
- }
-+ return TRUE;
- }
-
diff --git a/graphics/epdfview/pkg-plist b/graphics/epdfview/pkg-plist
index 3e69d34f9ccb..c9a18d2de17a 100644
--- a/graphics/epdfview/pkg-plist
+++ b/graphics/epdfview/pkg-plist
@@ -1,4 +1,5 @@
bin/epdfview
+%%NLS%%share/locale/ar/LC_MESSAGES/epdfview.mo
%%NLS%%share/locale/ca/LC_MESSAGES/epdfview.mo
%%NLS%%share/locale/cs/LC_MESSAGES/epdfview.mo
%%NLS%%share/locale/de/LC_MESSAGES/epdfview.mo
@@ -6,8 +7,12 @@ bin/epdfview
%%NLS%%share/locale/es/LC_MESSAGES/epdfview.mo
%%NLS%%share/locale/eu/LC_MESSAGES/epdfview.mo
%%NLS%%share/locale/fr/LC_MESSAGES/epdfview.mo
+%%NLS%%share/locale/gl/LC_MESSAGES/epdfview.mo
+%%NLS%%share/locale/he_IL/LC_MESSAGES/epdfview.mo
+%%NLS%%share/locale/hu/LC_MESSAGES/epdfview.mo
%%NLS%%share/locale/it/LC_MESSAGES/epdfview.mo
%%NLS%%share/locale/ja/LC_MESSAGES/epdfview.mo
+%%NLS%%share/locale/nl_NL/LC_MESSAGES/epdfview.mo
%%NLS%%share/locale/pl/LC_MESSAGES/epdfview.mo
%%NLS%%share/locale/pt_BR/LC_MESSAGES/epdfview.mo
%%NLS%%share/locale/pt_PT/LC_MESSAGES/epdfview.mo
@@ -31,3 +36,7 @@ share/applications/epdfview.desktop
@dirrmtry %%DATADIR%%/pixmaps
@dirrmtry %%DATADIR%%/ui
@dirrmtry %%DATADIR%%
+@dirrmtry %%NLS%%share/locale/nl_NL/LC_MESSAGES
+@dirrmtry %%NLS%%share/locale/nl_NL
+@dirrmtry %%NLS%%share/locale/he_IL/LC_MESSAGES
+@dirrmtry %%NLS%%share/locale/he_IL