diff options
author | Austin English <wizardedit@gentoo.org> | 2016-10-11 17:42:26 -0500 |
---|---|---|
committer | Austin English <wizardedit@gentoo.org> | 2016-10-11 17:55:47 -0500 |
commit | 743774c87befbdf5977ffafc4893832b9bcb912d (patch) | |
tree | e8f08269b72f4f1c114ec90bc5cec8ccf9616f5e /games-misc | |
parent | games-misc/sound-of-sorting: remove deprecated games eclass (diff) | |
download | gentoo-743774c87befbdf5977ffafc4893832b9bcb912d.tar.gz gentoo-743774c87befbdf5977ffafc4893832b9bcb912d.tar.bz2 gentoo-743774c87befbdf5977ffafc4893832b9bcb912d.zip |
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
Diffstat (limited to 'games-misc')
-rw-r--r-- | games-misc/wumpus/wumpus-1.4-r1.ebuild | 41 |
1 files changed, 41 insertions, 0 deletions
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 000000000000..0ae614ae7384 --- /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 +} |