summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPawel Pekala <pawel@FreeBSD.org>2012-05-23 21:34:52 +0000
committerPawel Pekala <pawel@FreeBSD.org>2012-05-23 21:34:52 +0000
commit09dc2913c926ae1b66fb732aeffe1cc4bd84cf3d (patch)
tree4255d2250353b0959b1a8446424a0cbb67616cf3
parent- Update to 3.7.1 (which fixes clang build) (diff)
- Add support for WITH_DEBUG in zathura [1]
- Move poppler-glib dep to zathura-pdf-plugin [2] - Add SQLITE option in zathura [3] - Bump portrevision in both ports as deps are changed PR: ports/168205 [1] ports/168240 [2] ports/168241 [3] Submitted by: Jan Beich <jbeich@tormail.org> Approved by: maintainer
Notes
Notes: svn path=/head/; revision=297306
-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