summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2004-04-28 18:26:11 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2004-04-28 18:26:11 +0000
commit0ffc98a4e94acda608b5e3ddfb98284246857e80 (patch)
treed6836a5e78e0891db6b0e83ab83306672dd70f72 /games-misc
parentgcc 3.4 fix (diff)
downloadhistorical-0ffc98a4e94acda608b5e3ddfb98284246857e80.tar.gz
historical-0ffc98a4e94acda608b5e3ddfb98284246857e80.tar.bz2
historical-0ffc98a4e94acda608b5e3ddfb98284246857e80.zip
use epatch; inherit eutils; error check/messages
Diffstat (limited to 'games-misc')
-rw-r--r--games-misc/c++robots/ChangeLog7
-rw-r--r--games-misc/c++robots/Manifest4
-rw-r--r--games-misc/c++robots/c++robots-0.ebuild16
3 files changed, 17 insertions, 10 deletions
diff --git a/games-misc/c++robots/ChangeLog b/games-misc/c++robots/ChangeLog
index d5128750c5f0..741967ff38e4 100644
--- a/games-misc/c++robots/ChangeLog
+++ b/games-misc/c++robots/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for games-misc/c++robots
-# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-misc/c++robots/ChangeLog,v 1.2 2003/09/10 20:26:12 vapier Exp $
+# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-misc/c++robots/ChangeLog,v 1.3 2004/04/28 18:26:11 mr_bones_ Exp $
+
+ 28 Apr 2004; Michael Sterrett <mr_bones_@gentoo.org> c++robots-0.ebuild:
+ use epatch; inherit eutils; error check/messages
*c++robots-0 (01 Jan 2002)
diff --git a/games-misc/c++robots/Manifest b/games-misc/c++robots/Manifest
index e0c064cd304d..04e9768a7e18 100644
--- a/games-misc/c++robots/Manifest
+++ b/games-misc/c++robots/Manifest
@@ -1,5 +1,5 @@
-MD5 5b9f8630645b93a72289a381e12b7165 ChangeLog 355
-MD5 69fdc69a3b6b81c32614d420b2aead07 c++robots-0.ebuild 803
+MD5 7027cf384d5397d5f567b8c6c2e8208b ChangeLog 485
+MD5 901c19f7f94f654053736a13e31582a1 c++robots-0.ebuild 888
MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158
MD5 cf611219e89c7d1abf52480318628372 files/digest-c++robots-0 60
MD5 fa8da7d1719da9b43e02dff5ce08efea files/proper-coding.patch 3366
diff --git a/games-misc/c++robots/c++robots-0.ebuild b/games-misc/c++robots/c++robots-0.ebuild
index f813ec9c968e..21d0d0cb0bf7 100644
--- a/games-misc/c++robots/c++robots-0.ebuild
+++ b/games-misc/c++robots/c++robots-0.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-misc/c++robots/c++robots-0.ebuild,v 1.2 2004/02/20 06:43:58 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-misc/c++robots/c++robots-0.ebuild,v 1.3 2004/04/28 18:26:11 mr_bones_ Exp $
-inherit games
+inherit eutils games
DESCRIPTION="ongoing 'King of the Hill' (KotH) tournament"
HOMEPAGE="http://www.gamerz.net/c++robots/"
@@ -17,16 +17,20 @@ DEPEND="virtual/glibc"
S="${WORKDIR}/${PN}"
-src_compile() {
- patch -p0 < ${FILESDIR}/proper-coding.patch
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch "${FILESDIR}/proper-coding.patch"
+}
+src_compile() {
local myldflags="${LDFLAGS}"
use static && myldflags="${myldflags} -static"
- emake CFLAGS="${CFLAGS}" LDFLAGS="${myldflags}" || die
+ emake CFLAGS="${CFLAGS}" LDFLAGS="${myldflags}" || die "emake failed"
}
src_install() {
- dogamesbin combat cylon target tracker
+ dogamesbin combat cylon target tracker || die "dogamesbin failed"
dodoc README
prepgamesdirs
}