2021-04-21 13:40:12 +02:00
|
|
|
# $NetBSD: Makefile,v 1.42 2021/04/21 11:42:34 adam Exp $
|
2016-02-14 14:43:21 +01:00
|
|
|
|
2020-09-06 22:22:10 +02:00
|
|
|
DISTNAME= zathura-0.4.7
|
2021-04-21 13:40:12 +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
|
|
|
|
|
2018-10-04 21:08:46 +02:00
|
|
|
USE_TOOLS+= pkg-config
|
2016-02-14 14:43:21 +01:00
|
|
|
|
2018-10-04 21:08:46 +02:00
|
|
|
# XXX: msgfmt needs to support `--xml', always use the one from pkgsrc
|
|
|
|
TOOL_DEPENDS+= gettext-tools>=0.15:../../devel/gettext-tools
|
2019-10-21 23:55:03 +02:00
|
|
|
|
|
|
|
PYTHON_VERSIONED_DEPENDENCIES= sphinx:tool
|
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
|
|
|
|
|
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"
|
2016-02-14 14:43:21 +01:00
|
|
|
.include "../../graphics/cairo/buildlink3.mk"
|
|
|
|
.include "../../graphics/girara/buildlink3.mk"
|
2018-10-04 21:08:46 +02:00
|
|
|
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
|
2019-10-21 23:55:03 +02:00
|
|
|
.include "../../lang/python/versioned_dependencies.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"
|