[gentoo-commits] repo/gentoo:master commit in: games-misc/bsd-games/

2023-10-31 Thread Sam James
commit: 5b1acec281b6010659d19ff3b9a30cbcbde78d0f
Author: Sam James  gentoo  org>
AuthorDate: Tue Oct 31 10:12:16 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Oct 31 12:24:35 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b1acec2

games-misc/bsd-games: add sourceforge upstream metadata

Signed-off-by: Sam James  gentoo.org>

 games-misc/bsd-games/metadata.xml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/games-misc/bsd-games/metadata.xml 
b/games-misc/bsd-games/metadata.xml
index 43111bf4fd3a..6e887818f8fb 100644
--- a/games-misc/bsd-games/metadata.xml
+++ b/games-misc/bsd-games/metadata.xml
@@ -7,5 +7,6 @@
 
 
jsm28/bsd-games
+   bsd-games
 
 



[gentoo-commits] repo/gentoo:master commit in: games-misc/bsd-games/

2022-10-13 Thread Arthur Zamarin
commit: a0bf8228cdfabf748eae055077753d87e9437ec2
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Oct 14 05:06:21 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Oct 14 05:06:21 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a0bf8228

games-misc/bsd-games: Keyword 3.2 arm64, #868780

Signed-off-by: Arthur Zamarin  gentoo.org>

 games-misc/bsd-games/bsd-games-3.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/games-misc/bsd-games/bsd-games-3.2.ebuild 
b/games-misc/bsd-games/bsd-games-3.2.ebuild
index a4e1f68fde8e..b78cb479b87a 100644
--- a/games-misc/bsd-games/bsd-games-3.2.ebuild
+++ b/games-misc/bsd-games/bsd-games-3.2.ebuild
@@ -14,7 +14,7 @@ LICENSE="BSD"
 # Subslot indicates the fork / new version
 # 3 doesn't include the same games as the classic variant, etc
 SLOT="0/3"
-KEYWORDS="~alpha ~amd64 ~hppa ~mips ~riscv ~x86"
+KEYWORDS="~alpha ~amd64 ~arm64 ~hppa ~mips ~riscv ~x86"
 
 # 'check' target doesn't exist, nor do any actual tests
 # bug #779649



[gentoo-commits] repo/gentoo:master commit in: games-misc/bsd-games/

2022-09-21 Thread Sam James
commit: dd65f7ba8aacf9d68d9fe03531d4bdd1e50feeaa
Author: Sam James  gentoo  org>
AuthorDate: Thu Sep 22 04:01:16 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Sep 22 04:05:20 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dd65f7ba

games-misc/bsd-games: use PV in SRC_URI

Avoids mistakes on bumping and why not?

Signed-off-by: Sam James  gentoo.org>

 games-misc/bsd-games/bsd-games-2.17_p28-r2.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/games-misc/bsd-games/bsd-games-2.17_p28-r2.ebuild 
b/games-misc/bsd-games/bsd-games-2.17_p28-r2.ebuild
index 585d54cb4beb..2a23ecde1cb4 100644
--- a/games-misc/bsd-games/bsd-games-2.17_p28-r2.ebuild
+++ b/games-misc/bsd-games/bsd-games-2.17_p28-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -9,7 +9,7 @@ DEB_PATCH_VER=28
 DESCRIPTION="Collection of games from NetBSD"
 HOMEPAGE="https://www.polyomino.org.uk/computer/software/bsd-games/;
 
#SRC_URI="https://www.polyomino.org.uk/computer/software/bsd-games/${PN}-$(ver_cut
 1-2).tar.gz"
-SRC_URI="http://deb.debian.org/debian/pool/main/b/bsdgames/bsdgames_2.17.orig.tar.gz;
+SRC_URI="http://deb.debian.org/debian/pool/main/b/bsdgames/bsdgames_$(ver_cut 
1-2).orig.tar.gz"
 SRC_URI+=" mirror://debian/pool/main/b/bsdgames/bsdgames_$(ver_cut 
1-2)-${DEB_PATCH_VER}.debian.tar.xz"
 S="${WORKDIR}/${PN}-$(ver_cut 1-2)"
 



[gentoo-commits] repo/gentoo:master commit in: games-misc/bsd-games/

2022-06-27 Thread Sam James
commit: fef502d3270e849fd42df981ba1b7976b8290826
Author: Sam James  gentoo  org>
AuthorDate: Mon Jun 27 09:09:43 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Jun 27 09:27:03 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fef502d3

games-misc/bsd-games: add BDEPEND on which for 3.1-r2

Signed-off-by: Sam James  gentoo.org>

 games-misc/bsd-games/bsd-games-3.1-r2.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/games-misc/bsd-games/bsd-games-3.1-r2.ebuild 
b/games-misc/bsd-games/bsd-games-3.1-r2.ebuild
index f59c5b239dfb..71f27640e016 100644
--- a/games-misc/bsd-games/bsd-games-3.1-r2.ebuild
+++ b/games-misc/bsd-games/bsd-games-3.1-r2.ebuild
@@ -31,6 +31,7 @@ RDEPEND="
acct-group/gamestat
 "
 BDEPEND="
+   sys-apps/which
sys-devel/bison
sys-devel/flex
virtual/pkgconfig



[gentoo-commits] repo/gentoo:master commit in: games-misc/bsd-games/, games-misc/bsd-games/files/

2022-06-27 Thread Sam James
commit: 8abf1e5c2106c97e443ab15a30897b0b4771cd98
Author: Sam James  gentoo  org>
AuthorDate: Mon Jun 27 09:08:01 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Jun 27 09:27:02 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8abf1e5c

games-misc/bsd-games: add 3.2

Signed-off-by: Sam James  gentoo.org>

 games-misc/bsd-games/Manifest  |   1 +
 games-misc/bsd-games/bsd-games-3.2.ebuild  | 153 +
 .../bsd-games/files/bsd-games-3.2-no-strip.patch   |  32 +
 .../bsd-games/files/bsd-games-3.2-no-which.patch   |  30 
 4 files changed, 216 insertions(+)

diff --git a/games-misc/bsd-games/Manifest b/games-misc/bsd-games/Manifest
index 7bc99d0ea376..688e1edfdb61 100644
--- a/games-misc/bsd-games/Manifest
+++ b/games-misc/bsd-games/Manifest
@@ -1,4 +1,5 @@
 DIST bsd-games-3.1-verbose-build.patch.gz 4633 BLAKE2B 
cc75175ac2ef9d476c03bdb08b8c054d13090d6cdd1a14dd44022d13290112c68a7663d0c03f9ca7535ea10f2bb5e49a84acca4f782f0ced59685f762efd5151
 SHA512 
120c0859bb73a026dae017bcc2bc7505ca156b454bf5f87c91b4887417d5ac62f3dec706af91b22b11be8b5bce11d168f9205d722a9fd30dea654f682a66b1c8
 DIST bsd-games-3.1.tar.gz 267636 BLAKE2B 
116b340e383430fc56e9d2379a398494b43664aa124157bfa01f2c6a76ebdc90128cc676abae83b6d74680b0ad9396d24f1c0d11adcff1f552a3e68717b8cc8f
 SHA512 
3f311e89481913b734a21fc7d0765628637af8251228d5a38349c27cc702c307240e81711785bbd7428e208a142bd07597630d29e97e2c7bf5bd9cac1ebc6ada
+DIST bsd-games-3.2.tar.gz 270345 BLAKE2B 
3d984601a71e157dd65e4102e68b3cddc9552d13ec546c599d26a501361616e6223f5fba8990ad8c7ba4559b3982e89a7f1064ff7de2422d1eb71f6c8838bcf1
 SHA512 
cf5f5a9e5d215ee553486580f9a7dfc9801d254a2806172df201dfc42ecbb05326db7bc25b7624eb8a8e541ad61ec319d258687609bddae2bc07edcbade2291a
 DIST bsdgames_2.17-28.debian.tar.xz 58464 BLAKE2B 
3f5a70322341b153a8b3cb8df81fea1e773971d0f3b79ba8fb0c0877e95c61c8e8689952333f8ac4263948d781c2dc64c8178f9dac6a1c09ae702f91794b9583
 SHA512 
7e2db9f830c0657f3fcd1371635bda4a87e7a68180e486e44752904740c0710c02271522ff2d4b606542b3c502dd28795fcecf883360c3ac5bea78c148281f6a
 DIST bsdgames_2.17.orig.tar.gz 2563311 BLAKE2B 
9dfff4e70929e14a422c536c661cd95c5f1ac81d9112494525b9ef13d7a39b66bd59b6a264e614cfb29784fdb63364f56b12b4d284b125b5b3c12e92def07fb0
 SHA512 
cb2ee60474f164d42e3d47700270bbeeda3c8279d64da409c9cc05e36437ef95b92d0a85543298e97604635fcf3e068f3a5cc812e90b5c61fb8d146cf35bc38f

