public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: games-misc/bsd-games/
@ 2019-11-02 17:15 James Le Cuirot
  0 siblings, 0 replies; 22+ messages in thread
From: James Le Cuirot @ 2019-11-02 17:15 UTC (permalink / raw
  To: gentoo-commits

commit:     e2e46d754340342473b8bfca031edd7fead34132
Author:     Wim Muskee <wimmuskee <AT> gmail <DOT> com>
AuthorDate: Sat Nov  2 10:22:11 2019 +0000
Commit:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Sat Nov  2 17:15:16 2019 +0000
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 <wimmuskee <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/13525
Signed-off-by: James Le Cuirot <chewi <AT> 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 @@
 	<email>games@gentoo.org</email>
 	<name>Gentoo Games Project</name>
 </maintainer>
+<upstream>
+	<remote-id type="github">jsm28/bsd-games</remote-id>
+</upstream>
 </pkgmetadata>


^ permalink raw reply related	[flat|nested] 22+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: games-misc/bsd-games/
@ 2021-04-04  8:14 Sam James
  0 siblings, 0 replies; 22+ messages in thread
From: Sam James @ 2021-04-04  8:14 UTC (permalink / raw
  To: gentoo-commits

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

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

Signed-off-by: Sam James <sam <AT> 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/"


^ permalink raw reply related	[flat|nested] 22+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: games-misc/bsd-games/
@ 2021-04-04  9:16 Sam James
  0 siblings, 0 replies; 22+ messages in thread
From: Sam James @ 2021-04-04  9:16 UTC (permalink / raw
  To: gentoo-commits

commit:     9c861b2f0f6b4ed8ca4c83466c113d165918cc78
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Apr  4 09:10:30 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Apr  4 09:16:04 2021 +0000
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 <sam <AT> 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}


^ permalink raw reply related	[flat|nested] 22+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: games-misc/bsd-games/
@ 2021-04-04  9:16 Sam James
  0 siblings, 0 replies; 22+ messages in thread
From: Sam James @ 2021-04-04  9:16 UTC (permalink / raw
  To: gentoo-commits

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

games-misc/bsd-games: use PATCHES

Signed-off-by: Sam James <sam <AT> 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


^ permalink raw reply related	[flat|nested] 22+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: games-misc/bsd-games/
@ 2021-04-04  9:16 Sam James
  0 siblings, 0 replies; 22+ messages in thread
From: Sam James @ 2021-04-04  9:16 UTC (permalink / raw
  To: gentoo-commits

commit:     23c0428b093a919b4b36571afbe5a3a2749f433f
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Apr  4 09:13:39 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Apr  4 09:16:05 2021 +0000
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 <sam <AT> 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="


^ permalink raw reply related	[flat|nested] 22+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: games-misc/bsd-games/
@ 2021-04-04  9:16 Sam James
  0 siblings, 0 replies; 22+ messages in thread
From: Sam James @ 2021-04-04  9:16 UTC (permalink / raw
  To: gentoo-commits

commit:     00a91057ec4b7422933616be29c2cba54058c6e2
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Apr  4 09:09:26 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Apr  4 09:16:03 2021 +0000
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 <sam <AT> 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
 "


^ permalink raw reply related	[flat|nested] 22+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: games-misc/bsd-games/
@ 2021-04-10  0:32 Sam James
  0 siblings, 0 replies; 22+ messages in thread
From: Sam James @ 2021-04-10  0:32 UTC (permalink / raw
  To: gentoo-commits

commit:     7beaefb3534cac53083ad7e52f7c1b55cbc6990a
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Apr 10 00:32:20 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Apr 10 00:32:20 2021 +0000
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 <sam <AT> 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:=


^ permalink raw reply related	[flat|nested] 22+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: games-misc/bsd-games/
@ 2021-05-28 22:43 James Le Cuirot
  0 siblings, 0 replies; 22+ messages in thread
From: James Le Cuirot @ 2021-05-28 22:43 UTC (permalink / raw
  To: gentoo-commits

commit:     bcfc5ce8ed5aba6ecbb13bf1bae02f0ff2795a4a
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Mon Apr 12 08:41:50 2021 +0000
Commit:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Fri May 28 22:43:24 2021 +0000
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 <lssndrbarbieri <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/20344
Signed-off-by: James Le Cuirot <chewi <AT> 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
 "


^ permalink raw reply related	[flat|nested] 22+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: games-misc/bsd-games/
@ 2021-07-12 22:11 Sam James
  0 siblings, 0 replies; 22+ messages in thread
From: Sam James @ 2021-07-12 22:11 UTC (permalink / raw
  To: gentoo-commits

commit:     3ab36a96d90505b3f637b5b6044e3e8c293b2ed2
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Jul 12 22:08:14 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Jul 12 22:08:14 2021 +0000
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 <sam <AT> 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


^ permalink raw reply related	[flat|nested] 22+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: games-misc/bsd-games/
@ 2021-07-26 13:22 David Seifert
  0 siblings, 0 replies; 22+ messages in thread
From: David Seifert @ 2021-07-26 13:22 UTC (permalink / raw
  To: gentoo-commits

commit:     1c306d7f093b372aca302cfaf7731e7d03eac0f2
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Mon Jul 26 13:22:06 2021 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Mon Jul 26 13:22:06 2021 +0000
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 <soap <AT> 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/
 }


^ permalink raw reply related	[flat|nested] 22+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: games-misc/bsd-games/
@ 2021-11-19 11:33 Sam James
  0 siblings, 0 replies; 22+ messages in thread
From: Sam James @ 2021-11-19 11:33 UTC (permalink / raw
  To: gentoo-commits

commit:     2e2776113d8a71d2eedd2949f7eeebb7d99f45eb
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Nov 19 11:20:39 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Nov 19 11:32:55 2021 +0000
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 <sam <AT> 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}


^ permalink raw reply related	[flat|nested] 22+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: games-misc/bsd-games/
@ 2021-11-19 11:33 Sam James
  0 siblings, 0 replies; 22+ messages in thread
From: Sam James @ 2021-11-19 11:33 UTC (permalink / raw
  To: gentoo-commits

commit:     8a985b96a0774489bc5ef773f60e5b2d615845c8
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Nov 19 11:21:27 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Nov 19 11:32:56 2021 +0000
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 <sam <AT> 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


^ permalink raw reply related	[flat|nested] 22+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: games-misc/bsd-games/
@ 2022-01-24 19:19 Sam James
  0 siblings, 0 replies; 22+ messages in thread
From: Sam James @ 2022-01-24 19:19 UTC (permalink / raw
  To: gentoo-commits

commit:     f4772d47fc979e03ed441a88a8ff5f1e91b3e9c8
Author:     Rolf Eike Beer <eike <AT> sf-mail <DOT> de>
AuthorDate: Mon Jan 24 17:00:32 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Jan 24 19:19:03 2022 +0000
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 <eike <AT> sf-mail.de>
Signed-off-by: Sam James <sam <AT> 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


^ permalink raw reply related	[flat|nested] 22+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: games-misc/bsd-games/
@ 2022-02-15 18:31 Matt Turner
  0 siblings, 0 replies; 22+ messages in thread
From: Matt Turner @ 2022-02-15 18:31 UTC (permalink / raw
  To: gentoo-commits

commit:     1098f245f7afc8c03d311949443dc6db2ac511dd
Author:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Tue Feb 15 18:31:19 2022 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Tue Feb 15 18:31:19 2022 +0000
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 <mattst88 <AT> 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


^ permalink raw reply related	[flat|nested] 22+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: games-misc/bsd-games/
@ 2022-04-30 12:23 Jakov Smolić
  0 siblings, 0 replies; 22+ messages in thread
From: Jakov Smolić @ 2022-04-30 12:23 UTC (permalink / raw
  To: gentoo-commits

commit:     014bec8f7ead49c1cba5a9d8712c46f2f2860236
Author:     Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
AuthorDate: Sat Apr 30 12:23:53 2022 +0000
Commit:     Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
CommitDate: Sat Apr 30 12:23:53 2022 +0000
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ć <jsmolic <AT> 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


^ permalink raw reply related	[flat|nested] 22+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: games-misc/bsd-games/
@ 2022-05-28 15:06 Jakov Smolić
  0 siblings, 0 replies; 22+ messages in thread
From: Jakov Smolić @ 2022-05-28 15:06 UTC (permalink / raw
  To: gentoo-commits

commit:     9c702e844bc3d761c305894e4dbc4436c05ba71a
Author:     Han Gao <rabenda.cn <AT> gmail <DOT> com>
AuthorDate: Sat May 28 14:15:49 2022 +0000
Commit:     Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
CommitDate: Sat May 28 15:05:54 2022 +0000
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 <rabenda.cn <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/25664
Signed-off-by: Jakov Smolić <jsmolic <AT> 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


^ permalink raw reply related	[flat|nested] 22+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: games-misc/bsd-games/
@ 2022-05-28 15:06 Jakov Smolić
  0 siblings, 0 replies; 22+ messages in thread
From: Jakov Smolić @ 2022-05-28 15:06 UTC (permalink / raw
  To: gentoo-commits

commit:     7f26922fd9b0f436c162ebcdf01a066c1e3738ed
Author:     Han Gao <rabenda.cn <AT> gmail <DOT> com>
AuthorDate: Sat May 28 14:14:16 2022 +0000
Commit:     Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
CommitDate: Sat May 28 15:05:54 2022 +0000
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 <rabenda.cn <AT> gmail.com>
Signed-off-by: Jakov Smolić <jsmolic <AT> 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() {


^ permalink raw reply related	[flat|nested] 22+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: games-misc/bsd-games/
@ 2022-06-27  9:29 Sam James
  0 siblings, 0 replies; 22+ messages in thread
From: Sam James @ 2022-06-27  9:29 UTC (permalink / raw
  To: gentoo-commits

commit:     fef502d3270e849fd42df981ba1b7976b8290826
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Jun 27 09:09:43 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Jun 27 09:27:03 2022 +0000
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 <sam <AT> 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


^ permalink raw reply related	[flat|nested] 22+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: games-misc/bsd-games/
@ 2022-09-22  4:09 Sam James
  0 siblings, 0 replies; 22+ messages in thread
From: Sam James @ 2022-09-22  4:09 UTC (permalink / raw
  To: gentoo-commits

commit:     dd65f7ba8aacf9d68d9fe03531d4bdd1e50feeaa
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Sep 22 04:01:16 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Sep 22 04:05:20 2022 +0000
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 <sam <AT> 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)"
 


^ permalink raw reply related	[flat|nested] 22+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: games-misc/bsd-games/
@ 2022-10-14  5:06 Arthur Zamarin
  0 siblings, 0 replies; 22+ messages in thread
From: Arthur Zamarin @ 2022-10-14  5:06 UTC (permalink / raw
  To: gentoo-commits

commit:     a0bf8228cdfabf748eae055077753d87e9437ec2
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 14 05:06:21 2022 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Fri Oct 14 05:06:21 2022 +0000
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 <arthurzam <AT> 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


^ permalink raw reply related	[flat|nested] 22+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: games-misc/bsd-games/
@ 2023-10-31 12:25 Sam James
  0 siblings, 0 replies; 22+ messages in thread
From: Sam James @ 2023-10-31 12:25 UTC (permalink / raw
  To: gentoo-commits

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

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

Signed-off-by: Sam James <sam <AT> 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 @@
 </maintainer>
 <upstream>
 	<remote-id type="github">jsm28/bsd-games</remote-id>
+	<remote-id type="sourceforge">bsd-games</remote-id>
 </upstream>
 </pkgmetadata>


^ permalink raw reply related	[flat|nested] 22+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: games-misc/bsd-games/
@ 2024-08-17 16:29 James Le Cuirot
  0 siblings, 0 replies; 22+ messages in thread
From: James Le Cuirot @ 2024-08-17 16:29 UTC (permalink / raw
  To: gentoo-commits

commit:     827a50b0d99f59689bc2404653541c344e20f020
Author:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
AuthorDate: Sat Aug 17 16:17:40 2024 +0000
Commit:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Sat Aug 17 16:17:48 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=827a50b0

games-misc/bsd-games: Drop old 3.1-r2

Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>

 games-misc/bsd-games/Manifest                |   1 -
 games-misc/bsd-games/bsd-games-3.1-r2.ebuild | 152 ---------------------------
 2 files changed, 153 deletions(-)

diff --git a/games-misc/bsd-games/Manifest b/games-misc/bsd-games/Manifest
index 688e1edfdb61..b090f1102dad 100644
--- a/games-misc/bsd-games/Manifest
+++ b/games-misc/bsd-games/Manifest
@@ -1,5 +1,4 @@
 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.1-r2.ebuild b/games-misc/bsd-games/bsd-games-3.1-r2.ebuild
deleted file mode 100644
index 48ee4118167d..000000000000
--- a/games-misc/bsd-games/bsd-games-3.1-r2.ebuild
+++ /dev/null
@@ -1,152 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-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}/${P}-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="~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-apps/which
-	app-alternatives/yacc
-	app-alternatives/lex
-	virtual/pkgconfig
-"
-
-PATCHES=(
-	"${WORKDIR}"/${PN}-3.1-verbose-build.patch
-	"${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() {
-	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.
-	# 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
-	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() {
-	tc-export AR CC RANLIB
-
-	econf
-}
-
-src_compile() {
-	emake CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
-}
-
-src_install() {
-	dodir /var/games
-	emake DESTDIR="${D}" install
-
-	_build_game() {
-		has ${1} ${GAMES_TO_BUILD}
-	}
-
-	_do_statefile() {
-		touch "${ED}"/var/games/${1} || die
-		chmod ug+rw "${ED}"/var/games/${1} || die
-	}
-
-	# set some binaries to run as games group (+S)
-	_build_game atc && fperms g+s /usr/bin/atc
-	_build_game battlestar && fperms g+s /usr/bin/battlestar
-	_build_game canfield && fperms g+s /usr/bin/canfield
-	_build_game cribbage && fperms g+s /usr/bin/cribbage
-	_build_game phantasia && fperms g+s /usr/bin/phantasia
-	_build_game robots && fperms g+s /usr/bin/robots
-	_build_game sail && fperms g+s /usr/bin/sail
-	_build_game snake && fperms g+s /usr/bin/snake
-	_build_game tetris && fperms g+s /usr/bin/tetris-bsd
-
-	# state files
-	_build_game atc && _do_statefile atc_score
-	_build_game battlestar && _do_statefile battlestar.log
-	_build_game canfield && _do_statefile cfscores
-	_build_game cribbage && _do_statefile criblog
-	_build_game hack && keepdir /var/games/hack
-	_build_game robots && _do_statefile robots_roll
-	_build_game sail && _do_statefile saillog
-	_build_game snake && _do_statefile snake.log && _do_statefile snakerawscores
-	_build_game tetris && _do_statefile tetris-bsd.scores
-
-	# extra docs
-	_build_game atc && docinto atc
-	_build_game boggle && { docinto boggle ; dodoc boggle/README; }
-	_build_game hack && { docinto hack ; dodoc hack/{OWNER,Original_READ_ME,READ_ME,help}; }
-	_build_game hunt && { docinto hunt ; dodoc hunt/README; }
-	_build_game phantasia && { docinto phantasia ; dodoc phantasia/{OWNER,README}; }
-
-	# Install the man pages manually to make life easier (circumventing compression)
-	local game
-	for game in ${GAMES_TO_BUILD[@]} ; do
-		if [[ -e ${game}/${game}.1 ]] ; then
-			doman ${game}/${game}.1
-		else
-			doman ${game}/${game}.6
-		fi
-	done
-
-	# Since factor is usually not installed, and primes.6 is a symlink to
-	# factor.6, make sure that primes.6 is ok ...
-	if _build_game primes && [[ ! $(_build_game factor) ]] ; then
-		rm -f "${ED}"/usr/share/man/man6/{factor,primes}.6 || die
-		newman factor/factor.6 primes.6
-	fi
-
-	# All of this needs to be owned by the gamestat group
-	fowners -R :gamestat /var/games/
-	# ... and so do the binaries
-	fowners -R :gamestat /usr/bin/
-
-	# State dirs
-	fperms -R ug+rw /var/games/
-}


^ permalink raw reply related	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2024-08-17 16:29 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-04-04  9:16 [gentoo-commits] repo/gentoo:master commit in: games-misc/bsd-games/ Sam James
  -- strict thread matches above, loose matches on Subject: below --
2024-08-17 16:29 James Le Cuirot
2023-10-31 12:25 Sam James
2022-10-14  5:06 Arthur Zamarin
2022-09-22  4:09 Sam James
2022-06-27  9:29 Sam James
2022-05-28 15:06 Jakov Smolić
2022-05-28 15:06 Jakov Smolić
2022-04-30 12:23 Jakov Smolić
2022-02-15 18:31 Matt Turner
2022-01-24 19:19 Sam James
2021-11-19 11:33 Sam James
2021-11-19 11:33 Sam James
2021-07-26 13:22 David Seifert
2021-07-12 22:11 Sam James
2021-05-28 22:43 James Le Cuirot
2021-04-10  0:32 Sam James
2021-04-04  9:16 Sam James
2021-04-04  9:16 Sam James
2021-04-04  9:16 Sam James
2021-04-04  8:14 Sam James
2019-11-02 17:15 James Le Cuirot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox