pkgsrc/print/zathura/Makefile

50 lines
1.4 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.50 2022/08/11 05:09:12 gutteridge Exp $
DISTNAME= zathura-0.4.9
PKGREVISION= 2
CATEGORIES= print
2017-09-06 11:02:59 +02:00
MASTER_SITES= https://pwmt.org/projects/zathura/download/
EXTRACT_SUFX= .tar.xz
MAINTAINER= leot@NetBSD.org
2017-09-06 11:02:59 +02:00
HOMEPAGE= https://pwmt.org/projects/zathura/
COMMENT= PDF viewer with vi-like keybindings
LICENSE= zlib
TOOL_DEPENDS+= ${PYPKGPREFIX}-sphinx-[0-9]*:../../textproc/py-sphinx
USE_TOOLS+= pkg-config
PYTHON_VERSIONS_INCOMPATIBLE= 27
# 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
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "NetBSD"
# Needs --desktop and --xml
TOOLS_PLATFORM.msgfmt=
.endif
.include "../../databases/sqlite3/buildlink3.mk"
.include "../../devel/meson/build.mk"
.include "../../devel/gettext-tools/buildlink3.mk"
.include "../../graphics/cairo/buildlink3.mk"
BUILDLINK_API_DEPENDS.girara?= girara>=0.3.7
.include "../../graphics/girara/buildlink3.mk"
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
.include "../../lang/python/pyversion.mk"
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
2016-02-18 11:22:39 +01:00
.include "../../sysutils/file/buildlink3.mk"
.include "../../x11/gtk3/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"