summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--graphics/zathura-pdf-poppler/Makefile3
-rw-r--r--graphics/zathura/Makefile16
2 files changed, 16 insertions, 3 deletions
diff --git a/graphics/zathura-pdf-poppler/Makefile b/graphics/zathura-pdf-poppler/Makefile
index 1e6b4ed669f8..499e26c1f235 100644
--- a/graphics/zathura-pdf-poppler/Makefile
+++ b/graphics/zathura-pdf-poppler/Makefile
@@ -7,13 +7,14 @@
PORTNAME= zathura-pdf-poppler
PORTVERSION= 0.1.1
+PORTREVISION= 1
CATEGORIES= graphics
MASTER_SITES= http://pwmt.org/projects/zathura/plugins/download/
MAINTAINER= neko@takino.org
COMMENT= Poppler render PDF plugin for Zathura PDF viewer
-LIB_DEPENDS= poppler.18:${PORTSDIR}/graphics/poppler
+LIB_DEPENDS= poppler-glib.8:${PORTSDIR}/graphics/poppler-glib
BUILD_DEPENDS= zathura:${PORTSDIR}/graphics/zathura
RUN_DEPENDS= zathura:${PORTSDIR}/graphics/zathura
diff --git a/graphics/zathura/Makefile b/graphics/zathura/Makefile
index 2a232ba21a4f..ba55333274fb 100644
--- a/graphics/zathura/Makefile
+++ b/graphics/zathura/Makefile
@@ -7,20 +7,32 @@
PORTNAME= zathura
PORTVERSION= 0.1.2
+PORTREVISION= 1
CATEGORIES= graphics print
MASTER_SITES= http://pwmt.org/projects/zathura/download/
MAINTAINER= acieroid@awesom.eu
COMMENT= Customizable lightweight pdf viewer
-LIB_DEPENDS= poppler-glib.8:${PORTSDIR}/graphics/poppler-glib \
- cairo.2:${PORTSDIR}/graphics/cairo \
+LIB_DEPENDS= cairo.2:${PORTSDIR}/graphics/cairo \
girara-gtk2.0:${PORTSDIR}/x11-toolkits/girara
USE_GNOME= glib20 gtk20
USE_GMAKE= yes
+MAKE_ENV= SFLAGS="${STRIP}"
FETCH_ARGS= -Fpr
+OPTIONS= SQLITE "Support sqlite database backend" off
+
+.include <bsd.port.options.mk>
+
+.if !defined(WITHOUT_SQLITE)
+LIB_DEPENDS+= sqlite3.8:${PORTSDIR}/databases/sqlite3
+MAKE_ENV+= WITH_SQLITE=1
+.else
+MAKE_ENV+= WITH_SQLITE=0
+.endif
+
.if !defined(NOPORTDOCS)
BUILD_DEPENDS+= rst2html:${PORTSDIR}/textproc/py-docutils
MAN1+= zathura.1