pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/games/hitori hitori: various cleanups



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c457cc70b3d8
branches:  trunk
changeset: 450190:c457cc70b3d8
user:      nia <nia%pkgsrc.org@localhost>
date:      Mon Apr 12 13:17:31 2021 +0000

description:
hitori: various cleanups

diffstat:

 games/hitori/Makefile |  15 +++++++++++----
 1 files changed, 11 insertions(+), 4 deletions(-)

diffs (30 lines):

diff -r 5f524958b23c -r c457cc70b3d8 games/hitori/Makefile
--- a/games/hitori/Makefile     Mon Apr 12 13:17:17 2021 +0000
+++ b/games/hitori/Makefile     Mon Apr 12 13:17:31 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.22 2021/01/13 11:07:50 prlw1 Exp $
+# $NetBSD: Makefile,v 1.23 2021/04/12 13:17:31 nia Exp $
 
 DISTNAME=      hitori-3.38.0
 CATEGORIES=    games gnome
@@ -10,10 +10,17 @@
 COMMENT=       Logic game similar to Sudoku
 LICENSE=       gnu-gpl-v3 AND cc-by-sa-v3.0
 
-USE_TOOLS+=                    msgfmt msgmerge pkg-config xgettext
-_TOOLS_USE_PKGSRC.msgfmt=      yes
+USE_TOOLS+=    msgfmt pkg-config xgettext
+
+TOOL_DEPENDS+= itstool-[0-9]*:../../textproc/itstool
 
-BUILD_DEPENDS+=        itstool-[0-9]*:../../textproc/itstool
+.include "../../mk/bsd.prefs.mk"
+# msgfmt: unknown option -- desktop
+.if ${OPSYS} == "NetBSD"
+TOOLS_PLATFORM.msgfmt=
+.endif
+
+PYTHON_FOR_BUILD_ONLY= tool
 
 BUILDLINK_DEPMETHOD.gettext-lib=       build
 .include "../../devel/gettext-lib/buildlink3.mk"



Home | Main Index | Thread Index | Old Index