diff --git a/games-misc/bsd-games/bsd-games-3.2.ebuild 
b/games-misc/bsd-games/bsd-games-3.2.ebuild
new file mode 100644
index ..a4e1f68fde8e
--- /dev/null
+++ b/games-misc/bsd-games/bsd-games-3.2.ebuild
@@ -0,0 +1,153 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit toolchain-funcs
+
+DESCRIPTION="collection of games from NetBSD"
+HOMEPAGE="https://www.polyomino.org.uk/computer/software/bsd-games/;
+SRC_URI="https://github.com/msharov/bsd-games/archive/refs/tags/v${PV}.tar.gz 
-> ${P}.tar.gz"
+SRC_URI+=" 
https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${PN}-3.1-verbose-build.patch.gz;
+
+LICENSE="BSD"
+# Subslot indicates the fork / new version
+# 3 doesn't include the same games as the classic variant, etc
+SLOT="0/3"
+KEYWORDS="~alpha ~amd64 ~hppa ~mips ~riscv ~x86"
+
+# 'check' target doesn't exist, nor do any actual tests
+# bug #779649
+RESTRICT="test"
+
+DEPEND="
+   sys-apps/miscfiles
+   sys-libs/ncurses:=[unicode(+)]
+   !games-puzzle/hangman
+   !games-misc/wumpus
+"
+RDEPEND="
+   ${DEPEND}
+   acct-group/gamestat
+"
+BDEPEND="
+   sys-devel/bison
+   sys-devel/flex
+   virtual/pkgconfig
+"
+
+PATCHES=(
+   "${WORKDIR}"/${PN}-3.1-verbose-build.patch
+   "${FILESDIR}"/${PN}-3.1-no-install-manpages-automatically.patch
+   "${FILESDIR}"/${PN}-3.2-no-which.patch
+   "${FILESDIR}"/${P}-no-strip.patch
+)
+
+# Set GAMES_TO_BUILD variable to whatever you want
+GAMES_TO_BUILD=${GAMES_TO_BUILD:=adventure atc battlestar caesar cribbage
+dab drop4 gofish gomoku hangman klondike robots sail snake spirhunt
+worm wump}
+
+src_prepare() {
+   default
+
+   # Use completely our own CFLAGS/LDFLAGS, no stripping and so on
+   sed -i \
+   -e 's/+= -std=c11 @pkgcflags@ ${CFLAGS}/= -std=c11 @pkgcflags@ 
${CPPFLAGS} ${CFLAGS} ${LDFLAGS}/' \
+   -e 's/+= @pkgldflags@ ${LDFLAGS}/= @pkgldflags@ ${LDFLAGS}/' \
+   -e s'/${INSTALL} -m 755 -s/${INSTALL} -m 755/' \
+   -e '/man[6]dir/d' \
+   Config.mk.in || die
+
+   # Yes, this stinks.
+   # Right now, the custom configure script calls pkg-config manually
+   # and seds it a bunch, and this is easier.
+   # Force looking for both ncurses and ncursesw
+   sed -i -e 's/pkgs="ncurses"/pkgs="ncursesw"/' configure || die
+
+   cp "${FILESDIR}"/config.params-gentoo config.params || die
+   echo 

[gentoo-commits] repo/gentoo:master commit in: games-misc/bsd-games/

2022-05-28 Thread Jakov Smolić
commit: 7f26922fd9b0f436c162ebcdf01a066c1e3738ed
Author: Han Gao  gmail  com>
AuthorDate: Sat May 28 14:14:16 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Sat May 28 15:05:54 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7f26922f

games-misc/bsd-games: fix atomic in riscv

Bug: https://bugs.gentoo.org/847904
Signed-off-by: Han Gao  gmail.com>
Signed-off-by: Jakov Smolić  gentoo.org>

 games-misc/bsd-games/bsd-games-3.1-r2.ebuild | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/games-misc/bsd-games/bsd-games-3.1-r2.ebuild 
b/games-misc/bsd-games/bsd-games-3.1-r2.ebuild
index 748268ebe63e..bae51ec41a4f 100644
--- a/games-misc/bsd-games/bsd-games-3.1-r2.ebuild
+++ b/games-misc/bsd-games/bsd-games-3.1-r2.ebuild
@@ -67,6 +67,9 @@ src_prepare() {
echo bsd_games_cfg_usrlibdir=\"$(get_libdir)\" >> ./config.params || die
echo bsd_games_cfg_build_dirs=\"${GAMES_TO_BUILD}\" >> ./config.params 
|| die
echo bsd_games_cfg_docdir=\"/usr/share/doc/${PF}\" >> ./config.params 
|| die
+   if use riscv; then
+   sed -i 's/${CC} ${ldflags} -o $@ $^/${CC} ${ldflags} -o $@ $^ 
-latomic/' ./*/Module.mk || die
+   fi
 }
 
 src_configure() {



[gentoo-commits] repo/gentoo:master commit in: games-misc/bsd-games/

2022-05-28 Thread Jakov Smolić
commit: 9c702e844bc3d761c305894e4dbc4436c05ba71a
Author: Han Gao  gmail  com>
AuthorDate: Sat May 28 14:15:49 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Sat May 28 15:05:54 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9c702e84

games-misc/bsd-games: riscv keywording

Closes: https://bugs.gentoo.org/847904
Closes: https://bugs.gentoo.org/841230
Signed-off-by: Han Gao  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/25664
Signed-off-by: Jakov Smolić  gentoo.org>

 games-misc/bsd-games/bsd-games-3.1-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/games-misc/bsd-games/bsd-games-3.1-r2.ebuild 
b/games-misc/bsd-games/bsd-games-3.1-r2.ebuild
index bae51ec41a4f..f59c5b239dfb 100644
--- a/games-misc/bsd-games/bsd-games-3.1-r2.ebuild
+++ b/games-misc/bsd-games/bsd-games-3.1-r2.ebuild
@@ -14,7 +14,7 @@ LICENSE="BSD"
 # Subslot indicates the fork / new version
 # 3 doesn't include the same games as the classic variant, etc
 SLOT="0/3"
-KEYWORDS="~alpha ~amd64 ~hppa ~mips ~x86"
+KEYWORDS="~alpha ~amd64 ~hppa ~mips ~riscv ~x86"
 
 # 'check' target doesn't exist, nor do any actual tests
 # bug #779649



[gentoo-commits] repo/gentoo:master commit in: games-misc/bsd-games/

2022-04-30 Thread Jakov Smolić
commit: 014bec8f7ead49c1cba5a9d8712c46f2f2860236
Author: Jakov Smolić  gentoo  org>
AuthorDate: Sat Apr 30 12:23:53 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Sat Apr 30 12:23:53 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=014bec8f

games-misc/bsd-games: Keyword 3.1-r2 mips, #841230

Signed-off-by: Jakov Smolić  gentoo.org>

 games-misc/bsd-games/bsd-games-3.1-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/games-misc/bsd-games/bsd-games-3.1-r2.ebuild 
b/games-misc/bsd-games/bsd-games-3.1-r2.ebuild
index 19eb91924bd3..748268ebe63e 100644
--- a/games-misc/bsd-games/bsd-games-3.1-r2.ebuild
+++ b/games-misc/bsd-games/bsd-games-3.1-r2.ebuild
@@ -14,7 +14,7 @@ LICENSE="BSD"
 # Subslot indicates the fork / new version
 # 3 doesn't include the same games as the classic variant, etc
 SLOT="0/3"
-KEYWORDS="~alpha ~amd64 ~hppa ~x86"
+KEYWORDS="~alpha ~amd64 ~hppa ~mips ~x86"
 
 # 'check' target doesn't exist, nor do any actual tests
 # bug #779649



[gentoo-commits] repo/gentoo:master commit in: games-misc/bsd-games/

2022-02-15 Thread Matt Turner
commit: 1098f245f7afc8c03d311949443dc6db2ac511dd
Author: Matt Turner  gentoo  org>
AuthorDate: Tue Feb 15 18:31:19 2022 +
Commit: Matt Turner  gentoo  org>
CommitDate: Tue Feb 15 18:31:19 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1098f245

games-misc/bsd-games: Keyword 3.1-r2 alpha, #779628

Signed-off-by: Matt Turner  gentoo.org>

 games-misc/bsd-games/bsd-games-3.1-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/games-misc/bsd-games/bsd-games-3.1-r2.ebuild 
b/games-misc/bsd-games/bsd-games-3.1-r2.ebuild
index 8d16aaedfbdc..19eb91924bd3 100644
--- a/games-misc/bsd-games/bsd-games-3.1-r2.ebuild
+++ b/games-misc/bsd-games/bsd-games-3.1-r2.ebuild
@@ -14,7 +14,7 @@ LICENSE="BSD"
 # Subslot indicates the fork / new version
 # 3 doesn't include the same games as the classic variant, etc
 SLOT="0/3"
-KEYWORDS="~amd64 ~hppa ~x86"
+KEYWORDS="~alpha ~amd64 ~hppa ~x86"
 
 # 'check' target doesn't exist, nor do any actual tests
 # bug #779649



[gentoo-commits] repo/gentoo:master commit in: games-misc/bsd-games/

2022-01-24 Thread Sam James
commit: f4772d47fc979e03ed441a88a8ff5f1e91b3e9c8
Author: Rolf Eike Beer  sf-mail  de>
AuthorDate: Mon Jan 24 17:00:32 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Jan 24 19:19:03 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f4772d47

games-misc/bsd-games: keyword 3.1-r2 for hppa, bug #831611

Package-Manager: Portage-3.0.28, Repoman-3.0.3
RepoMan-Options: --include-arches="hppa"
Signed-off-by: Rolf Eike Beer  sf-mail.de>
Signed-off-by: Sam James  gentoo.org>

 games-misc/bsd-games/bsd-games-3.1-r2.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/games-misc/bsd-games/bsd-games-3.1-r2.ebuild 
b/games-misc/bsd-games/bsd-games-3.1-r2.ebuild
index 120178db7fa8..8d16aaedfbdc 100644
--- a/games-misc/bsd-games/bsd-games-3.1-r2.ebuild
+++ b/games-misc/bsd-games/bsd-games-3.1-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -14,7 +14,7 @@ LICENSE="BSD"
 # Subslot indicates the fork / new version
 # 3 doesn't include the same games as the classic variant, etc
 SLOT="0/3"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 ~hppa ~x86"
 
 # 'check' target doesn't exist, nor do any actual tests
 # bug #779649



[gentoo-commits] repo/gentoo:master commit in: games-misc/bsd-games/

2021-11-19 Thread Sam James
commit: 8a985b96a0774489bc5ef773f60e5b2d615845c8
Author: Sam James  gentoo  org>
AuthorDate: Fri Nov 19 11:21:27 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Nov 19 11:32:56 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8a985b96

games-misc/bsd-games: drop obsolete src_test

No tests exist for this package anyway.

Signed-off-by: Sam James  gentoo.org>

 games-misc/bsd-games/bsd-games-3.1-r2.ebuild | 5 -
 1 file changed, 5 deletions(-)

diff --git a/games-misc/bsd-games/bsd-games-3.1-r2.ebuild 
b/games-misc/bsd-games/bsd-games-3.1-r2.ebuild
index 6761d8d9c59a..120178db7fa8 100644
--- a/games-misc/bsd-games/bsd-games-3.1-r2.ebuild
+++ b/games-misc/bsd-games/bsd-games-3.1-r2.ebuild
@@ -79,11 +79,6 @@ src_compile() {
emake CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
 }
 
-src_test() {
-   addwrite /dev/full
-   emake -j1 check
-}
-
 src_install() {
dodir /var/games
emake DESTDIR="${D}" install



[gentoo-commits] repo/gentoo:master commit in: games-misc/bsd-games/

2021-11-19 Thread Sam James
commit: 2e2776113d8a71d2eedd2949f7eeebb7d99f45eb
Author: Sam James  gentoo  org>
AuthorDate: Fri Nov 19 11:20:39 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Nov 19 11:32:55 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2e277611

games-misc/bsd-games: remove -j1

No longer needed, inherited from the old ebuild (pre build system rewrite).

Signed-off-by: Sam James  gentoo.org>

 games-misc/bsd-games/bsd-games-3.1-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/games-misc/bsd-games/bsd-games-3.1-r2.ebuild 
b/games-misc/bsd-games/bsd-games-3.1-r2.ebuild
index ba3c5f5dd7c4..6761d8d9c59a 100644
--- a/games-misc/bsd-games/bsd-games-3.1-r2.ebuild
+++ b/games-misc/bsd-games/bsd-games-3.1-r2.ebuild
@@ -86,7 +86,7 @@ src_test() {
 
 src_install() {
dodir /var/games
-   emake -j1 DESTDIR="${D}" install
+   emake DESTDIR="${D}" install
 
_build_game() {
has ${1} ${GAMES_TO_BUILD}



[gentoo-commits] repo/gentoo:master commit in: games-misc/bsd-games/

2021-07-26 Thread David Seifert
commit: 1c306d7f093b372aca302cfaf7731e7d03eac0f2
Author: David Seifert  gentoo  org>
AuthorDate: Mon Jul 26 13:22:06 2021 +
Commit: David Seifert  gentoo  org>
CommitDate: Mon Jul 26 13:22:06 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c306d7f

games-misc/bsd-games: Fix ncurses[unicode(+)] breakage

Closes: https://bugs.gentoo.org/803194
Signed-off-by: David Seifert  gentoo.org>

 .../{bsd-games-3.1-r1.ebuild => bsd-games-3.1-r2.ebuild}   | 10 --
 1 file changed, 4 insertions(+), 6 deletions(-)

diff --git a/games-misc/bsd-games/bsd-games-3.1-r1.ebuild 
b/games-misc/bsd-games/bsd-games-3.1-r2.ebuild
similarity index 95%
rename from games-misc/bsd-games/bsd-games-3.1-r1.ebuild
rename to games-misc/bsd-games/bsd-games-3.1-r2.ebuild
index 68e5a80674f..ba3c5f5dd7c 100644
--- a/games-misc/bsd-games/bsd-games-3.1-r1.ebuild
+++ b/games-misc/bsd-games/bsd-games-3.1-r2.ebuild
@@ -22,7 +22,7 @@ RESTRICT="test"
 
 DEPEND="
sys-apps/miscfiles
-   sys-libs/ncurses:=
+   sys-libs/ncurses:=[unicode(+)]
!games-puzzle/hangman
!games-misc/wumpus
 "
@@ -60,10 +60,8 @@ src_prepare() {
# Yes, this stinks.
# Right now, the custom configure script calls pkg-config manually
# and seds it a bunch, and this is easier.
-   if has_version sys-libs/ncurses[unicode] ; then
-   # Force looking for both ncurses and ncursesw
-   sed -i -e 's/pkgs="ncurses"/pkgs="ncursesw"/' configure || die
-   fi
+   # Force looking for both ncurses and ncursesw
+   sed -i -e 's/pkgs="ncurses"/pkgs="ncursesw"/' configure || die
 
cp "${FILESDIR}"/config.params-gentoo config.params || die
echo bsd_games_cfg_usrlibdir=\"$(get_libdir)\" >> ./config.params || die
@@ -151,5 +149,5 @@ src_install() {
fowners -R :gamestat /usr/bin/
 
# State dirs
-   chmod -R ug+rw "${ED}"/var/games/ || die
+   fperms -R ug+rw /var/games/
 }



[gentoo-commits] repo/gentoo:master commit in: games-misc/bsd-games/

2021-07-12 Thread Sam James
commit: 3ab36a96d90505b3f637b5b6044e3e8c293b2ed2
Author: Sam James  gentoo  org>
AuthorDate: Mon Jul 12 22:08:14 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Jul 12 22:08:14 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3ab36a96

games-misc/bsd-games: Keyword 3.1-r1 x86, #779628

Signed-off-by: Sam James  gentoo.org>

 games-misc/bsd-games/bsd-games-3.1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/games-misc/bsd-games/bsd-games-3.1-r1.ebuild 
b/games-misc/bsd-games/bsd-games-3.1-r1.ebuild
index dba41d2b82a..68e5a80674f 100644
--- a/games-misc/bsd-games/bsd-games-3.1-r1.ebuild
+++ b/games-misc/bsd-games/bsd-games-3.1-r1.ebuild
@@ -14,7 +14,7 @@ LICENSE="BSD"
 # Subslot indicates the fork / new version
 # 3 doesn't include the same games as the classic variant, etc
 SLOT="0/3"
-KEYWORDS="~amd64"
+KEYWORDS="~amd64 ~x86"
 
 # 'check' target doesn't exist, nor do any actual tests
 # bug #779649



[gentoo-commits] repo/gentoo:master commit in: games-misc/bsd-games/

2021-05-28 Thread James Le Cuirot
commit: bcfc5ce8ed5aba6ecbb13bf1bae02f0ff2795a4a
Author: Alessandro Barbieri  gmail  com>
AuthorDate: Mon Apr 12 08:41:50 2021 +
Commit: James Le Cuirot  gentoo  org>
CommitDate: Fri May 28 22:43:24 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bcfc5ce8

games-misc/bsd-games: banner and wtf blockers dropped

this version doesn't provide banner and wtf
so the blockers aren't necessary

Closes: https://bugs.gentoo.org/792306
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Alessandro Barbieri  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/20344
Signed-off-by: James Le Cuirot  gentoo.org>

 games-misc/bsd-games/bsd-games-3.1-r1.ebuild | 2 --
 1 file changed, 2 deletions(-)

diff --git a/games-misc/bsd-games/bsd-games-3.1-r1.ebuild 
b/games-misc/bsd-games/bsd-games-3.1-r1.ebuild
index 5c2e6fdd131..dba41d2b82a 100644
--- a/games-misc/bsd-games/bsd-games-3.1-r1.ebuild
+++ b/games-misc/bsd-games/bsd-games-3.1-r1.ebuild
@@ -23,8 +23,6 @@ RESTRICT="test"
 DEPEND="
sys-apps/miscfiles
sys-libs/ncurses:=
-   !games-misc/wtf
-   !app-misc/banner
!games-puzzle/hangman
!games-misc/wumpus
 "



[gentoo-commits] repo/gentoo:master commit in: games-misc/bsd-games/

2021-04-09 Thread Sam James
commit: 7beaefb3534cac53083ad7e52f7c1b55cbc6990a
Author: Sam James  gentoo  org>
AuthorDate: Sat Apr 10 00:32:20 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Apr 10 00:32:20 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7beaefb3

games-misc/bsd-games: disable non-existent tests

Closes: https://bugs.gentoo.org/779649
Signed-off-by: Sam James  gentoo.org>

 games-misc/bsd-games/bsd-games-3.1-r1.ebuild | 4 
 1 file changed, 4 insertions(+)

diff --git a/games-misc/bsd-games/bsd-games-3.1-r1.ebuild 
b/games-misc/bsd-games/bsd-games-3.1-r1.ebuild
index f3a23be5c55..5c2e6fdd131 100644
--- a/games-misc/bsd-games/bsd-games-3.1-r1.ebuild
+++ b/games-misc/bsd-games/bsd-games-3.1-r1.ebuild
@@ -16,6 +16,10 @@ LICENSE="BSD"
 SLOT="0/3"
 KEYWORDS="~amd64"
 
+# 'check' target doesn't exist, nor do any actual tests
+# bug #779649
+RESTRICT="test"
+
 DEPEND="
sys-apps/miscfiles
sys-libs/ncurses:=



[gentoo-commits] repo/gentoo:master commit in: games-misc/bsd-games/files/

2021-04-04 Thread Conrad Kostecki
commit: dda04268ab0b85d9ba3709b545c0c2f388dd22ca
Author: Michael Mair-Keimberger  levelnine  at>
AuthorDate: Sun Apr  4 20:01:10 2021 +
Commit: Conrad Kostecki  gentoo  org>
CommitDate: Mon Apr  5 00:06:31 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dda04268

games-misc/bsd-games: remove unused patch

Closes: https://github.com/gentoo/gentoo/pull/20258
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Michael Mair-Keimberger  levelnine.at>
Signed-off-by: Conrad Kostecki  gentoo.org>

 games-misc/bsd-games/files/bsd-games-2.17-headers.patch | 16 
 1 file changed, 16 deletions(-)

diff --git a/games-misc/bsd-games/files/bsd-games-2.17-headers.patch 
b/games-misc/bsd-games/files/bsd-games-2.17-headers.patch
deleted file mode 100644
index 418d411660e..000
--- a/games-misc/bsd-games/files/bsd-games-2.17-headers.patch
+++ /dev/null
@@ -1,16 +0,0 @@
-http://bugs.gentoo.org/128348
-
 a/include/stdio.h
-+++ b/include/stdio.h
-@@ -35,5 +35,11 @@
- #include_next 
- 
- #ifndef HAVE_fgetln
-+#ifdef __cplusplus
-+extern "C" {
-+#endif
- extern char *fgetln(FILE *stream, size_t *len);
-+#ifdef __cplusplus
-+}
-+#endif
- #endif



[gentoo-commits] repo/gentoo:master commit in: games-misc/bsd-games/

2021-04-04 Thread Sam James
commit: 9c861b2f0f6b4ed8ca4c83466c113d165918cc78
Author: Sam James  gentoo  org>
AuthorDate: Sun Apr  4 09:10:30 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Apr  4 09:16:04 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9c861b2f

games-misc/bsd-games: add blocker on games-misc/wumpus to 3.1

Closes: https://bugs.gentoo.org/779709
Signed-off-by: Sam James  gentoo.org>

 games-misc/bsd-games/{bsd-games-3.1.ebuild => bsd-games-3.1-r1.ebuild} | 1 +
 1 file changed, 1 insertion(+)

diff --git a/games-misc/bsd-games/bsd-games-3.1.ebuild 
b/games-misc/bsd-games/bsd-games-3.1-r1.ebuild
similarity index 99%
rename from games-misc/bsd-games/bsd-games-3.1.ebuild
rename to games-misc/bsd-games/bsd-games-3.1-r1.ebuild
index 1ed835abaf3..c88dfc273bb 100644
--- a/games-misc/bsd-games/bsd-games-3.1.ebuild
+++ b/games-misc/bsd-games/bsd-games-3.1-r1.ebuild
@@ -20,6 +20,7 @@ DEPEND="
!games-misc/wtf
!app-misc/banner
!games-puzzle/hangman
+   !games-misc/wumpus
 "
 RDEPEND="
${DEPEND}



[gentoo-commits] repo/gentoo:master commit in: games-misc/bsd-games/

2021-04-04 Thread Sam James
commit: 00a91057ec4b7422933616be29c2cba54058c6e2
Author: Sam James  gentoo  org>
AuthorDate: Sun Apr  4 09:09:26 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Apr  4 09:16:03 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=00a91057

games-misc/bsd-games: fix app-misc/banner blocker in 2.17_p28

Closes: https://bugs.gentoo.org/779712
Signed-off-by: Sam James  gentoo.org>

 .../{bsd-games-2.17_p28.ebuild => bsd-games-2.17_p28-r1.ebuild} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/games-misc/bsd-games/bsd-games-2.17_p28.ebuild 
b/games-misc/bsd-games/bsd-games-2.17_p28-r1.ebuild
similarity index 99%
rename from games-misc/bsd-games/bsd-games-2.17_p28.ebuild
rename to games-misc/bsd-games/bsd-games-2.17_p28-r1.ebuild
index 4a8c2c3ed4f..c98a641fd78 100644
--- a/games-misc/bsd-games/bsd-games-2.17_p28.ebuild
+++ b/games-misc/bsd-games/bsd-games-2.17_p28-r1.ebuild
@@ -20,7 +20,7 @@ KEYWORDS="~alpha ~amd64 ~x86"
 DEPEND="
sys-apps/miscfiles
sys-libs/ncurses:0
-   app-misc/banner
+   !app-misc/banner
!games-misc/wtf
!games-puzzle/hangman
 "



[gentoo-commits] repo/gentoo:master commit in: games-misc/bsd-games/

2021-04-04 Thread Sam James
commit: 0456585cdb72c18c163595711f35d32a983ab31e
Author: Sam James  gentoo  org>
AuthorDate: Sun Apr  4 09:07:23 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Apr  4 09:16:01 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0456585c

games-misc/bsd-games: use PATCHES

Signed-off-by: Sam James  gentoo.org>

 games-misc/bsd-games/bsd-games-3.1.ebuild | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/games-misc/bsd-games/bsd-games-3.1.ebuild 
b/games-misc/bsd-games/bsd-games-3.1.ebuild
index 26ecc3aaa89..1ed835abaf3 100644
--- a/games-misc/bsd-games/bsd-games-3.1.ebuild
+++ b/games-misc/bsd-games/bsd-games-3.1.ebuild
@@ -32,6 +32,7 @@ BDEPEND="
 "
 
 PATCHES=(
+   "${WORKDIR}"/${PN}-3.1-verbose-build.patch
"${FILESDIR}"/${PN}-3.1-no-install-manpages-automatically.patch
 )
 
@@ -41,8 +42,6 @@ dab drop4 gofish gomoku hangman klondike robots sail snake 
spirhunt
 worm wump}
 
 src_prepare() {
-   eapply "${WORKDIR}"/${PN}-3.1-verbose-build.patch
-
default
 
# Use completely our own CFLAGS/LDFLAGS, no stripping and so on



[gentoo-commits] repo/gentoo:master commit in: games-misc/bsd-games/

2021-04-04 Thread Sam James
commit: 23c0428b093a919b4b36571afbe5a3a2749f433f
Author: Sam James  gentoo  org>
AuthorDate: Sun Apr  4 09:13:39 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Apr  4 09:16:05 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=23c0428b

games-misc/bsd-games: give 3.x its own subslot, 0/3

Doesn't provide the same games or all the same functionality. This will
also make it easier for users to pick which one to mask locally, etc.

Easier for blockers and so on too.

Closes: https://bugs.gentoo.org/779709
Signed-off-by: Sam James  gentoo.org>

 games-misc/bsd-games/bsd-games-3.1-r1.ebuild | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/games-misc/bsd-games/bsd-games-3.1-r1.ebuild 
b/games-misc/bsd-games/bsd-games-3.1-r1.ebuild
index c88dfc273bb..f3a23be5c55 100644
--- a/games-misc/bsd-games/bsd-games-3.1-r1.ebuild
+++ b/games-misc/bsd-games/bsd-games-3.1-r1.ebuild
@@ -11,7 +11,9 @@ 
SRC_URI="https://github.com/msharov/bsd-games/archive/refs/tags/v${PV}.tar.gz ->
 SRC_URI+=" 
https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${P}-verbose-build.patch.gz;
 
 LICENSE="BSD"
-SLOT="0"
+# Subslot indicates the fork / new version
+# 3 doesn't include the same games as the classic variant, etc
+SLOT="0/3"
 KEYWORDS="~amd64"
 
 DEPEND="



[gentoo-commits] repo/gentoo:master commit in: games-misc/bsd-games/

2021-04-04 Thread Sam James
commit: 7ee59df73f1203327cf83e15036d61e533e543da
Author: Sam James  gentoo  org>
AuthorDate: Sun Apr  4 08:12:16 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Apr  4 08:13:06 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7ee59df7

games-misc/bsd-games: flag-o-matic--

Signed-off-by: Sam James  gentoo.org>

 games-misc/bsd-games/bsd-games-2.17_p28.ebuild | 2 +-
 games-misc/bsd-games/bsd-games-3.1.ebuild  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/games-misc/bsd-games/bsd-games-2.17_p28.ebuild 
b/games-misc/bsd-games/bsd-games-2.17_p28.ebuild
index 2ed12a52b33..4a8c2c3ed4f 100644
--- a/games-misc/bsd-games/bsd-games-2.17_p28.ebuild
+++ b/games-misc/bsd-games/bsd-games-2.17_p28.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit toolchain-funcs flag-o-matic
+inherit toolchain-funcs
 
 DEB_PATCH_VER=28
 DESCRIPTION="Collection of games from NetBSD"

diff --git a/games-misc/bsd-games/bsd-games-3.1.ebuild 
b/games-misc/bsd-games/bsd-games-3.1.ebuild
index 9d1bc6d4120..26ecc3aaa89 100644
--- a/games-misc/bsd-games/bsd-games-3.1.ebuild
+++ b/games-misc/bsd-games/bsd-games-3.1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit toolchain-funcs flag-o-matic
+inherit toolchain-funcs
 
 DESCRIPTION="collection of games from NetBSD"
 HOMEPAGE="https://www.polyomino.org.uk/computer/software/bsd-games/;



[gentoo-commits] repo/gentoo:master commit in: games-misc/bsd-games/files/, games-misc/bsd-games/

2021-03-31 Thread Sam James
commit: 5fa8041c6e3cfb5b627ddd9ed7410caf2362a7a4
Author: Sam James  gentoo  org>
AuthorDate: Wed Mar 31 20:30:37 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Mar 31 23:38:46 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5fa8041c

games-misc/bsd-games: drop 2.17-r5 (games.eclass) => rebase patches as -p1

Signed-off-by: Sam James  gentoo.org>

 games-misc/bsd-games/Manifest  |   2 -
 games-misc/bsd-games/bsd-games-2.17-r5.ebuild  | 132 -
 games-misc/bsd-games/bsd-games-2.17_p28.ebuild |  10 +-
 .../bsd-games/files/bsd-games-2.17-64bitutmp.patch |   4 +-
 games-misc/bsd-games/files/bsd-games-2.17-bg.patch |   4 +-
 .../bsd-games/files/bsd-games-2.17-gcc4.patch  |   8 +-
 .../bsd-games/files/bsd-games-2.17-headers.patch   |   4 +-
 .../bsd-games-2.17-rename-getdate-clash.patch  |   6 -
 ...mes-3.1-no-install-manpages-automatically.patch |   2 -
 9 files changed, 14 insertions(+), 158 deletions(-)

diff --git a/games-misc/bsd-games/Manifest b/games-misc/bsd-games/Manifest
index fa75813e015..7bc99d0ea37 100644
--- a/games-misc/bsd-games/Manifest
+++ b/games-misc/bsd-games/Manifest
@@ -1,6 +1,4 @@
-DIST bsd-games-2.17.tar.gz 2563311 BLAKE2B 
9dfff4e70929e14a422c536c661cd95c5f1ac81d9112494525b9ef13d7a39b66bd59b6a264e614cfb29784fdb63364f56b12b4d284b125b5b3c12e92def07fb0
 SHA512 
cb2ee60474f164d42e3d47700270bbeeda3c8279d64da409c9cc05e36437ef95b92d0a85543298e97604635fcf3e068f3a5cc812e90b5c61fb8d146cf35bc38f
 DIST bsd-games-3.1-verbose-build.patch.gz 4633 BLAKE2B 
cc75175ac2ef9d476c03bdb08b8c054d13090d6cdd1a14dd44022d13290112c68a7663d0c03f9ca7535ea10f2bb5e49a84acca4f782f0ced59685f762efd5151
 SHA512 
120c0859bb73a026dae017bcc2bc7505ca156b454bf5f87c91b4887417d5ac62f3dec706af91b22b11be8b5bce11d168f9205d722a9fd30dea654f682a66b1c8
 DIST bsd-games-3.1.tar.gz 267636 BLAKE2B 
116b340e383430fc56e9d2379a398494b43664aa124157bfa01f2c6a76ebdc90128cc676abae83b6d74680b0ad9396d24f1c0d11adcff1f552a3e68717b8cc8f
 SHA512 
3f311e89481913b734a21fc7d0765628637af8251228d5a38349c27cc702c307240e81711785bbd7428e208a142bd07597630d29e97e2c7bf5bd9cac1ebc6ada
-DIST bsdgames_2.17-22.debian.tar.xz 32268 BLAKE2B 
2485abc1d80b8319c7eb68e2747c0a4166d18079047eca67c1de549cd011f75a767b6fe69021cb4ce09aaf029823a097e6ac658efcab5e19e976a89ed798d06f
 SHA512 
902d86557dd3813c31333fe18437d8046ae100814c9c1b340ab1f8266c817545f21e000702b1ca93babb9d632896ea5bada1e146436abfa7916b469681fceed5
 DIST bsdgames_2.17-28.debian.tar.xz 58464 BLAKE2B 
3f5a70322341b153a8b3cb8df81fea1e773971d0f3b79ba8fb0c0877e95c61c8e8689952333f8ac4263948d781c2dc64c8178f9dac6a1c09ae702f91794b9583
 SHA512 
7e2db9f830c0657f3fcd1371635bda4a87e7a68180e486e44752904740c0710c02271522ff2d4b606542b3c502dd28795fcecf883360c3ac5bea78c148281f6a
 DIST bsdgames_2.17.orig.tar.gz 2563311 BLAKE2B 
9dfff4e70929e14a422c536c661cd95c5f1ac81d9112494525b9ef13d7a39b66bd59b6a264e614cfb29784fdb63364f56b12b4d284b125b5b3c12e92def07fb0
 SHA512 
cb2ee60474f164d42e3d47700270bbeeda3c8279d64da409c9cc05e36437ef95b92d0a85543298e97604635fcf3e068f3a5cc812e90b5c61fb8d146cf35bc38f

diff --git a/games-misc/bsd-games/bsd-games-2.17-r5.ebuild 
b/games-misc/bsd-games/bsd-games-2.17-r5.ebuild
deleted file mode 100644
index 6679e61b5fc..000
--- a/games-misc/bsd-games/bsd-games-2.17-r5.ebuild
+++ /dev/null
@@ -1,132 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-inherit eutils toolchain-funcs games
-
-DEB_PATCH_VER=22
-DESCRIPTION="collection of games from NetBSD"
-HOMEPAGE="https://www.polyomino.org.uk/computer/software/bsd-games/;
-SRC_URI="https://www.polyomino.org.uk/computer/software/bsd-games/${P}.tar.gz
-   
mirror://debian/pool/main/b/bsdgames/bsdgames_${PV}-${DEB_PATCH_VER}.debian.tar.xz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~x86"
-IUSE=""
-
-RDEPEND="!games-misc/wtf
-   !app-misc/banner
-   !games-puzzle/hangman
-   sys-libs/ncurses:0
-   sys-apps/miscfiles"
-DEPEND="${RDEPEND}
-   sys-devel/flex
-   sys-devel/bison
-   virtual/pkgconfig"
-
-# Set GAMES_TO_BUILD variable to whatever you want
-GAMES_TO_BUILD=${GAMES_TO_BUILD:=adventure arithmetic atc
-backgammon banner battlestar bcd boggle caesar canfield countmail cribbage
-dab dm factor fish gomoku hack hangman hunt mille monop morse
-number phantasia pig pom ppt primes quiz rain random robots sail snake
-tetris trek wargames worm worms wtf}
-
-src_prepare() {
-   local d="${WORKDIR}"/debian/patches
-   EPATCH_SOURCE="${d}" epatch $(<"${d}"/series)
-
-   # Used by gentoo config.params. See bug 531200
-   export GAMES_BINDIR GAMES_DATADIR GAMES_STATEDIR
-
-   epatch \
-   "${FILESDIR}"/${P}-64bitutmp.patch \
-   "${FILESDIR}"/${P}-headers.patch \
-   "${FILESDIR}"/${P}-bg.patch \
-   "${FILESDIR}"/${P}-gcc4.patch
-
-   # Use pkg-config to query Libs: from ncurses.pc 

[gentoo-commits] repo/gentoo:master commit in: games-misc/bsd-games/files/, games-misc/bsd-games/

2021-03-31 Thread Sam James
commit: 0c13ca36bf039e92078a64b63d84d04949948ef4
Author: Sam James  gentoo  org>
AuthorDate: Wed Mar 31 20:28:10 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Mar 31 23:38:44 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0c13ca36

games-misc/bsd-games: add 2.17_p28

Upgrade to new Debian patchset (p28) which may help resolve
some of the open bugs. It's also a nice stopgap because
the new fork upstream drops some games and it means
we don't take as big of a risk when simply
porting away from games.eclass.

(Not dumping games.eclass *AND* choosing a new upstream
all at once, with no option for users to downgrade.)

Bug: https://bugs.gentoo.org/732374
Bug: https://bugs.gentoo.org/537010
Bug: https://bugs.gentoo.org/715778
Signed-off-by: Sam James  gentoo.org>

 games-misc/bsd-games/Manifest  |   2 +
 games-misc/bsd-games/bsd-games-2.17_p28.ebuild | 155 +
 .../bsd-games-2.17-rename-getdate-clash.patch  |  39 ++
 3 files changed, 196 insertions(+)

diff --git a/games-misc/bsd-games/Manifest b/games-misc/bsd-games/Manifest
index c48313d617e..2bccdb8acb3 100644
--- a/games-misc/bsd-games/Manifest
+++ b/games-misc/bsd-games/Manifest
@@ -1,2 +1,4 @@
 DIST bsd-games-2.17.tar.gz 2563311 BLAKE2B 
9dfff4e70929e14a422c536c661cd95c5f1ac81d9112494525b9ef13d7a39b66bd59b6a264e614cfb29784fdb63364f56b12b4d284b125b5b3c12e92def07fb0
 SHA512 
cb2ee60474f164d42e3d47700270bbeeda3c8279d64da409c9cc05e36437ef95b92d0a85543298e97604635fcf3e068f3a5cc812e90b5c61fb8d146cf35bc38f
 DIST bsdgames_2.17-22.debian.tar.xz 32268 BLAKE2B 
2485abc1d80b8319c7eb68e2747c0a4166d18079047eca67c1de549cd011f75a767b6fe69021cb4ce09aaf029823a097e6ac658efcab5e19e976a89ed798d06f
 SHA512 
902d86557dd3813c31333fe18437d8046ae100814c9c1b340ab1f8266c817545f21e000702b1ca93babb9d632896ea5bada1e146436abfa7916b469681fceed5
+DIST bsdgames_2.17-28.debian.tar.xz 58464 BLAKE2B 
3f5a70322341b153a8b3cb8df81fea1e773971d0f3b79ba8fb0c0877e95c61c8e8689952333f8ac4263948d781c2dc64c8178f9dac6a1c09ae702f91794b9583
 SHA512 
7e2db9f830c0657f3fcd1371635bda4a87e7a68180e486e44752904740c0710c02271522ff2d4b606542b3c502dd28795fcecf883360c3ac5bea78c148281f6a
+DIST bsdgames_2.17.orig.tar.gz 2563311 BLAKE2B 
9dfff4e70929e14a422c536c661cd95c5f1ac81d9112494525b9ef13d7a39b66bd59b6a264e614cfb29784fdb63364f56b12b4d284b125b5b3c12e92def07fb0
 SHA512 
cb2ee60474f164d42e3d47700270bbeeda3c8279d64da409c9cc05e36437ef95b92d0a85543298e97604635fcf3e068f3a5cc812e90b5c61fb8d146cf35bc38f

diff --git a/games-misc/bsd-games/bsd-games-2.17_p28.ebuild 
b/games-misc/bsd-games/bsd-games-2.17_p28.ebuild
new file mode 100644
index 000..fc382f97d8c
--- /dev/null
+++ b/games-misc/bsd-games/bsd-games-2.17_p28.ebuild
@@ -0,0 +1,155 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit toolchain-funcs flag-o-matic
+
+DEB_PATCH_VER=28
+DESCRIPTION="Collection of games from NetBSD"
+HOMEPAGE="https://www.polyomino.org.uk/computer/software/bsd-games/;
+#SRC_URI="https://www.polyomino.org.uk/computer/software/bsd-games/${PN}-$(ver_cut
 1-2).tar.gz"
+SRC_URI="http://deb.debian.org/debian/pool/main/b/bsdgames/bsdgames_2.17.orig.tar.gz;
+SRC_URI+=" mirror://debian/pool/main/b/bsdgames/bsdgames_$(ver_cut 
1-2)-${DEB_PATCH_VER}.debian.tar.xz"
+S="${WORKDIR}/${PN}-$(ver_cut 1-2)"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~x86"
+
+DEPEND="
+   sys-apps/miscfiles
+   sys-libs/ncurses:0
+   app-misc/banner
+   !games-misc/wtf
+   !games-puzzle/hangman
+"
+RDEPEND="
+   ${DEPEND}
+   acct-group/gamestat
+"
+BDEPEND="
+   sys-devel/bison
+   sys-devel/flex
+   virtual/pkgconfig
+"
+
+# Set GAMES_TO_BUILD variable to whatever you want
+GAMES_TO_BUILD=${GAMES_TO_BUILD:=adventure arithmetic atc
+backgammon banner battlestar bcd boggle caesar canfield countmail cribbage
+dab dm fish gomoku hack hangman hunt mille monop morse
+number phantasia pig pom primes ppt quiz rain random robots sail snake
+tetris trek wargames worm worms wtf}
+
+src_prepare() {
+   local debian_patch_dir="${WORKDIR}"/debian/patches
+   for patch in $(<"${debian_patch_dir}"/series) ; do
+   eapply "${debian_patch_dir}"/${patch}
+   done
+
+   eapply "${FILESDIR}"/${PN}-2.17-64bitutmp.patch
+   eapply -p0 "${FILESDIR}"/${PN}-2.17-bg.patch
+   eapply -p0 "${FILESDIR}"/${PN}-2.17-gcc4.patch
+   eapply "${FILESDIR}"/${PN}-2.17-rename-getdate-clash.patch
+
+   default
+
+   # TODO: Check this?
+   # Used by gentoo config.params. See bug 531200
+
+   # Use pkg-config to query Libs: from ncurses.pc (for eg. -ltinfo) wrt 
#459652
+   sed -i \
+   -e "/ncurses_lib/s:-lncurses:'$($(tc-getPKG_CONFIG) 
--libs-only-l ncurses)':" \
+   configure || die
+
+   sed -i \
+   -e "s:/usr/games:/usr/bin:" \
+   wargames/wargames || die
+
+  

[gentoo-commits] repo/gentoo:master commit in: games-misc/bsd-games/files/, games-misc/bsd-games/

2021-03-31 Thread Sam James
commit: 6898e5b44450c1c69205203bc8f9d1ee3f9b08d3
Author: Sam James  gentoo  org>
AuthorDate: Wed Mar 31 17:56:11 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Mar 31 23:38:45 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6898e5b4

games-misc/bsd-games: add 3.1

This is a fork of bsd-games after many years. Thanks to the new maintainer
upstream for reaching out to us.

Closes: https://bugs.gentoo.org/732374
Bug: https://bugs.gentoo.org/537010
Bug: https://bugs.gentoo.org/715778
Signed-off-by: Sam James  gentoo.org>

 games-misc/bsd-games/Manifest  |   2 +
 games-misc/bsd-games/bsd-games-3.1.ebuild  | 151 +
 ...mes-3.1-no-install-manpages-automatically.patch |  15 ++
 3 files changed, 168 insertions(+)

diff --git a/games-misc/bsd-games/Manifest b/games-misc/bsd-games/Manifest
index 2bccdb8acb3..fa75813e015 100644
--- a/games-misc/bsd-games/Manifest
+++ b/games-misc/bsd-games/Manifest
@@ -1,4 +1,6 @@
 DIST bsd-games-2.17.tar.gz 2563311 BLAKE2B 
9dfff4e70929e14a422c536c661cd95c5f1ac81d9112494525b9ef13d7a39b66bd59b6a264e614cfb29784fdb63364f56b12b4d284b125b5b3c12e92def07fb0
 SHA512 
cb2ee60474f164d42e3d47700270bbeeda3c8279d64da409c9cc05e36437ef95b92d0a85543298e97604635fcf3e068f3a5cc812e90b5c61fb8d146cf35bc38f
+DIST bsd-games-3.1-verbose-build.patch.gz 4633 BLAKE2B 
cc75175ac2ef9d476c03bdb08b8c054d13090d6cdd1a14dd44022d13290112c68a7663d0c03f9ca7535ea10f2bb5e49a84acca4f782f0ced59685f762efd5151
 SHA512 
120c0859bb73a026dae017bcc2bc7505ca156b454bf5f87c91b4887417d5ac62f3dec706af91b22b11be8b5bce11d168f9205d722a9fd30dea654f682a66b1c8
+DIST bsd-games-3.1.tar.gz 267636 BLAKE2B 
116b340e383430fc56e9d2379a398494b43664aa124157bfa01f2c6a76ebdc90128cc676abae83b6d74680b0ad9396d24f1c0d11adcff1f552a3e68717b8cc8f
 SHA512 
3f311e89481913b734a21fc7d0765628637af8251228d5a38349c27cc702c307240e81711785bbd7428e208a142bd07597630d29e97e2c7bf5bd9cac1ebc6ada
 DIST bsdgames_2.17-22.debian.tar.xz 32268 BLAKE2B 
2485abc1d80b8319c7eb68e2747c0a4166d18079047eca67c1de549cd011f75a767b6fe69021cb4ce09aaf029823a097e6ac658efcab5e19e976a89ed798d06f
 SHA512 
902d86557dd3813c31333fe18437d8046ae100814c9c1b340ab1f8266c817545f21e000702b1ca93babb9d632896ea5bada1e146436abfa7916b469681fceed5
 DIST bsdgames_2.17-28.debian.tar.xz 58464 BLAKE2B 
3f5a70322341b153a8b3cb8df81fea1e773971d0f3b79ba8fb0c0877e95c61c8e8689952333f8ac4263948d781c2dc64c8178f9dac6a1c09ae702f91794b9583
 SHA512 
7e2db9f830c0657f3fcd1371635bda4a87e7a68180e486e44752904740c0710c02271522ff2d4b606542b3c502dd28795fcecf883360c3ac5bea78c148281f6a
 DIST bsdgames_2.17.orig.tar.gz 2563311 BLAKE2B 
9dfff4e70929e14a422c536c661cd95c5f1ac81d9112494525b9ef13d7a39b66bd59b6a264e614cfb29784fdb63364f56b12b4d284b125b5b3c12e92def07fb0
 SHA512 
cb2ee60474f164d42e3d47700270bbeeda3c8279d64da409c9cc05e36437ef95b92d0a85543298e97604635fcf3e068f3a5cc812e90b5c61fb8d146cf35bc38f

diff --git a/games-misc/bsd-games/bsd-games-3.1.ebuild 
b/games-misc/bsd-games/bsd-games-3.1.ebuild
new file mode 100644
index 000..9d1bc6d4120
--- /dev/null
+++ b/games-misc/bsd-games/bsd-games-3.1.ebuild
@@ -0,0 +1,151 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit toolchain-funcs flag-o-matic
+
+DESCRIPTION="collection of games from NetBSD"
+HOMEPAGE="https://www.polyomino.org.uk/computer/software/bsd-games/;
+SRC_URI="https://github.com/msharov/bsd-games/archive/refs/tags/v${PV}.tar.gz 
-> ${P}.tar.gz"
+SRC_URI+=" 
https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${P}-verbose-build.patch.gz;
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64"
+
+DEPEND="
+   sys-apps/miscfiles
+   sys-libs/ncurses:=
+   !games-misc/wtf
+   !app-misc/banner
+   !games-puzzle/hangman
+"
+RDEPEND="
+   ${DEPEND}
+   acct-group/gamestat
+"
+BDEPEND="
+   sys-devel/bison
+   sys-devel/flex
+   virtual/pkgconfig
+"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-3.1-no-install-manpages-automatically.patch
+)
+
+# Set GAMES_TO_BUILD variable to whatever you want
+GAMES_TO_BUILD=${GAMES_TO_BUILD:=adventure atc battlestar caesar cribbage
+dab drop4 gofish gomoku hangman klondike robots sail snake spirhunt
+worm wump}
+
+src_prepare() {
+   eapply "${WORKDIR}"/${PN}-3.1-verbose-build.patch
+
+   default
+
+   # Use completely our own CFLAGS/LDFLAGS, no stripping and so on
+   sed -i \
+   -e 's/+= -std=c11 @pkgcflags@ ${CFLAGS}/= -std=c11 @pkgcflags@ 
${CFLAGS}/' \
+   -e 's/+= @pkgldflags@ ${LDFLAGS}/= @pkgldflags@ ${LDFLAGS}/' \
+   -e s'/${INSTALL} -m 755 -s/${INSTALL} -m 755/' \
+   -e '/man[6]dir/d' \
+   Config.mk.in || die
+
+   # Yes, this stinks.
+   # Right now, the custom configure script calls pkg-config manually
+   # and seds it a bunch, and this is easier.
+   if has_version sys-libs/ncurses[unicode] ; then
+   # Force looking 

[gentoo-commits] repo/gentoo:master commit in: games-misc/bsd-games/

2019-11-02 Thread James Le Cuirot
commit: e2e46d754340342473b8bfca031edd7fead34132
Author: Wim Muskee  gmail  com>
AuthorDate: Sat Nov  2 10:22:11 2019 +
Commit: James Le Cuirot  gentoo  org>
CommitDate: Sat Nov  2 17:15:16 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e2e46d75

games-misc/bsd-games: update HOMEPAGE, SRC_URI, metadata

Closes: https://bugs.gentoo.org/680676
Signed-off-by: Wim Muskee  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/13525
Signed-off-by: James Le Cuirot  gentoo.org>

 games-misc/bsd-games/bsd-games-2.17-r5.ebuild | 6 +++---
 games-misc/bsd-games/metadata.xml | 3 +++
 2 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/games-misc/bsd-games/bsd-games-2.17-r5.ebuild 
b/games-misc/bsd-games/bsd-games-2.17-r5.ebuild
index cefeb7976f5..6679e61b5fc 100644
--- a/games-misc/bsd-games/bsd-games-2.17-r5.ebuild
+++ b/games-misc/bsd-games/bsd-games-2.17-r5.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -6,8 +6,8 @@ inherit eutils toolchain-funcs games
 
 DEB_PATCH_VER=22
 DESCRIPTION="collection of games from NetBSD"
-HOMEPAGE="http://www.advogato.org/proj/bsd-games/;
-SRC_URI="ftp://metalab.unc.edu/pub/Linux/games/${P}.tar.gz
+HOMEPAGE="https://www.polyomino.org.uk/computer/software/bsd-games/;
+SRC_URI="https://www.polyomino.org.uk/computer/software/bsd-games/${P}.tar.gz

mirror://debian/pool/main/b/bsdgames/bsdgames_${PV}-${DEB_PATCH_VER}.debian.tar.xz"
 
 LICENSE="BSD"

diff --git a/games-misc/bsd-games/metadata.xml 
b/games-misc/bsd-games/metadata.xml
index 78274e0fa55..e21a7394ad3 100644
--- a/games-misc/bsd-games/metadata.xml
+++ b/games-misc/bsd-games/metadata.xml
@@ -5,4 +5,7 @@
ga...@gentoo.org
Gentoo Games Project
 
+
+   jsm28/bsd-games
+
 



[gentoo-commits] repo/gentoo:master commit in: games-misc/bsd-games/files/

2016-11-26 Thread David Seifert
commit: 34995edad0c954187760e28c488f1d99c1cc1954
Author: Michael Mair-Keimberger (asterix)  gmail 
 com>
AuthorDate: Sat Nov 26 16:14:12 2016 +
Commit: David Seifert  gentoo  org>
CommitDate: Sat Nov 26 17:59:06 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=34995eda

games-misc/bsd-games: remove unused patches

Closes: https://github.com/gentoo/gentoo/pull/2919

 .../bsd-games/files/bsd-games-2.17-64bit.patch |  43 -
 .../bsd-games/files/bsd-games-2.17-gcc43.patch |  16 --
 .../bsd-games/files/bsd-games-2.17-glibc2.10.patch | 185 -
 3 files changed, 244 deletions(-)

diff --git a/games-misc/bsd-games/files/bsd-games-2.17-64bit.patch 
b/games-misc/bsd-games/files/bsd-games-2.17-64bit.patch
deleted file mode 100644
index a56ea84..
--- a/games-misc/bsd-games/files/bsd-games-2.17-64bit.patch
+++ /dev/null
@@ -1,43 +0,0 @@
-David Leverton writes about adventure/crc.c:
-
-The 'adventure' game from the games-misc/bsd-games-2.13 package crashes 
-when saving the game on AMD64 (and probably other 64-bit systems, but I 
-haven't checked).  Find attached to fix this.
-
-http://bugs.gentoo.org/show_bug.cgi?id=77032
-
-
-About utmpentry.c:
-
-the utmpx structure defines the ut_tv member a little differently on 
-64bit hosts so that a 32bit and 64bit structure can be shared.  So the 
-ut_tv is a custom 32bit structure rather than the native 64bit timeval 
-structure.  Work around is to assign the submembers instead.
-
-http://bugs.gentoo.org/show_bug.cgi?id=102667
-
 bsd-games/adventure/crc.c
-+++ bsd-games/adventure/crc.c
-@@ -134,7 +134,8 @@
-   if (step >= sizeof(crctab) / sizeof(crctab[0]))
-   step = 0;
-   }
--  crcval = (crcval << 8) ^ crctab[i];
-+  /* Mask to 32 bits. */
-+  crcval = ((crcval << 8) ^ crctab[i]) & 0x;
-   }
--  return crcval & 0x; /* Mask to 32 bits. */
-+  return crcval;
- }
 bsd-games/dm/utmpentry.c
-+++ bsd-games/dm/utmpentry.c
-@@ -291,7 +291,8 @@
-   e->line[sizeof(e->line) - 1] = '\0';
-   (void)strncpy(e->host, up->ut_host, sizeof(up->ut_host));
-   e->name[sizeof(e->host) - 1] = '\0';
--  e->tv = up->ut_tv;
-+  e->tv.tv_sec = up->ut_tv.tv_sec;
-+  e->tv.tv_usec = up->ut_tv.tv_usec;
-   adjust_size(e);
- }
- #endif

diff --git a/games-misc/bsd-games/files/bsd-games-2.17-gcc43.patch 
b/games-misc/bsd-games/files/bsd-games-2.17-gcc43.patch
deleted file mode 100644
index 8009454..
--- a/games-misc/bsd-games/files/bsd-games-2.17-gcc43.patch
+++ /dev/null
@@ -1,16 +0,0 @@
 dab/gamescreen.h.orig
-+++ dab/gamescreen.h
-@@ -70,9 +70,9 @@
- virtual void redraw(void) = 0;// Refresh
- virtual int getinput(void) = 0;   // Get user input
- virtual void bell(void) = 0;  // Beep
--virtual void score(size_t p, const PLAYER& p) = 0;// Post current 
score
--virtual void games(size_t p, const PLAYER& p) = 0;// Post games 
won
--virtual void total(size_t p, const PLAYER& p) = 0;// Post total 
score
-+virtual void score(size_t s, const PLAYER& p) = 0;// Post current 
score
-+virtual void games(size_t s, const PLAYER& p) = 0;// Post games 
won
-+virtual void total(size_t s, const PLAYER& p) = 0;// Post total 
score
- virtual void ties(const PLAYER& p) = 0;   // Post tie games
- };
-
-

diff --git a/games-misc/bsd-games/files/bsd-games-2.17-glibc2.10.patch 
b/games-misc/bsd-games/files/bsd-games-2.17-glibc2.10.patch
deleted file mode 100644
index 2efdc57..
--- a/games-misc/bsd-games/files/bsd-games-2.17-glibc2.10.patch
+++ /dev/null
@@ -1,185 +0,0 @@
 boggle/boggle/bog.c
-+++ boggle/boggle/bog.c
-@@ -336,7 +336,7 @@
-   }
- 
-   while (1) {
--  if (getline(buf) == NULL) {
-+  if (get_line(buf) == NULL) {
-   if (feof(stdin))
-   clearerr(stdin);
-   break;
 boggle/boggle/extern.h
-+++ boggle/boggle/extern.h
-@@ -43,7 +43,7 @@
- long   dictseek(FILE *, long, int);
- void   findword(void);
- void   flushin(FILE *);
--char  *getline(char *);
-+char  *get_line(char *);
- void   getword(char *);
- inthelp(void);
- intinputch(void);
 boggle/boggle/mach.c
-+++ boggle/boggle/mach.c
-@@ -168,7 +168,7 @@
-  * - doesn't accept words longer than MAXWORDLEN or containing caps
-  */
- char *
--getline(q)
-+get_line(q)
-   char *q;
- {
-   int ch, done;
 cribbage/cribbage.h
-+++ cribbage/cribbage.h
-@@ -77,7 +77,7 @@
- intfifteens(const CARD [], int);
- void   game(void);
- void   gamescore(void);
--char  *getline(void);
-+char  *get_line(void);
- intgetuchar(void);
- intincard(CARD *);
- intinfrom(const CARD 

[gentoo-commits] repo/gentoo:master commit in: games-misc/bsd-games-non-free/, games-misc/bsd-games-non-free/files/

2016-01-17 Thread Michael Sterrett
commit: 25b9ffcb88eeb0a91fd2a9a8a6b874fce797904e
Author: Michael Sterrett  gentoo  org>
AuthorDate: Sun Jan 17 15:16:45 2016 +
Commit: Michael Sterrett  gentoo  org>
CommitDate: Sun Jan 17 15:17:54 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=25b9ffcb

games-misc/bsd-games-non-free: bsd-games-non-free is gone

 games-misc/bsd-games-non-free/Manifest |  1 -
 .../bsd-games-non-free-2.17.ebuild | 70 --
 .../bsd-games-non-free/files/config.params-gentoo  | 39 
 games-misc/bsd-games-non-free/metadata.xml |  5 --
 4 files changed, 115 deletions(-)

diff --git a/games-misc/bsd-games-non-free/Manifest 
b/games-misc/bsd-games-non-free/Manifest
deleted file mode 100644
index 4dbeb8c..000
--- a/games-misc/bsd-games-non-free/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST bsd-games-non-free-2.17.tar.gz 181134 SHA256 
912a9253791ec9748dc49ab6cf7aacf417483c50ee04db57ed6d5dca110cb563 SHA512 
6648579edbfb2e028d1b096d25d9c00abfafe4db8fc5e51688e6d03853f457d473b3d10bd1388b425227b6196e0e88fb258c5714896647e74b85db86a3715db0
 WHIRLPOOL 
b8b6b29ffce19b7a34e6d8a606d88a83785128e7aaf33927a9dca5b0931ca527ca5079eb75c78a24a47f0c3f33e1c83adbcbcc1d060da9998e323dc686f407e1

diff --git a/games-misc/bsd-games-non-free/bsd-games-non-free-2.17.ebuild 
b/games-misc/bsd-games-non-free/bsd-games-non-free-2.17.ebuild
deleted file mode 100644
index bafa60a..000
--- a/games-misc/bsd-games-non-free/bsd-games-non-free-2.17.ebuild
+++ /dev/null
@@ -1,70 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-inherit games
-
-DESCRIPTION="collection of games from NetBSD"
-HOMEPAGE="http://www.advogato.org/proj/bsd-games/;
-SRC_URI="ftp://metalab.unc.edu/pub/Linux/games/${P}.tar.gz;
-
-# See /usr/share/doc/${P}/CHANGES.rogue
-LICENSE="|| ( BSD free-noncomm )"
-SLOT="0"
-KEYWORDS="amd64 ppc x86"
-IUSE=""
-
-RDEPEND="sys-libs/ncurses"
-DEPEND="${RDEPEND}
-   sys-devel/bison
-   sys-devel/flex"
-
-# Set GAMES_TO_BUILD variable to whatever you want
-export GAMES_TO_BUILD=${GAMES_TO_BUILD:="rogue"}
-
-src_prepare() {
-   sed -i \
-   -e '/^CC :/d' \
-   -e '/^CXX :/d' \
-   Makeconfig.in \
-   || die "sed failed"
-   cp "${FILESDIR}"/config.params-gentoo config.params || die "cp failed"
-   echo bsd_games_cfg_usrlibdir=\"$(games_get_libdir)\" >> ./config.params
-   echo bsd_games_cfg_build_dirs=\"${GAMES_TO_BUILD}\" >> ./config.params
-}
-
-src_configure() {
-   ./configure || die
-}
-
-src_compile() {
-   emake OPTIMIZE="${CFLAGS}" LDFLAGS="${LDFLAGS}"
-}
-
-build_game() {
-   has ${1} ${GAMES_TO_BUILD}
-}
-
-do_statefile() {
-   touch "${D}/${GAMES_STATEDIR}/${1}"
-   chmod ug+rw "${D}/${GAMES_STATEDIR}/${1}"
-}
-
-src_install() {
-   dodir "${GAMES_BINDIR}" "${GAMES_STATEDIR}" /usr/share/man/man{1,6}
-   make DESTDIR="${D}" install || die "make install failed"
-   rm -rf "${D}"/usr/share/doc/bsd-games || die "Remove failed"
-
-   dodoc AUTHORS BUGS ChangeLog ChangeLog.0 NEWS \
- PACKAGING README README.non-free SECURITY THANKS TODO 
YEAR2000 \
- bsd-games-non-free.lsm
-
-   # state files
-   build_game rogue && do_statefile rogue.scores
-
-   # extra docs
-   build_game rogue && { docinto rogue ; dodoc 
rogue/{CHANGES,USD.doc/rogue.me}; }
-
-   prepgamesdirs
-}

diff --git a/games-misc/bsd-games-non-free/files/config.params-gentoo 
b/games-misc/bsd-games-non-free/files/config.params-gentoo
deleted file mode 100644
index e5f4ed3..000
--- a/games-misc/bsd-games-non-free/files/config.params-gentoo
+++ /dev/null
@@ -1,39 +0,0 @@
-
-# This file is read by configure for the Gentoo ebuild 
-
-# Don't run configure interactively.
-bsd_games_cfg_non_interactive=y
-
-bsd_games_cfg_install_prefix=${D}
-
-# For gentoo, 
-#   banner used to be in util-linux.  Gentoo might have an ebuild
-#   fortune is "app-games/fortune-mod"
-#   factor is in "sys-apps/sh-utils"
-#   dm is not installed by debian, I don't know why
-bsd_games_cfg_no_build_dirs="dm banner fortune factor"
-
-# Gentoo's games eclass want everything in these places
-bsd_games_cfg_gamesdir=${GAMES_BINDIR}
-bsd_games_cfg_sbindir=${GAMES_BINDIR}
-bsd_games_cfg_sharedir=${GAMES_DATADIR}
-bsd_games_cfg_varlibdir=${GAMES_STATEDIR}
-
-# We'll control all the permissions during install (via games eclass) 
-bsd_games_cfg_do_chown=n
-
-# .so or symlink??? (Debian perfers symlinks for manpages)
-bsd_games_cfg_use_dot_so=symlinks
-
-# Gentoo'll handle manpage compressing.
-bsd_games_cfg_gzip_manpages=n
-
-# sys-apps/less is in system (even though more is in /bin)
-bsd_games_cfg_pager=/usr/bin/less
-
-# sys-apps/miscfiles might have too many words for boggle
-bsd_games_cfg_dictionary_src=/usr/share/dict/words
-
-# Acronym file for "wft"