aboutsummaryrefslogtreecommitdiff
path: root/graphics/zathura/Makefile
blob: 915d0d3821f19af425223c1ed7fc22d1555c1120 (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
# Created by: Quentin Stievenart <acieroid@awesom.eu>
# $FreeBSD$

PORTNAME=	zathura
PORTVERSION=	0.4.0
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=		meson ninja compiler:c11 pkgconfig python tar:xz
USE_GNOME=	glib20 gtk30 gdkpixbuf2

OPTIONS_DEFINE=	NLS SQLITE
OPTIONS_SUB=	yes

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

.include <bsd.port.mk>