summaryrefslogtreecommitdiff
path: root/games-misc/wumpus
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-04-28 20:21:43 +0100
committerV3n3RiX <venerix@redcorelinux.org>2021-04-28 20:21:43 +0100
commit40aaaa64e86ba6710bbeb31c4615a6ce80e75e11 (patch)
tree758c221bad35c9288d0bd6df9c7dfc226728e52c /games-misc/wumpus
parent8d5dbd847cbc704a6a06405856e94b461011afe3 (diff)
gentoo resync : 28.04.2021
Diffstat (limited to 'games-misc/wumpus')
-rw-r--r--games-misc/wumpus/Manifest2
-rw-r--r--games-misc/wumpus/wumpus-1.4-r2.ebuild (renamed from games-misc/wumpus/wumpus-1.4-r1.ebuild)17
2 files changed, 11 insertions, 8 deletions
diff --git a/games-misc/wumpus/Manifest b/games-misc/wumpus/Manifest
index 8a126ff22600..93703525b88a 100644
--- a/games-misc/wumpus/Manifest
+++ b/games-misc/wumpus/Manifest
@@ -1,5 +1,5 @@
DIST wump.6 4821 BLAKE2B b8eee837341f329d60bd27a143d4b9f1e5e5fd27835821efc8b028190f253b090f1d494e4be0b84c16f6c23552b9fbb56d86463749fa2b07a868aa49befeabcd SHA512 51e61efa71d46bace722dae3dbc7ea782f97ef02cb529054c1f5ea56139017b90e6a31ae70314c4a4c82bbcb821f826aa0f6032d934104bf3e7851437377e471
DIST wump.c 22691 BLAKE2B 569819c0b335a2847864d8d6e468eb9d8abaae245d93fedd7c9d267a106d32fcbd340273c7ca5695b37a5d4ce0d0b375961437cf896a6c073a7ced62ac69d59f SHA512 a914e1eb9e6204e5d763a7c32445721b849a753c3007312c7f9bbbaed9fc3f133639e7ef27a66636e9c5bc7bb13ab7a54f4f607272403014042723de38cbd878
DIST wump.info 1883 BLAKE2B cb29de61f2756a7a1d53f20e015325bb14364d3bd04e32fad0077c9d8467907f74ce7bae36570f2f6ef0a282ed2e257527c4480db0b76383afe82d813b71d567 SHA512 faee0552c7065f6cc98db53d0ed085b7b4c6aadb5f457733e36a621f9ea1753cb627d4a3813cc9b9aaaa1cd178458fd7ceb4ef9114892e0f8faeb303cc0351d8
-EBUILD wumpus-1.4-r1.ebuild 981 BLAKE2B 86921d3cd2170441dd1aee617155a71679f8847e361ffbbb2394011e9ebaff0a6b67044b2aed1e2dd4e7b77590ac8f3149663ddf1dd221142ec2dd0bf26f4a80 SHA512 c0cc9ae702f9864923e692e59a74a7f0a4325d163d0d43c281ae5764c36dac1793478deb66963506effcf43364eb42586c65c491708faff34b11848dd762b76c
+EBUILD wumpus-1.4-r2.ebuild 1007 BLAKE2B d8912ffb17282eca957054a4fc10489baa9afd598963833c28799f2dd4c8ef36977689c45539a27b4dc9b52f581e2379f8afededce7879c40fffb682c07155f6 SHA512 5fd09b008d795409794d6dfd947b9c64228e93031727e6cc82670ba29a939fcd2f380e27b9b4770d07c3a03c79b3319ce18a3a6e8df667acd30941b83e4c042f
MISC metadata.xml 249 BLAKE2B 7113a758d7abc93accec998a8843d8ef51ca8b72d72e659e224d5cec2a1a6a63e6c0605958091532ac6e51fa0d501ca4fd9f3f4a9e55baeb31519a02971b465f SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118
diff --git a/games-misc/wumpus/wumpus-1.4-r1.ebuild b/games-misc/wumpus/wumpus-1.4-r2.ebuild
index 56125c56d369..baebcd57240a 100644
--- a/games-misc/wumpus/wumpus-1.4-r1.ebuild
+++ b/games-misc/wumpus/wumpus-1.4-r2.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,17 @@ 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}
+ !games-misc/bsd-games:0/3
+"
src_unpack() {
cp "${DISTDIR}"/wump.{info,c,6} "${S}/" || die
@@ -26,7 +28,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