2022-08-11 07:08:00 +02:00
|
|
|
# $NetBSD: Makefile,v 1.50 2022/08/11 05:09:12 gutteridge Exp $
|
2016-02-14 14:43:21 +01:00
|
|
|
|
2022-02-17 17:28:16 +01:00
|
|
|
DISTNAME= zathura-0.4.9
|
2022-08-11 07:08:00 +02:00
|
|
|
PKGREVISION= 2
|
2016-02-14 14:43:21 +01:00
|
|
|
CATEGORIES= print
|
2017-09-06 11:02:59 +02:00
|
|
|
MASTER_SITES= https://pwmt.org/projects/zathura/download/
|
2018-10-04 21:08:46 +02:00
|
|
|
EXTRACT_SUFX= .tar.xz
|
2016-02-14 14:43:21 +01:00
|
|
|
|
|
|
|
MAINTAINER= leot@NetBSD.org
|
2017-09-06 11:02:59 +02:00
|
|
|
HOMEPAGE= https://pwmt.org/projects/zathura/
|
2016-02-14 14:43:21 +01:00
|
|
|
COMMENT= PDF viewer with vi-like keybindings
|
|
|
|
LICENSE= zlib
|
|
|
|
|
2022-07-10 19:24:18 +02:00
|
|
|
TOOL_DEPENDS+= ${PYPKGPREFIX}-sphinx-[0-9]*:../../textproc/py-sphinx
|
|
|
|
|
2018-10-04 21:08:46 +02:00
|
|
|
USE_TOOLS+= pkg-config
|
2016-02-14 14:43:21 +01:00
|
|
|
|
2022-07-10 19:24:18 +02:00
|
|
|
PYTHON_VERSIONS_INCOMPATIBLE= 27
|
2016-02-14 14:43:21 +01:00
|
|
|
|
2019-03-06 18:02:20 +01:00
|
|
|
# Avoid possible dependency on librsvg
|
|
|
|
MESON_ARGS+= -D convert-icon=disabled
|
|
|
|
|
2018-10-19 17:18:49 +02:00
|
|
|
CFLAGS.SunOS+= -D__EXTENSIONS__
|
|
|
|
|
2019-10-27 11:43:43 +01:00
|
|
|
SUBST_CLASSES+= py
|
|
|
|
SUBST_STAGE.py= pre-configure
|
|
|
|
SUBST_MESSAGE.py= Setting Python version variables.
|
|
|
|
SUBST_FILES.py+= doc/meson.build
|
|
|
|
SUBST_VARS.py+= PYVERSSUFFIX
|
|
|
|
|
2021-08-18 08:25:50 +02:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
|
|
|
.if ${OPSYS} == "NetBSD"
|
|
|
|
# Needs --desktop and --xml
|
|
|
|
TOOLS_PLATFORM.msgfmt=
|
|
|
|
.endif
|
|
|
|
|
2016-02-14 14:43:21 +01:00
|
|
|
.include "../../databases/sqlite3/buildlink3.mk"
|
2019-10-07 11:28:09 +02:00
|
|
|
.include "../../devel/meson/build.mk"
|
2021-08-19 14:46:44 +02:00
|
|
|
.include "../../devel/gettext-tools/buildlink3.mk"
|
2016-02-14 14:43:21 +01:00
|
|
|
.include "../../graphics/cairo/buildlink3.mk"
|
2022-07-10 19:24:18 +02:00
|
|
|
BUILDLINK_API_DEPENDS.girara?= girara>=0.3.7
|
2016-02-14 14:43:21 +01:00
|
|
|
.include "../../graphics/girara/buildlink3.mk"
|
2018-10-04 21:08:46 +02:00
|
|
|
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
|
2022-07-10 19:24:18 +02:00
|
|
|
.include "../../lang/python/pyversion.mk"
|
2016-02-14 14:43:21 +01:00
|
|
|
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
|
2016-02-18 11:22:39 +01:00
|
|
|
.include "../../sysutils/file/buildlink3.mk"
|
2016-02-14 14:43:21 +01:00
|
|
|
.include "../../x11/gtk3/buildlink3.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|