From a47969b453f72bc495e8f0da53d35256cc954019 Mon Sep 17 00:00:00 2001 From: Michael Sterrett Date: Thu, 27 May 2004 03:17:53 +0000 Subject: IUSE; error check sed; tidy --- games-fps/wmquake/wmquake-1.1.ebuild | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'games-fps/wmquake/wmquake-1.1.ebuild') diff --git a/games-fps/wmquake/wmquake-1.1.ebuild b/games-fps/wmquake/wmquake-1.1.ebuild index 61d33169a80c..04df94638a68 100644 --- a/games-fps/wmquake/wmquake-1.1.ebuild +++ b/games-fps/wmquake/wmquake-1.1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-fps/wmquake/wmquake-1.1.ebuild,v 1.1 2004/03/13 19:45:14 wolf31o2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-fps/wmquake/wmquake-1.1.ebuild,v 1.2 2004/05/27 03:17:53 mr_bones_ Exp $ inherit games @@ -8,16 +8,19 @@ DESCRIPTION="Quake1 in a dockapp window" SRC_URI="http://www.ne.jp/asahi/linux/timecop/software/${P}.tar.bz2" HOMEPAGE="http://www.ne.jp/asahi/linux/timecop/" -KEYWORDS="~x86" LICENSE="GPL-2" SLOT="0" +KEYWORDS="~x86" +IUSE="" DEPEND="virtual/x11" src_unpack() { unpack ${A} cd ${S} - sed -i "s:CFLAGS = .*:CFLAGS = ${CFLAGS}:" Makefile + sed -i \ + -e "s:CFLAGS = .*:CFLAGS = ${CFLAGS}:" Makefile \ + || die "sed Makefile failed" } src_compile() { @@ -25,9 +28,9 @@ src_compile() { } src_install() { - exeinto ${GAMES_LIBDIR}/wmquake + exeinto "${GAMES_LIBDIR}/wmquake" doexe wmquake - games_make_wrapper wmquake ${GAMES_LIBDIR}/wmquake/wmquake ${GAMES_DATADIR}/quake-data/ + games_make_wrapper wmquake "${GAMES_LIBDIR}/wmquake/wmquake" "${GAMES_DATADIR}/quake-data/" dodoc README* prepgamesdirs } -- cgit v1.2.3-65-gdbad