freebsd-ports/graphics/zathura/Makefile
Tobias Kortkamp c99095ca7c graphics/zathura: Fix SQLITE option
There is no opt_MESON_ARGS_OFF helper and Zathura also does not
have an enable-sqlite option.  It has an 'sqlite' feature which can
be turned on/off with the MESON_ENABLED helper.

SQLite support has been auto-enabled for ~7 months by always having
USES=sqlite in the port.  Since the SQLITE option can now properly
turn that support off, enable it by default to not cause too many
surprises.
2019-10-10 07:03:18 +00:00

34 lines
934 B
Makefile

# Created by: Quentin Stievenart <acieroid@awesom.eu>
# $FreeBSD$
PORTNAME= zathura
DISTVERSION= 0.4.3
PORTREVISION= 2
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 tar:xz
USE_GNOME= glib20 gtk30 gdkpixbuf2
INSTALLS_ICONS= yes
OPTIONS_DEFINE= SQLITE
OPTIONS_DEFAULT= SQLITE
SQLITE_USES= sqlite
SQLITE_MESON_ENABLED= sqlite
.include <bsd.port.mk>