summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2006-06-02 07:48:29 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2006-06-02 07:48:29 +0000
commitcc335ba01cfa3ba716199712e2070839c09aa2bf (patch)
tree675306c4e60af6c27a6457956284135f7d72afd5 /games-sports/billardgl
parentpurge security vulnerable versions (diff)
downloadgentoo-2-cc335ba01cfa3ba716199712e2070839c09aa2bf.tar.gz
gentoo-2-cc335ba01cfa3ba716199712e2070839c09aa2bf.tar.bz2
gentoo-2-cc335ba01cfa3ba716199712e2070839c09aa2bf.zip
touchups
(Portage version: 2.1_rc3-r4)
Diffstat (limited to 'games-sports/billardgl')
-rw-r--r--games-sports/billardgl/billardgl-1.75-r1.ebuild20
1 files changed, 9 insertions, 11 deletions
diff --git a/games-sports/billardgl/billardgl-1.75-r1.ebuild b/games-sports/billardgl/billardgl-1.75-r1.ebuild
index 848b641c7ae3..9980e2ba278e 100644
--- a/games-sports/billardgl/billardgl-1.75-r1.ebuild
+++ b/games-sports/billardgl/billardgl-1.75-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-sports/billardgl/billardgl-1.75-r1.ebuild,v 1.6 2006/03/12 23:22:55 tupone Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-sports/billardgl/billardgl-1.75-r1.ebuild,v 1.7 2006/06/02 07:48:29 mr_bones_ Exp $
inherit games
@@ -13,35 +13,33 @@ KEYWORDS="amd64 x86 ppc"
SLOT="0"
IUSE=""
-RDEPEND="|| ( ( x11-libs/libXi
+DEPEND="|| ( ( x11-libs/libXi
x11-libs/libXmu )
virtual/x11 )
virtual/opengl
virtual/glu
virtual/glut"
-DEPEND="${RDEPEND}
- >=sys-apps/sed-4"
-S="${WORKDIR}/BillardGL-${PV}/src"
+S=${WORKDIR}/BillardGL-${PV}/src
src_unpack() {
unpack ${A}
- cd ${S}
+ cd "${S}"
sed -i \
- -e "s:/usr/share/BillardGL/:${GAMES_DATADIR}/BillardGL/:" Namen.h || \
- die "sed Namen.h failed"
+ -e "s:/usr/share/BillardGL/:${GAMES_DATADIR}/BillardGL/:" Namen.h \
+ || die "sed failed"
sed -i \
-e "/^CFLAGS/ s:-pipe -Wall -W:${CFLAGS}:" \
-e "/^CXXFLAGS/ s:-pipe -Wall -W:${CXXFLAGS}:" Makefile \
- || die "sed Makefile failed"
+ || die "sed failed"
}
src_install() {
dogamesbin BillardGL || die "dogamesbin failed"
- dodir ${GAMES_DATADIR}/BillardGL
+ dodir "${GAMES_DATADIR}/BillardGL"
cp -r lang/ Texturen/ "${D}/${GAMES_DATADIR}/BillardGL" || die "cp failed"
dodoc README
doicon "${FILESDIR}/${PN}.png"
- make_desktop_entry ${PN} "BillardGL" ${PN}.png
+ make_desktop_entry ${PN} "BillardGL"
prepgamesdirs
}