pkgsrc/games/gnome-sudoku/Makefile
nia 773cde7da8 *: Use the tools framework for itstool
Now it should be more obvious when a package needs it as a dependency,
as it will fail loudly if it isn't declared as a tool.

While here, some duplicate dependencies on itstool were removed from the
MATE packages
2021-05-02 10:24:47 +00:00

43 lines
1.3 KiB
Makefile

# $NetBSD: Makefile,v 1.37 2021/05/02 10:24:48 nia Exp $
DISTNAME= gnome-sudoku-3.38.0
PKGREVISION= 1
CATEGORIES= games gnome
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/gnome-sudoku/${PKGVERSION_NOREV:R}/}
EXTRACT_SUFX= .tar.xz
MAINTAINER= prlw1@cam.ac.uk
HOMEPAGE= https://wiki.gnome.org/Apps/Sudoku
COMMENT= Number grid logic puzzle
LICENSE= gnu-gpl-v3
USE_LANGUAGES= c c++11
USE_PKGLOCALEDIR= yes
USE_TOOLS+= msgfmt pkg-config itstool
PYTHON_FOR_BUILD_ONLY= tool
.include "../../lang/python/tool.mk"
# Requires --desktop in msgfmt.
_TOOLS_USE_PKGSRC.msgfmt= yes
post-extract:
cd ${WRKSRC}/help/C && ${CHMOD} 0644 *.page legal.xml figures/*.png
REPLACE_PYTHON+= build-aux/post_install.py
BUILDLINK_API_DEPENDS.glib2+= glib2>=2.40.0
.include "../../devel/glib2/schemas.mk"
.include "../../devel/libgee/buildlink3.mk"
.include "../../devel/meson/build.mk"
BUILDLINK_API_DEPENDS.qqwing+= qqwing>=1.3.4
.include "../../games/qqwing/buildlink3.mk"
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
BUILDLINK_DEPMETHOD.vala:= build
.include "../../lang/vala/buildlink3.mk"
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
.include "../../textproc/json-glib/buildlink3.mk"
BUILDLINK_API_DEPENDS.gtk3+= gtk3+>=3.19.0
.include "../../x11/gtk3/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"