Portage is a package management system used by Gentoo Linux
# ChangeLog for games-fps/soldieroffortune
# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/games-fps/soldieroffortune/ChangeLog,v 1.24 2008/07/28 16:40:18 wolf31o2 Exp $
28 Jul 2008; Chris Gianelloni
Removing myself from metadata.xml since I am retiring from the project.
29 Feb 2008; Carsten Lohrke
soldieroffortune-1.06a.ebuild:
Remove icon extension from desktop entry to match Icon Theme Specification.
15 Feb 2008; Chris Gianelloni
soldieroffortune-1.06a.ebuild:
Fix quoting.
12 Mar 2007; Marius Mauch
soldieroffortune-1.06a.ebuild:
Replacing einfo with elog
09 Jan 2007; Chris Gianelloni
soldieroffortune-1.06a.ebuild:
Added export _POSIX2_VERSION=199209 and closing bug #155538.
05 Dec 2006; Chris Gianelloni
soldieroffortune-1.06a.ebuild:
Removing old virtual/x11 dependency.
24 Oct 2006; Chris Gianelloni
soldieroffortune-1.06a.ebuild:
Moved cdrom_get_cds to src_unpack since binary packages don't require the
original media to install.
07 Oct 2006; Chris Gianelloni
soldieroffortune-1.06a.ebuild:
Stable on amd64.
28 Jun 2006; Chris Gianelloni
soldieroffortune-1.06a.ebuild:
Unpack CD data to T instead of D. Closing bug #131102.
15 May 2006; Chris Gianelloni
soldieroffortune-1.06a.ebuild:
Added an extra dodir and closing bug #131102.
13 Apr 2006; Chris Gianelloni
soldieroffortune-1.06a.ebuild:
Added initial amd64 support.
13 Apr 2006; Chris Gianelloni
soldieroffortune-1.06a.ebuild:
Moved games_pkg_setup to the beginning of pkg_setup.
31 Mar 2006; Chris Gianelloni
soldieroffortune-1.06a.ebuild:
Changed nostrip to strip.
21 Oct 2005; Chris Gianelloni
soldieroffortune-1.06a.ebuild:
Added addition dir variable to games_make_wrapper for bug #109793.
06 Sep 2005; Chris Gianelloni
soldieroffortune-1.06a.ebuild:
Updated to use lokigames mirrors.
04 May 2005; Chris Gianelloni
soldieroffortune-1.06a.ebuild:
Removing sof script and changing to use games_make_wrapper. Added loki_patch
dependency. General code cleanup.
07 Mar 2005; Chris Gianelloni
soldieroffortune-1.06a.ebuild:
Changed hardcoded /opt/soldieroffortune to dir variable and closing bug #84361.
07 Aug 2004; Tom Martin
Typo in DESCRIPTION: mercinary -> mercenary. Bug 59717.
01 Jul 2004; Jeremy Huddleston
soldieroffortune-1.06a.ebuild:
virtual/glibc -> virtual/libc
12 Apr 2004; Chris Gianelloni
soldieroffortune-1.06a.ebuild:
Removing redundant inherit eutils and adding IUSE.
27 Feb 2004; Chris Gianelloni
soldieroffortune-1.06a.ebuild:
Updating to new cdrom interface and cleaning up ebuild.
*soldieroffortune-1.06a (27 Jul 2003)
27 Jul 2003; Chris Gianelloni
soldieroffortune-1.06a.ebuild, files/sof:
Initial import. Ebuild by me.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
DIST sof-1.06a-cdrom-x86.run 22928437 RMD160 a05f5e7e96fb62bebd2f9396eed6cc45a0187155 SHA1 d617f7dc5fad3bd114adb065836a02e691454763 SHA256 44546073f26a610ec554f3d197e157a6691c0891651689308e62feccc01a1c16
EBUILD soldieroffortune-1.06a.ebuild 2193 RMD160 731a0b33d422a3eec825ee58ad273bf1c987841c SHA1 3762f1fef6d59f826fde6b986032d29f42af4dd7 SHA256 b5a029797891d19f95b19e1c8dc40699daa41fe602ba1ee3755c5e147887a412
MISC ChangeLog 3366 RMD160 5baebaddf5ee3a4fbec2beb46469c247b01769c9 SHA1 288239ae4f399ebde323b78a7d1b87c9d063554e SHA256 c7b105e42617373c286f9780937a1ed89f0892fc4d4b5976376e81f17b3c0607
MISC metadata.xml 872 RMD160 832a87250e536e89135e4824c3e94e70ed1c8d4f SHA1 9777cfd25b889593daeb0488e28215a46f755ae5 SHA256 96d85f872c5b4e35c415d883c79d042798f140ba5192135778a7292e96cd7b2b
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
iEYEARECAAYFAkiN9ncACgkQkT4lNIS36YG1fACeMwnCIcsOuquLtUgrXThSSY5f
aV0AniTy3/lYARkI8HqmjH4/DF4PhuzJ
=UMMg
-----END PGP SIGNATURE-----
Soldier of Fortune is a first-person 3-D shooter based on the mercenary trade. You play as John, an ex-military mercinary who still has plenty of good friends on the inside. For a wad of bucks, you'll do the job -- no cares, no worries. Just get the gun, play for keeps, get paid, on to the next one -- that's your life. That's what you do. And you're good at it, one of the best even. But now is the time for your biggest challenge ever. The game was ported to Linux by the now defunct Loki Entertainment and is commercial software. You can still pick up a copy from Tuxgames (http://www.tuxgames.com), but supplies are limited, as the publisher is no longer in business.
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-fps/soldieroffortune/soldieroffortune-1.06a.ebuild,v 1.24 2008/02/29 19:20:57 carlo Exp $
inherit eutils games
DESCRIPTION="First-person shooter based on the mercenary trade"
HOMEPAGE="http://www.lokigames.com/products/sof/"
SRC_URI="mirror://lokigames/sof/sof-${PV}-cdrom-x86.run"
LICENSE="LOKI-EULA"
SLOT="0"
KEYWORDS="amd64 x86"
RESTRICT="strip"
IUSE=""
DEPEND="sys-libs/glibc
games-util/loki_patch"
RDEPEND="virtual/opengl
x86? (
x11-libs/libX11
x11-libs/libXext
x11-libs/libXau
x11-libs/libXdmcp
media-libs/libvorbis
media-libs/libogg
media-libs/smpeg )
amd64? (
app-emulation/emul-linux-x86-baselibs
app-emulation/emul-linux-x86-xlibs
app-emulation/emul-linux-x86-sdl
app-emulation/emul-linux-x86-soundlibs )"
S=${WORKDIR}
GAMES_CHECK_LICENSE="yes"
dir=${GAMES_PREFIX_OPT}/${PN}
Ddir=${D}/${dir}
pkg_setup() {
games_pkg_setup
ewarn "The installed game takes about 725MB of space!"
}
src_unpack() {
cdrom_get_cds sof.xpm
unpack_makeself
tar xzf "${CDROM_ROOT}"/paks.tar.gz -C "${T}" \
|| die "uncompressing data"
tar xzf "${CDROM_ROOT}"/binaries.tar.gz -C "${T}" \
|| die "uncompressing binaries"
}
src_install() {
einfo "Copying files... this may take a while..."
exeinto "${dir}"
doexe "${CDROM_ROOT}"/bin/x86/glibc-2.1/sof || die "doexe"
insinto "${dir}"
doins -r "${T}"/* || die "doins data"
doins "${CDROM_ROOT}"/{README,kver.pub,sof.xpm} || die "doins"
cd "${S}"
export _POSIX2_VERSION=199209
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 '{}' \;
games_make_wrapper sof ./sof "${dir}" "${dir}"
doicon "${CDROM_ROOT}"/sof.xpm
make_desktop_entry sof "Soldier of Fortune" sof
prepgamesdirs
}
pkg_postinst() {
games_pkg_postinst
elog "To play the game run:"
elog " sof"
}