aboutsummaryrefslogtreecommitdiff
path: root/graphics/zathura/Makefile
blob: ddbaac081070fed6ec19c1f93b505e8a331e6172 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Created by: Quentin Stievenart <acieroid@awesom.eu>
# $FreeBSD$

PORTNAME=	zathura
DISTVERSION=	0.4.3
PORTREVISION=	1
CATEGORIES=	graphics print
MASTER_SITES=	https://pwmt.org/projects/zathura/download/ \
		http://www.madpilot.net/~mad/pwmt.org/

MAINTAINER=	quentin.stievenart@gmail.com
COMMENT=	Customizable lightweight pdf viewer

LICENSE=	ZLIB
LICENSE_FILE=	${WRKSRC}/LICENSE

LIB_DEPENDS=	libcairo.so:graphics/cairo \
		libgirara-gtk3.so:x11-toolkits/girara \
		libsynctex.so:devel/tex-synctex
BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}sphinx>0:textproc/py-sphinx@${PY_FLAVOR} \
		${PYTHON_PKGNAMEPREFIX}sphinx_rtd_theme>0:textproc/py-sphinx_rtd_theme@${PY_FLAVOR}

USES=		compiler:c11 gettext-tools:build gnome meson ninja \
		pkgconfig python sqlite tar:xz
USE_GNOME=	glib20 gtk30 gdkpixbuf2
INSTALLS_ICONS=	yes

OPTIONS_DEFINE=	SQLITE

SQLITE_LIB_DEPENDS=	libsqlite3.so:databases/sqlite3
SQLITE_MESON_ARGS_OFF=	-Denable-sqlite=false

.include <bsd.port.mk>