aboutsummaryrefslogtreecommitdiff
path: root/graphics/zathura
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 /graphics/zathura
parenteef3e2f56a741ebb001521b71b9ecef710f00bdf (diff)
downloadports-09dc2913c926ae1b66fb732aeffe1cc4bd84cf3d.tar.gz
ports-09dc2913c926ae1b66fb732aeffe1cc4bd84cf3d.zip
Notes
Diffstat (limited to 'graphics/zathura')
-rw-r--r--graphics/zathura/Makefile16
1 files changed, 14 insertions, 2 deletions
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