pkgsrc/print/zathura/Makefile
mef 25ddb49115 (print/zauthura) Add gettext-tools/buildlink3.mk, the error was listed below
[4/39] Generating org.pwmt.zathura.desktop_data_merge with a custom command
FAILED: data/org.pwmt.zathura.desktop
/usr/pkg/bin/meson --internal msgfmthelper
	../data/org.pwmt.zathura.desktop.in data/org.pwmt.zathura.desktop desktop
	/tmp/print/zathura/work/zathura-0.4.8/po
msgfmt: unknown option -- desktop
Try `msgfmt --help' for more information.
[5/39] Generating org.pwmt.zathura.appdata.xml_data_merge with a custom command
FAILED: data/org.pwmt.zathura.appdata.xml
/usr/pkg/bin/meson --internal msgfmthelper ../data/org.pwmt.zathura.appdata.xml.in
	data/org.pwmt.zathura.appdata.xml xml /tmp/print/zathura/work/zathura-0.4.8/po
msgfmt: unknown option -- xml
Try `msgfmt --help' for more information.
2021-08-19 12:46:44 +00:00

46 lines
1.3 KiB
Makefile

# $NetBSD: Makefile,v 1.45 2021/08/19 12:46:44 mef Exp $
DISTNAME= zathura-0.4.8
CATEGORIES= print
MASTER_SITES= https://pwmt.org/projects/zathura/download/
EXTRACT_SUFX= .tar.xz
MAINTAINER= leot@NetBSD.org
HOMEPAGE= https://pwmt.org/projects/zathura/
COMMENT= PDF viewer with vi-like keybindings
LICENSE= zlib
USE_TOOLS+= pkg-config
PYTHON_VERSIONED_DEPENDENCIES= sphinx:tool
# Avoid possible dependency on librsvg
MESON_ARGS+= -D convert-icon=disabled
CFLAGS.SunOS+= -D__EXTENSIONS__
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_ABI_DEPENDS.girara?= girara>=0.3.6
.include "../../graphics/girara/buildlink3.mk"
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
.include "../../lang/python/versioned_dependencies.mk"
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
.include "../../sysutils/file/buildlink3.mk"
.include "../../x11/gtk3/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"