summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2004-03-20 12:57:59 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2004-03-20 12:57:59 +0000
commit6ab669c058d43e3792dfdd0a461a69f5ad68aa54 (patch)
tree08d1b45aa4c92a05148f0bd9c2ffc6ba6a37033a /games-sports/billardgl
parentgnome 2.6 commit (diff)
downloadhistorical-6ab669c058d43e3792dfdd0a461a69f5ad68aa54.tar.gz
historical-6ab669c058d43e3792dfdd0a461a69f5ad68aa54.tar.bz2
historical-6ab669c058d43e3792dfdd0a461a69f5ad68aa54.zip
don't rdepend on sed; sed in unpack; error check; IUSE; header fix
Diffstat (limited to 'games-sports/billardgl')
-rw-r--r--games-sports/billardgl/ChangeLog8
-rw-r--r--games-sports/billardgl/Manifest6
-rw-r--r--games-sports/billardgl/billardgl-1.75-r1.ebuild29
3 files changed, 27 insertions, 16 deletions
diff --git a/games-sports/billardgl/ChangeLog b/games-sports/billardgl/ChangeLog
index 902368de099a..c1e8489139bf 100644
--- a/games-sports/billardgl/ChangeLog
+++ b/games-sports/billardgl/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-sports/billardgl
-# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-sports/billardgl/ChangeLog,v 1.3 2003/11/28 23:56:04 mr_bones_ Exp $
+# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-sports/billardgl/ChangeLog,v 1.4 2004/03/20 12:57:59 mr_bones_ Exp $
+
+ 20 Mar 2004; Michael Sterrett <mr_bones_@gentoo.org>
+ billardgl-1.75-r1.ebuild:
+ don't rdepend on sed; sed in unpack; error check; IUSE; header fix
28 Nov 2003; Michael Sterrett <mr_bones_@gentoo.org>
billardgl-1.75-r1.ebuild:
diff --git a/games-sports/billardgl/Manifest b/games-sports/billardgl/Manifest
index 3bcb8c2814b6..f838404bd6da 100644
--- a/games-sports/billardgl/Manifest
+++ b/games-sports/billardgl/Manifest
@@ -1,4 +1,4 @@
-MD5 13effb466c9567f669af83c1d7b0abcf ChangeLog 1678
-MD5 5d84a24b2facaecd6f1d84569d0a8610 billardgl-1.75-r1.ebuild 896
-MD5 a30c9d4ce8f9629d6d7323eaab258343 metadata.xml 241
+MD5 bedf182ea50cdf9a74522aea6a691c94 ChangeLog 1831
+MD5 ad39dfa21f6f0b951467c9b35026e250 billardgl-1.75-r1.ebuild 1100
+MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158
MD5 f211ce963bfb4ecfb03e07f7358f8a55 files/digest-billardgl-1.75-r1 66
diff --git a/games-sports/billardgl/billardgl-1.75-r1.ebuild b/games-sports/billardgl/billardgl-1.75-r1.ebuild
index 0d62531dc613..98e37c3eebcd 100644
--- a/games-sports/billardgl/billardgl-1.75-r1.ebuild
+++ b/games-sports/billardgl/billardgl-1.75-r1.ebuild
@@ -1,36 +1,43 @@
-# Copyright 1999-2003 Gentoo Technologies, Inc. and Jordan Armstrong
+# Copyright 1999-2004 Gentoo Technologies, Inc.
# 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.2 2003/11/28 23:56:04 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-sports/billardgl/billardgl-1.75-r1.ebuild,v 1.3 2004/03/20 12:57:59 mr_bones_ Exp $
inherit games
DESCRIPTION="A OpenGL billards game"
-SRC_URI="mirror://sourceforge/billardgl/BillardGL-${PV}.tar.gz"
HOMEPAGE="http://www.billardgl.de/"
+SRC_URI="mirror://sourceforge/billardgl/BillardGL-${PV}.tar.gz"
-KEYWORDS="amd64 x86 ppc"
LICENSE="GPL-2"
+KEYWORDS="amd64 x86 ppc"
SLOT="0"
+IUSE=""
-DEPEND="virtual/x11
+RDEPEND="virtual/x11
virtual/opengl
virtual/glu
- virtual/glut
+ virtual/glut"
+DEPEND="${RDEPEND}
>=sys-apps/sed-4"
-S=${WORKDIR}/BillardGL-${PV}/src
+S="${WORKDIR}/BillardGL-${PV}/src"
-src_compile() {
+src_unpack() {
+ unpack ${A}
+ cd ${S}
sed -i \
-e "s:/usr/share/BillardGL/:${GAMES_DATADIR}/BillardGL/:" Namen.h || \
die "sed Namen.h failed"
- emake || die "emake failed"
+ sed -i \
+ -e "/^CFLAGS/ s:-pipe -Wall -W:${CFLAGS}:" \
+ -e "/^CXXFLAGS/ s:-pipe -Wall -W:${CXXFLAGS}:" Makefile \
+ || die "sed Makefile failed"
}
src_install() {
- dogamesbin BillardGL
+ dogamesbin BillardGL || die "dogamesbin failed"
dodir ${GAMES_DATADIR}/BillardGL
- mv lang Texturen ${D}/${GAMES_DATADIR}/BillardGL
+ cp -r lang/ Texturen/ "${D}/${GAMES_DATADIR}/BillardGL" || die "cp failed"
dodoc README
prepgamesdirs
}