aboutsummaryrefslogtreecommitdiff
path: root/graphics/zathura
diff options
context:
space:
mode:
authorGuido Falsi <madpilot@FreeBSD.org>2012-09-14 16:06:31 +0000
committerGuido Falsi <madpilot@FreeBSD.org>2012-09-14 16:06:31 +0000
commit7614e00efcc787cf31f55641a4cf86768a4f4ec8 (patch)
treed1be6c45876cbc1c5b8167276753861ebe96ea21 /graphics/zathura
parent9bed492eb63b791e43beb5e7ed195290d8b9756d (diff)
downloadports-7614e00efcc787cf31f55641a4cf86768a4f4ec8.tar.gz
ports-7614e00efcc787cf31f55641a4cf86768a4f4ec8.zip
Notes
Diffstat (limited to 'graphics/zathura')
-rw-r--r--graphics/zathura/Makefile11
-rw-r--r--graphics/zathura/distinfo4
-rw-r--r--graphics/zathura/files/patch-document.c10
-rw-r--r--graphics/zathura/pkg-plist21
4 files changed, 26 insertions, 20 deletions
diff --git a/graphics/zathura/Makefile b/graphics/zathura/Makefile
index 02cea53a3f5e..91be84b0764e 100644
--- a/graphics/zathura/Makefile
+++ b/graphics/zathura/Makefile
@@ -6,16 +6,15 @@
#
PORTNAME= zathura
-PORTVERSION= 0.1.2
-PORTREVISION= 2
+PORTVERSION= 0.2.0
CATEGORIES= graphics print
MASTER_SITES= http://pwmt.org/projects/zathura/download/
MAINTAINER= acieroid@awesom.eu
COMMENT= Customizable lightweight pdf viewer
-LIB_DEPENDS= cairo.2:${PORTSDIR}/graphics/cairo \
- girara-gtk2.0:${PORTSDIR}/x11-toolkits/girara
+LIB_DEPENDS= cairo:${PORTSDIR}/graphics/cairo \
+ girara-gtk2.1:${PORTSDIR}/x11-toolkits/girara
USE_GNOME= glib20 gtk20
USE_GMAKE= yes
@@ -27,7 +26,7 @@ OPTIONS= SQLITE "Support sqlite database backend" off
.include <bsd.port.options.mk>
.if !defined(WITHOUT_SQLITE)
-LIB_DEPENDS+= sqlite3.8:${PORTSDIR}/databases/sqlite3
+LIB_DEPENDS+= sqlite3:${PORTSDIR}/databases/sqlite3
MAKE_ENV+= WITH_SQLITE=1
.else
MAKE_ENV+= WITH_SQLITE=0
@@ -52,6 +51,8 @@ post-patch: .SILENT
${WRKSRC}/Makefile
${REINPLACE_CMD} -e 's|PLUGINDIR ?= .*$$|PLUGINDIR ?= ${PREFIX}/lib/zathura|'\
${WRKSRC}/config.mk
+ ${REINPLACE_CMD} -e 's|girara_debug("plugin.*$$||'\
+ ${WRKSRC}/plugin.c
.if defined(NOPORTDOCS)
${REINPLACE_CMD} -e 's|install-manpages$$||'\
${WRKSRC}/Makefile
diff --git a/graphics/zathura/distinfo b/graphics/zathura/distinfo
index b4776e59faaa..f3da5e42dccd 100644
--- a/graphics/zathura/distinfo
+++ b/graphics/zathura/distinfo
@@ -1,2 +1,2 @@
-SHA256 (zathura-0.1.2.tar.gz) = a496c25071e54f675b65ee5eab02fd002c04c2d7d5cf4aa8a1cb517cc13beaef
-SIZE (zathura-0.1.2.tar.gz) = 65875
+SHA256 (zathura-0.2.0.tar.gz) = fd235a44c545e929a538ebb0a3f385349a190fd86c8b044a4328a3779d5c2d2f
+SIZE (zathura-0.2.0.tar.gz) = 86951
diff --git a/graphics/zathura/files/patch-document.c b/graphics/zathura/files/patch-document.c
deleted file mode 100644
index c0e0444c5d84..000000000000
--- a/graphics/zathura/files/patch-document.c
+++ /dev/null
@@ -1,10 +0,0 @@
---- document.c.orig 2012-03-25 00:57:24.000000000 +0400
-+++ document.c 2012-04-23 15:02:51.000000000 +0400
-@@ -12,6 +12,7 @@
- #include <errno.h>
- #include <glib.h>
- #include <glib/gi18n.h>
-+#include <sys/wait.h>
-
- #include "document.h"
- #include "utils.h"
diff --git a/graphics/zathura/pkg-plist b/graphics/zathura/pkg-plist
index f24a0cc987d8..7947b5827c4b 100644
--- a/graphics/zathura/pkg-plist
+++ b/graphics/zathura/pkg-plist
@@ -1,10 +1,25 @@
bin/zathura
include/zathura/document.h
+include/zathura/links.h
include/zathura/macros.h
+include/zathura/page.h
+include/zathura/plugin-api.h
+include/zathura/types.h
include/zathura/version.h
-include/zathura/zathura.h
+libdata/pkgconfig/zathura.pc
share/applications/zathura.desktop
%%NLS%%share/locale/de/LC_MESSAGES/zathura.mo
-libdata/pkgconfig/zathura.pc
-@dirrmtry share/applications
+%%NLS%%share/locale/eo/LC_MESSAGES/zathura.mo
+%%NLS%%share/locale/es/LC_MESSAGES/zathura.mo
+%%NLS%%share/locale/es_CL/LC_MESSAGES/zathura.mo
+%%NLS%%share/locale/et/LC_MESSAGES/zathura.mo
+%%NLS%%share/locale/fr/LC_MESSAGES/zathura.mo
+%%NLS%%share/locale/pl/LC_MESSAGES/zathura.mo
+%%NLS%%share/locale/ta_IN/LC_MESSAGES/zathura.mo
+%%NLS%%share/locale/tr/LC_MESSAGES/zathura.mo
@dirrm include/zathura
+@dirrmtry share/applications
+@dirrmtry share/locale/es_CL/LC_MESSAGES
+@dirrmtry share/locale/es_CL
+@dirrmtry share/locale/ta_IN/LC_MESSAGES
+@dirrmtry share/locale/ta_IN