From c42a0f5aad0e458b278448e2bd42eed5233a3ba8 Mon Sep 17 00:00:00 2001 From: Michael Sterrett Date: Sun, 30 May 2004 05:11:32 +0000 Subject: tidy; error messages --- games-sports/foobillard/ChangeLog | 7 +++++-- games-sports/foobillard/foobillard-2.9.ebuild | 14 ++++++++------ 2 files changed, 13 insertions(+), 8 deletions(-) (limited to 'games-sports') diff --git a/games-sports/foobillard/ChangeLog b/games-sports/foobillard/ChangeLog index 5dc0319d453e..3d58e34eb1c4 100644 --- a/games-sports/foobillard/ChangeLog +++ b/games-sports/foobillard/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for games-sports/foobillard -# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-sports/foobillard/ChangeLog,v 1.3 2003/11/10 04:25:54 vapier Exp $ +# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-sports/foobillard/ChangeLog,v 1.4 2004/05/30 05:11:32 mr_bones_ Exp $ + + 29 May 2004; Michael Sterrett foobillard-2.9.ebuild: + tidy; error messages *foobillard-2.9 (09 Nov 2003) diff --git a/games-sports/foobillard/foobillard-2.9.ebuild b/games-sports/foobillard/foobillard-2.9.ebuild index 04a86f14d527..ec154ea0d22d 100644 --- a/games-sports/foobillard/foobillard-2.9.ebuild +++ b/games-sports/foobillard/foobillard-2.9.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-sports/foobillard/foobillard-2.9.ebuild,v 1.3 2004/03/20 12:59:58 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-sports/foobillard/foobillard-2.9.ebuild,v 1.4 2004/05/30 05:11:32 mr_bones_ Exp $ inherit games @@ -19,15 +19,17 @@ DEPEND="virtual/x11 >=media-libs/libpng-1.2.1 || ( sdl? ( media-libs/libsdl ) - ( virtual/glu virtual/glut ) + ( + virtual/glu + virtual/glut ) )" src_compile() { local myconf="" - [ "`ls /usr/include/GL/gl.h -al | awk '{print $NF}' | cut -d/ -f5`" == "nvidia" ] \ + [ "$(ls /usr/include/GL/gl.h -al | awk '{print $NF}' | cut -d/ -f5)" == "nvidia" ] \ && myconf="--enable-nvidia" \ || myconf="--disable-nvidia" - myconf="${myconf} `use_enable sdl SDL`" + myconf="${myconf} $(use_enable sdl SDL)" use sdl \ && myconf="${myconf} --disable-glut" \ || myconf="${myconf} --enable-glut" @@ -36,11 +38,11 @@ src_compile() { --enable-sound \ ${myconf} \ || die - emake || die + emake || die "emake failed" } src_install() { - make DESTDIR=${D} install || die + make DESTDIR="${D}" install || die "make install failed" dodoc README README.FONTS AUTHORS NEWS ChangeLog prepgamesdirs } -- cgit v1.2.3-65-gdbad