ChangeLog

# ChangeLog for games-action/fakk2
# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/games-action/fakk2/ChangeLog,v 1.17 2008/06/05 19:06:19 wolf31o2 Exp $

05 Jun 2008; Chris Gianelloni metadata.xml:
Removing myself as maintainer.

12 Mar 2007; Marius Mauch fakk2-1.02.ebuild:
Replacing einfo with elog

24 Oct 2006; Chris Gianelloni fakk2-1.02.ebuild:
Moved cdrom_get_cds to src_unpack since binary packages don't require the
original media to install as well as some general cleanup.

13 Apr 2006; Chris Gianelloni fakk2-1.02.ebuild:
Moved games_pkg_setup to the beginning of pkg_setup and changed to use
GAMES_CHECK_LICENSE variable.

31 Mar 2006; Chris Gianelloni fakk2-1.02.ebuild:
Changing nostrip to strip.

21 Oct 2005; Chris Gianelloni fakk2-1.02.ebuild:
Added addition dir variable to games_make_wrapper for bug #109793.

21 Sep 2005; Chris Gianelloni fakk2-1.02.ebuild:
Changed check_license to explicitly list license to check.

03 Aug 2005; Chris Gianelloni fakk2-1.02.ebuild:
Fixed a typo and closing bug #101202.

09 Jun 2005; Chris Gianelloni -files/fakk2:
Removing unnecessary wrapper script.

09 Jun 2005; Chris Gianelloni fakk2-1.02.ebuild:
Updated to use newer functions added since this ebuild was created.

20 Apr 2005; Chris Gianelloni fakk2-1.02.ebuild:
Added warning about bug #82149.

07 Mar 2005; Chris Gianelloni fakk2-1.02.ebuild:
Changed hardcoded /opt/fakk2 to dir variable and closing bug #84363.

03 Jun 2004; Michael Sterrett fakk2-1.02.ebuild:
fix use invocation

15 Feb 2004; Chris Gianelloni fakk2-1.02.ebuild:
Updated to use new cdrom_get_cds routine in eutils.eclass.

*fakk2-1.02 (05 Aug 2003)

05 Aug 2003; Chris Gianelloni fakk2-1.02.ebuild:
Updating description

27 Jul 2003; Chris Gianelloni files/fakk2:
Initial import. Ebuild by me.

Manifest

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

EBUILD fakk2-1.02.ebuild 1884 RMD160 a8bcab086e0c8f584e49452a65c3e991765e2b6f SHA1 8b43610b94ab7479867ba604dc20c1d22a57824f SHA256 2c1faa465e6ce709e26c6365ccce8c0cfd832c9460cd93c9913bbdb8ac55f67c
MISC ChangeLog 2255 RMD160 4dc06bb6d9e2779542a6a6cf8b5d319cdc2c7f5c SHA1 e6119c3b20adeeb0785c3d997fc542aedc455ccb SHA256 b608319f7715e9d0144dca4117838bce2c872bc6442981ea7d24fefdf6b8fe5e
MISC metadata.xml 1115 RMD160 5d0feee6b5c205b3b99663bbef177d47999737b1 SHA1 0b68ee7db165122138d86ad262505021f4e899fd SHA256 5524c0e0a26417b710634fab724a7e211e6baed8b4191dc63aad517489ba23b5
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)

iEUEARECAAYFAkhIOSwACgkQkT4lNIS36YGV0gCgn9jruiAzPGjE39CvHKAvYJRE
pU4Alj3V3ucMTycJbw0I8ltpNE+GEec=
=OaVS
-----END PGP SIGNATURE-----

fakk2-1.02.ebuild

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-action/fakk2/fakk2-1.02.ebuild,v 1.16 2008/05/15 12:31:51 nyhm Exp $

inherit eutils games

IUSE="nocd"
DESCRIPTION="Heavy Metal: FAKK2 - 3D third-person action shooter based on the Heavy Metal comics/movies"
HOMEPAGE="http://www.lokigames.com/products/fakk2/"
SRC_URI=""

LICENSE="LOKI-EULA"
SLOT="0"
KEYWORDS="x86"
RESTRICT="strip"

RDEPEND="virtual/opengl"

S=${WORKDIR}

GAMES_CHECK_LICENSE="yes"
dir=${GAMES_PREFIX_OPT}/${PN}
Ddir=${D}/${dir}

pkg_setup() {
games_pkg_setup
if use nocd ; then
ewarn "The installed game takes about 378MB of space!"
fi
}

src_install() {
cdrom_get_cds fakk
einfo "Copying files... this may take a while..."
exeinto "${dir}"
doexe ${CDROM_ROOT}/bin/x86/glibc-2.1/${PN}
insinto "${dir}"
doins ${CDROM_ROOT}/{README,icon.{bmp,xpm}}
exeinto "${dir}"/fakk
doexe ${CDROM_ROOT}/bin/x86/glibc-2.1/fakk/{c,f}game.so
if use nocd ; then
insinto "${dir}"/fakk
doins ${CDROM_ROOT}/fakk/pak{0,1,2,3}.pk3
doins ${CDROM_ROOT}/fakk/default.cfg
fi

# 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 ${PN} ./${PN} "${dir}" "${dir}"
newicon ${CDROM_ROOT}/icon.xpm ${PN}.xpm

prepgamesdirs
make_desktop_entry ${PN} "FAKK2" ${PN}
}

pkg_postinst() {
games_pkg_postinst
echo
ewarn "There are two possible security bugs in this package, both causing a denial of"
ewarn "service. One affects the game when running a server, the other when running as"
ewarn "a client. For more information, see bug #82149."
echo
elog "To play the game run:"
elog " fakk2"
}

metadata.xml




games

Heavy Metal: F.A.K.K.2 is a third-person 3-D action game based on characters from the Heavy Metal comics and movies. Years have passed since Julie Strain (a.k.a. F.A.K.K.2) defeated the would-be God Lord Tyler on the bloody battlefields of the Holy Land. She has long since put the pain of those days behind her and brought her homeworld of Eden to a perfect natural balance. But far away in the deepest nebulas of space, the greatest evil of all stirs, ready to make its final move -- to take control of the entire universe. A lone beacon hurtles toward Eden, hoping to summon the god-slayer F.A.K.K.2 one last time. It bears nothing more than an onimous warning: "GITH IS COMING." 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.