summaryrefslogtreecommitdiff
blob: 12233c9692d72d863f488485078d44114375b0db (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-fps/ttyquake/ttyquake-0.4.2.ebuild,v 1.7 2005/10/23 21:29:11 mr_bones_ Exp $

inherit eutils games

DESCRIPTION="Play Quake at a text terminal, in an xterm, or over a telnet session"
HOMEPAGE="http://webpages.mr.net/bobz/ttyquake/"
SRC_URI="ftp://ftp.skypoint.com/pub/members/b/bobz/${P}.tar.gz
	http://webpages.mr.net/bobz/ttyquake/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="-*"
IUSE=""

RDEPEND="games-fps/quake1"

S="${WORKDIR}"

pkg_setup() {
	[ -x "${GAMES_BINDIR}/squake" ] \
		|| die "You must emerge quake1 with svga in your USE"
	games_pkg_setup
}

src_install() {
	exeinto "${GAMES_LIBDIR}/${PN}"
	doexe tty/*
	dogamesbin ${FILESDIR}/ttyquake
	dosed "s:GENTOO_LIBDIR:${GAMES_LIBDIR}/${PN}:" ${GAMES_BINDIR}/ttyquake
	dosed "s:GENTOO_BINDIR:${GAMES_BINDIR}:" ${GAMES_BINDIR}/ttyquake

	dodoc README.ttyquake
	prepgamesdirs
}