summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Gianelloni <wolf31o2@gentoo.org>2005-03-25 14:34:50 +0000
committerChris Gianelloni <wolf31o2@gentoo.org>2005-03-25 14:34:50 +0000
commitd76ffe9c6fa6d326c355c7eb5aa8836982e372fe (patch)
treefaa801e59ac6185528e226f660c99b3aa80586ca /games-action/heavygear2
parent~amd64 (diff)
downloadhistorical-d76ffe9c6fa6d326c355c7eb5aa8836982e372fe.tar.gz
historical-d76ffe9c6fa6d326c355c7eb5aa8836982e372fe.tar.bz2
historical-d76ffe9c6fa6d326c355c7eb5aa8836982e372fe.zip
Updated to use newer functions from games.eclass and eutils.eclass to simplify the ebuild and also removing old launcher shell script.
Package-Manager: portage-2.0.51.19
Diffstat (limited to 'games-action/heavygear2')
-rw-r--r--games-action/heavygear2/ChangeLog7
-rw-r--r--games-action/heavygear2/Manifest5
-rw-r--r--games-action/heavygear2/files/hg23
-rw-r--r--games-action/heavygear2/heavygear2-1.0b.ebuild21
4 files changed, 17 insertions, 19 deletions
diff --git a/games-action/heavygear2/ChangeLog b/games-action/heavygear2/ChangeLog
index 92a0aaf65c57..0e16a86c5960 100644
--- a/games-action/heavygear2/ChangeLog
+++ b/games-action/heavygear2/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for games-action/heavygear2
# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-action/heavygear2/ChangeLog,v 1.7 2005/03/07 14:04:48 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-action/heavygear2/ChangeLog,v 1.8 2005/03/25 14:34:50 wolf31o2 Exp $
+
+ 25 Mar 2005; Chris Gianelloni <wolf31o2@gentoo.org> -files/hg2,
+ heavygear2-1.0b.ebuild:
+ Updated to use newer functions from games.eclass and eutils.eclass to
+ simplify the ebuild and also removing old launcher shell script.
07 Mar 2005; Chris Gianelloni <wolf31o2@gentoo.org>
heavygear2-1.0b.ebuild:
diff --git a/games-action/heavygear2/Manifest b/games-action/heavygear2/Manifest
index e1b145e801f2..e49167212baa 100644
--- a/games-action/heavygear2/Manifest
+++ b/games-action/heavygear2/Manifest
@@ -1,5 +1,4 @@
-MD5 85056f8ab1b9a0553678bf588f865362 heavygear2-1.0b.ebuild 2441
-MD5 72807554ed92879f5e898be2955fca0c ChangeLog 1023
+MD5 f0e80e2c35028f859f179d3db0b359eb heavygear2-1.0b.ebuild 2331
+MD5 108dd6e1786feb53c46920c95c1e5da1 ChangeLog 1255
MD5 1060dcea6f845a9b290a401037dfc512 metadata.xml 1002
-MD5 d9fc3c7e9ae39b326a9ca4095c11d122 files/hg2 38
MD5 a4daa0679d466ded814559d380ea7f42 files/digest-heavygear2-1.0b 68
diff --git a/games-action/heavygear2/files/hg2 b/games-action/heavygear2/files/hg2
deleted file mode 100644
index 0a44cc971803..000000000000
--- a/games-action/heavygear2/files/hg2
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/sh
-cd GENTOO_DIR
-exec ./hg2 $*
diff --git a/games-action/heavygear2/heavygear2-1.0b.ebuild b/games-action/heavygear2/heavygear2-1.0b.ebuild
index bf33a9d68f6d..d45bc46855dc 100644
--- a/games-action/heavygear2/heavygear2-1.0b.ebuild
+++ b/games-action/heavygear2/heavygear2-1.0b.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-action/heavygear2/heavygear2-1.0b.ebuild,v 1.7 2005/03/07 14:04:48 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-action/heavygear2/heavygear2-1.0b.ebuild,v 1.8 2005/03/25 14:34:50 wolf31o2 Exp $
-inherit games
+inherit eutils games
IUSE="3dfx videos"
DESCRIPTION="Heavy Gear II - 3D first-person Mechanized Assault"
@@ -15,7 +15,7 @@ SLOT="0"
KEYWORDS="x86"
RESTRICT="nostrip"
-DEPEND="virtual/libc"
+DEPEND="games-util/loki_patch"
RDEPEND="${DEPEND}
=media-libs/freetype-1*
virtual/opengl"
@@ -48,7 +48,7 @@ src_install() {
insinto ${dir}
use 3dfx && doins ${CDROM_ROOT}/bin/x86/glibc-2.1/LibMesaVoodooGL.so.1.2.030300
- cp ${CDROM_ROOT}/{README,icon.{bmp,xpm}} ${Ddir}
+ doins ${CDROM_ROOT}/{README,icon.{bmp,xpm}}
use videos && cp -r ${CDROM_ROOT}/shell ${Ddir}
cd ${Ddir}
@@ -58,22 +58,19 @@ src_install() {
tar xzf ${CDROM_ROOT}/binaries.tar.gz || die "uncompressing binaries"
cd ${S}
- bin/Linux/x86/loki_patch --verify patch.dat
- bin/Linux/x86/loki_patch patch.dat ${Ddir} >& /dev/null || die "patching"
+ loki_patch --verify patch.dat
+ loki_patch patch.dat ${Ddir} >& /dev/null || die "patching"
# now, since these files are coming off a cd, the times/sizes/md5sums wont
# be different ... that means portage will try to unmerge some files (!)
# we run touch on ${D} so as to make sure portage doesnt do any such thing
find ${Ddir} -exec touch '{}' \;
- dodir ${GAMES_BINDIR}
- dogamesbin ${FILESDIR}/hg2
- dosed "s:GENTOO_DIR:${dir}:" ${GAMES_BINDIR}/hg2
- insinto /usr/share/pixmaps
- newins ${CDROM_ROOT}/icon.xpm HG2.xpm
+ games_make_wrapper hg2 ./hg2 ${dir}
+ newicon ${CDROM_ROOT}/icon.xpm hg2.xpm
prepgamesdirs
- make_desktop_entry hg2 "Heavy Gear II" "HG2.xpm"
+ make_desktop_entry hg2 "Heavy Gear II" hg2.xpm
}
pkg_postinst() {