| @@ -1,24 +1,26 @@ | | | @@ -1,24 +1,26 @@ |
1 | # $NetBSD: Makefile,v 1.4 2020/12/01 11:09:18 nia Exp $ | | 1 | # $NetBSD: Makefile,v 1.5 2020/12/14 09:19:40 nia Exp $ |
2 | | | 2 | |
3 | DISTNAME= nudoku-2.1.0 | | 3 | DISTNAME= nudoku-2.1.0 |
4 | CATEGORIES= games | | 4 | CATEGORIES= games |
5 | MASTER_SITES= ${MASTER_SITE_GITHUB:=jubalh/} | | 5 | MASTER_SITES= ${MASTER_SITE_GITHUB:=jubalh/} |
6 | | | 6 | |
7 | MAINTAINER= fcambus@NetBSD.org | | 7 | MAINTAINER= fcambus@NetBSD.org |
8 | HOMEPAGE= https://jubalh.github.io/nudoku/ | | 8 | HOMEPAGE= https://jubalh.github.io/nudoku/ |
9 | COMMENT= Ncurses based sudoku game | | 9 | COMMENT= Ncurses based sudoku game |
10 | LICENSE= gnu-gpl-v3 | | 10 | LICENSE= gnu-gpl-v3 |
11 | | | 11 | |
| | | 12 | TOOL_DEPENDS+= gettext-m4-[0-9]*:../../devel/gettext-m4 |
| | | 13 | |
12 | # Fix gettext includes | | 14 | # Fix gettext includes |
13 | SUBST_CLASSES+= includes | | 15 | SUBST_CLASSES+= includes |
14 | SUBST_STAGE.includes= post-configure | | 16 | SUBST_STAGE.includes= post-configure |
15 | SUBST_MESSAGE.includes= Fix gettext includes | | 17 | SUBST_MESSAGE.includes= Fix gettext includes |
16 | SUBST_FILES.includes+= src/sudoku.c | | 18 | SUBST_FILES.includes+= src/sudoku.c |
17 | SUBST_SED.includes+= -e 's,"gettext.h",<libintl.h>,' | | 19 | SUBST_SED.includes+= -e 's,"gettext.h",<libintl.h>,' |
18 | | | 20 | |
19 | USE_TOOLS+= autoreconf automake autoconf autopoint gettext | | 21 | USE_TOOLS+= autoreconf automake autoconf autopoint gettext |
20 | GNU_CONFIGURE= yes | | 22 | GNU_CONFIGURE= yes |
21 | USE_PKGLOCALEDIR= yes | | 23 | USE_PKGLOCALEDIR= yes |
22 | | | 24 | |
23 | FAKE_NCURSES= yes | | 25 | FAKE_NCURSES= yes |
24 | | | 26 | |