public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: games-misc/wumpus/
@ 2016-10-11 22:59 Austin English
  0 siblings, 0 replies; 3+ messages in thread
From: Austin English @ 2016-10-11 22:59 UTC (permalink / raw
  To: gentoo-commits

commit:     743774c87befbdf5977ffafc4893832b9bcb912d
Author:     Austin English <wizardedit <AT> gentoo <DOT> org>
AuthorDate: Tue Oct 11 22:42:26 2016 +0000
Commit:     Austin English <wizardedit <AT> gentoo <DOT> org>
CommitDate: Tue Oct 11 22:55:47 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=743774c8

games-misc/wumpus: remove deprecated games eclass

Also update to EAPI 6

Gentoo-Bug: https://bugs.gentoo.org/574082

Package-Manager: portage-2.3.0

 games-misc/wumpus/wumpus-1.4-r1.ebuild | 41 ++++++++++++++++++++++++++++++++++
 1 file changed, 41 insertions(+)

diff --git a/games-misc/wumpus/wumpus-1.4-r1.ebuild b/games-misc/wumpus/wumpus-1.4-r1.ebuild
new file mode 100644
index 00000000..0ae614a
--- /dev/null
+++ b/games-misc/wumpus/wumpus-1.4-r1.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+inherit toolchain-funcs
+
+DESCRIPTION="Classic Hunt the Wumpus Adventure Game"
+HOMEPAGE="http://cvsweb.netbsd.org/bsdweb.cgi/src/games/wump/"
+SRC_URI="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-release-1-6/src/games/wump/wump.c
+	ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-release-1-6/src/games/wump/wump.6
+	ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-release-1-6/src/games/wump/wump.info"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+DEPEND="sys-apps/less"
+RDEPEND=${DEPEND}
+
+S=${WORKDIR}
+
+src_unpack() {
+	cp "${DISTDIR}"/wump.{info,c,6} "${S}/" || die
+}
+
+src_compile() {
+	touch pathnames.h
+	[ -z "${PAGER}" ] && PAGER=/usr/bin/less
+	$(tc-getCC) ${LDFLAGS} -Dlint -D_PATH_PAGER=\"${PAGER}\" \
+		-D_PATH_WUMPINFO=\"/usr/share/${PN}/wump.info\" ${CFLAGS} \
+		-o wump wump.c || die
+}
+
+src_install() {
+	dobin wump
+	doman wump.6
+	insinto /usr/share/${PN}
+	doins wump.info
+}


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

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

commit:     fcedff0a5ba2bfc4236fcccfe92d9ad40e41fd6f
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Apr  4 09:12:01 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Apr  4 09:16:06 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fcedff0a

games-misc/wumpus: port to EAPI 7

Signed-off-by: Sam James <sam <AT> gentoo.org>

 games-misc/wumpus/wumpus-1.4-r1.ebuild | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/games-misc/wumpus/wumpus-1.4-r1.ebuild b/games-misc/wumpus/wumpus-1.4-r1.ebuild
index 56125c56d36..9dfa38b97f8 100644
--- a/games-misc/wumpus/wumpus-1.4-r1.ebuild
+++ b/games-misc/wumpus/wumpus-1.4-r1.ebuild
@@ -1,7 +1,8 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
+
 inherit toolchain-funcs
 
 DESCRIPTION="Classic Hunt the Wumpus Adventure Game"
@@ -9,16 +10,14 @@ HOMEPAGE="http://cvsweb.netbsd.org/bsdweb.cgi/src/games/wump/"
 SRC_URI="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-release-1-6/src/games/wump/wump.c
 	ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-release-1-6/src/games/wump/wump.6
 	ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-release-1-6/src/games/wump/wump.info"
+S="${WORKDIR}"
 
 LICENSE="BSD"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE=""
 
 DEPEND="sys-apps/less"
-RDEPEND=${DEPEND}
-
-S=${WORKDIR}
+RDEPEND="${DEPEND}"
 
 src_unpack() {
 	cp "${DISTDIR}"/wump.{info,c,6} "${S}/" || die
@@ -26,7 +25,8 @@ src_unpack() {
 
 src_compile() {
 	touch pathnames.h
-	[ -z "${PAGER}" ] && PAGER=/usr/bin/less
+
+	[[ -z "${PAGER}" ]] && PAGER=/usr/bin/less
 	$(tc-getCC) ${LDFLAGS} -Dlint -D_PATH_PAGER=\"${PAGER}\" \
 		-D_PATH_WUMPINFO=\"/usr/share/${PN}/wump.info\" ${CFLAGS} \
 		-o wump wump.c || die


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

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

commit:     e26c6587db8e28b530399092d6d472bd5a5836ae
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Apr  4 09:12:38 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Apr  4 09:16:07 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e26c6587

games-misc/wumpus: block games-misc/bsd-games:0/3

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

 games-misc/wumpus/{wumpus-1.4-r1.ebuild => wumpus-1.4-r2.ebuild} | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/games-misc/wumpus/wumpus-1.4-r1.ebuild b/games-misc/wumpus/wumpus-1.4-r2.ebuild
similarity index 95%
rename from games-misc/wumpus/wumpus-1.4-r1.ebuild
rename to games-misc/wumpus/wumpus-1.4-r2.ebuild
index 9dfa38b97f8..baebcd57240 100644
--- a/games-misc/wumpus/wumpus-1.4-r1.ebuild
+++ b/games-misc/wumpus/wumpus-1.4-r2.ebuild
@@ -17,7 +17,10 @@ SLOT="0"
 KEYWORDS="~amd64 ~x86"
 
 DEPEND="sys-apps/less"
-RDEPEND="${DEPEND}"
+RDEPEND="
+	${DEPEND}
+	!games-misc/bsd-games:0/3
+"
 
 src_unpack() {
 	cp "${DISTDIR}"/wump.{info,c,6} "${S}/" || die


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

end of thread, other threads:[~2021-04-04  9:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-11 22:59 [gentoo-commits] repo/gentoo:master commit in: games-misc/wumpus/ Austin English
  -- strict thread matches above, loose matches on Subject: below --
2021-04-04  9:16 Sam James
2021-04-04  9:16 Sam James

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