Import games/nudoku.

nudoku is a ncurses based sudoku game. Perfect to relax a little or
just waste some time when you are on the console.

OK rsadowski@, cwen@
This commit is contained in:
fcambus 2019-11-15 15:25:27 +00:00
parent b6faf08e20
commit 9e7500f3a4
4 changed files with 41 additions and 0 deletions

30
games/nudoku/Makefile Normal file
View File

@ -0,0 +1,30 @@
# $OpenBSD: Makefile,v 1.1.1.1 2019/11/15 15:25:27 fcambus Exp $
COMMENT = ncurses based sudoku game
V = 2.0.0
DISTNAME = nudoku-${V}
CATEGORIES = games
HOMEPAGE = https://jubalh.github.io/nudoku/
MAINTAINER = Frederic Cambus <fcambus@openbsd.org>
# GPLv3+
PERMIT_PACKAGE = Yes
WANTLIB += c curses iconv intl
MASTER_SITES = https://github.com/jubalh/nudoku/releases/download/${V}/
LIB_DEPENDS = converters/libiconv \
devel/gettext,-runtime
CONFIGURE_STYLE = gnu
post-configure:
@sed -i 's|"gettext.h"|<libintl.h>|' ${WRKSRC}/src/main.c \
${WRKSRC}/src/sudoku.c
.include <bsd.port.mk>

2
games/nudoku/distinfo Normal file
View File

@ -0,0 +1,2 @@
SHA256 (nudoku-2.0.0.tar.gz) = XCvnYKXLt6kDFW0z3kGTLMspHeg/KrFLtTRWx0T2NHc=
SIZE (nudoku-2.0.0.tar.gz) = 203292

2
games/nudoku/pkg/DESCR Normal file
View File

@ -0,0 +1,2 @@
nudoku is a ncurses based sudoku game. Perfect to relax a little or
just waste some time when you are on the console.

7
games/nudoku/pkg/PLIST Normal file
View File

@ -0,0 +1,7 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2019/11/15 15:25:27 fcambus Exp $
@bin bin/nudoku
@man man/man6/nudoku.6
share/locale/de/LC_MESSAGES/nudoku.mo
share/locale/es/LC_MESSAGES/nudoku.mo
share/locale/fr/LC_MESSAGES/nudoku.mo
share/locale/ru/LC_MESSAGES/nudoku.mo