File:  [cvs.NetBSD.org] / pkgsrc / games / gnome-sudoku / Makefile
Revision 1.37: download - view: text, annotated - select for diffs
Sun May 2 10:24:48 2021 UTC (3 years, 7 months ago) by nia
Branches: MAIN
CVS tags: pkgsrc-2021Q2-base, pkgsrc-2021Q2, HEAD
*: 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

# $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"

CVSweb <webmaster@jp.NetBSD.org>