From 9e7500f3a482a5810da17fe3204418665e994abd Mon Sep 17 00:00:00 2001 From: fcambus Date: Fri, 15 Nov 2019 15:25:27 +0000 Subject: [PATCH] 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@ --- games/nudoku/Makefile | 30 ++++++++++++++++++++++++++++++ games/nudoku/distinfo | 2 ++ games/nudoku/pkg/DESCR | 2 ++ games/nudoku/pkg/PLIST | 7 +++++++ 4 files changed, 41 insertions(+) create mode 100644 games/nudoku/Makefile create mode 100644 games/nudoku/distinfo create mode 100644 games/nudoku/pkg/DESCR create mode 100644 games/nudoku/pkg/PLIST diff --git a/games/nudoku/Makefile b/games/nudoku/Makefile new file mode 100644 index 00000000000..4ecd3e3fcf6 --- /dev/null +++ b/games/nudoku/Makefile @@ -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 + +# 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"||' ${WRKSRC}/src/main.c \ + ${WRKSRC}/src/sudoku.c + +.include diff --git a/games/nudoku/distinfo b/games/nudoku/distinfo new file mode 100644 index 00000000000..73eeefc62fe --- /dev/null +++ b/games/nudoku/distinfo @@ -0,0 +1,2 @@ +SHA256 (nudoku-2.0.0.tar.gz) = XCvnYKXLt6kDFW0z3kGTLMspHeg/KrFLtTRWx0T2NHc= +SIZE (nudoku-2.0.0.tar.gz) = 203292 diff --git a/games/nudoku/pkg/DESCR b/games/nudoku/pkg/DESCR new file mode 100644 index 00000000000..08034f97edb --- /dev/null +++ b/games/nudoku/pkg/DESCR @@ -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. diff --git a/games/nudoku/pkg/PLIST b/games/nudoku/pkg/PLIST new file mode 100644 index 00000000000..0f2fb47c8b2 --- /dev/null +++ b/games/nudoku/pkg/PLIST @@ -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