summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Gianelloni <wolf31o2@gentoo.org>2004-02-27 21:59:22 +0000
committerChris Gianelloni <wolf31o2@gentoo.org>2004-02-27 21:59:22 +0000
commitb8458b4badcfc4c14cb9f824a4fff84dc6e78e5c (patch)
treef49d7f76313cb3d07627f4522561c0e838941ed8 /games-fps
parentAdded WANT_AUTO{CONF,MAKE} to fix configure error (this fix is for stable), c... (diff)
downloadhistorical-b8458b4badcfc4c14cb9f824a4fff84dc6e78e5c.tar.gz
historical-b8458b4badcfc4c14cb9f824a4fff84dc6e78e5c.tar.bz2
historical-b8458b4badcfc4c14cb9f824a4fff84dc6e78e5c.zip
Initial import. Ebuild created by me.
Diffstat (limited to 'games-fps')
-rw-r--r--games-fps/ut2003-bonuspack-epic/ChangeLog10
-rw-r--r--games-fps/ut2003-bonuspack-epic/Manifest5
-rw-r--r--games-fps/ut2003-bonuspack-epic/files/digest-ut2003-bonuspack-epic-11
-rw-r--r--games-fps/ut2003-bonuspack-epic/files/epic-install48
-rw-r--r--games-fps/ut2003-bonuspack-epic/metadata.xml9
-rw-r--r--games-fps/ut2003-bonuspack-epic/ut2003-bonuspack-epic-1.ebuild119
6 files changed, 192 insertions, 0 deletions
diff --git a/games-fps/ut2003-bonuspack-epic/ChangeLog b/games-fps/ut2003-bonuspack-epic/ChangeLog
new file mode 100644
index 000000000000..913717e32ca4
--- /dev/null
+++ b/games-fps/ut2003-bonuspack-epic/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for games-fps/ut2003-bonuspack-epic
+# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/ut2003-bonuspack-epic/ChangeLog,v 1.1 2004/02/27 21:59:22 wolf31o2 Exp $
+
+*ut2003-bonuspack-epic-1 (27 Feb 2004)
+
+ 27 Feb 2004; Chris Gianelloni <wolf31o2@gentoo.org> metadata.xml,
+ ut2003-bonuspack-epic-1.ebuild, files/epic-install:
+ Initial import. Ebuild created by me.
+
diff --git a/games-fps/ut2003-bonuspack-epic/Manifest b/games-fps/ut2003-bonuspack-epic/Manifest
new file mode 100644
index 000000000000..3f77691b5bcf
--- /dev/null
+++ b/games-fps/ut2003-bonuspack-epic/Manifest
@@ -0,0 +1,5 @@
+MD5 292999034c823269ea530e78342a3743 ut2003-bonuspack-epic-1.ebuild 2890
+MD5 d3ab27975551972ff0ec55f2a09e05a7 ChangeLog 450
+MD5 11a7e1491b1ac042ac7216b26b4ad1fb metadata.xml 254
+MD5 2196e2e711354e37821c813bbe2e6316 files/epic-install 922
+MD5 43d72637d05e7527567b629427e1df71 files/digest-ut2003-bonuspack-epic-1 75
diff --git a/games-fps/ut2003-bonuspack-epic/files/digest-ut2003-bonuspack-epic-1 b/games-fps/ut2003-bonuspack-epic/files/digest-ut2003-bonuspack-epic-1
new file mode 100644
index 000000000000..f2e33391a479
--- /dev/null
+++ b/games-fps/ut2003-bonuspack-epic/files/digest-ut2003-bonuspack-epic-1
@@ -0,0 +1 @@
+MD5 9713e295644e6bb4b14cf2cab026ae4e UT2003-epicbonuspackone.exe 156913152
diff --git a/games-fps/ut2003-bonuspack-epic/files/epic-install b/games-fps/ut2003-bonuspack-epic/files/epic-install
new file mode 100644
index 000000000000..5c498b1bc567
--- /dev/null
+++ b/games-fps/ut2003-bonuspack-epic/files/epic-install
@@ -0,0 +1,48 @@
+#!/bin/bash
+
+if [ -d $HOME/.ut2003/System ]; then
+ cd "$HOME/.ut2003/System"
+ echo "Editing UT2003.ini in $PWD"
+ cat >> UT2003.ini <<EOT
+
+[Xinterface.Tab_AudioSettings]
+BonusPackInfo[1]=(PackageName="AnnouncerEvil.uax",Description="Evil")
+BonusPackInfo[2]=(PackageName="AnnouncerFemale.uax",Description="Female")
+BonusPackInfo[3]=(PackageName="AnnouncerSexy.uax",Description="Aroused")
+
+EOT
+
+ ed UT2003.ini >/dev/null 2>&1 <<EOT
+/\[xInterface.ExtendedConsole\]
+a
+MusicManagerClassName=OGGPlayer.UT2OGGMenu
+.
+wq
+EOT
+
+ ed UT2003.ini >/dev/null 2>&1 <<EOT
+$
+?EditPackages?
+a
+EditPackages=BonusPack
+EditPackages=SkaarjPack
+EditPackages=SkaarjPack_rc
+.
+wq
+EOT
+
+ ed UT2003.ini >/dev/null 2>&1 <<EOT
+$
+?ServerPackages?
+a
+ServerPackages=BonusPack
+ServerPackages=SkaarjPack
+ServerPackages=SkaarjPack_rc
+.
+wq
+EOT
+
+ echo "Editing User.ini in $PWD"
+ sed 's/^F11=.*$/F11=MusicMenu/g' < User.ini > User.ini~~
+ mv User.ini~~ User.ini
+fi
diff --git a/games-fps/ut2003-bonuspack-epic/metadata.xml b/games-fps/ut2003-bonuspack-epic/metadata.xml
new file mode 100644
index 000000000000..fe08918e6837
--- /dev/null
+++ b/games-fps/ut2003-bonuspack-epic/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>games</herd>
+<maintainer>
+ <email>wolf31o2@gentoo.org</email>
+ <name>Chris Gianelloni</name>
+</maintainer>
+</pkgmetadata>
diff --git a/games-fps/ut2003-bonuspack-epic/ut2003-bonuspack-epic-1.ebuild b/games-fps/ut2003-bonuspack-epic/ut2003-bonuspack-epic-1.ebuild
new file mode 100644
index 000000000000..8a9993f6dbdd
--- /dev/null
+++ b/games-fps/ut2003-bonuspack-epic/ut2003-bonuspack-epic-1.ebuild
@@ -0,0 +1,119 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/ut2003-bonuspack-epic/ut2003-bonuspack-epic-1.ebuild,v 1.1 2004/02/27 21:59:22 wolf31o2 Exp $
+
+inherit games
+
+IUSE=""
+DESCRIPTION="Epic Bonus Pack for UT2003"
+HOMEPAGE="http://www.unrealtournament2003.com/"
+SRC_URI="ftp://ftp.infogrames.net/misc/ut2003/UT2003-epicbonuspackone.exe
+ http://fragzone.medialt.ru/files/Unreal%20Tournament/Patches/UT2003-epicbonuspackone.exe
+ http://www.edgefiles.com/download/dl3.edgefiles.com/unrealgaming.com/www/ut2003/bonuspack/UT2003-epicbonuspackone.exe"
+
+LICENSE="ut2003"
+SLOT="1"
+KEYWORDS="x86"
+RESTRICT="nostrip nomirror"
+
+DEPEND="app-arch/unzip"
+RDEPEND="games-fps/ut2003"
+
+S=${WORKDIR}/UT2003-BonusPack
+
+dir=${GAMES_PREFIX_OPT}/ut2003
+Ddir=${D}/${dir}
+
+pkg_setup() {
+ games_pkg_setup
+}
+
+src_unpack() {
+ unzip ${DISTDIR}/${A} || die "unpacking"
+ # This is done since the files are the same
+ rm ${S}/Textures/LastManStanding.utx
+}
+
+src_install() {
+ insinto ${dir}/Help
+ newins ${S}/Help/BonusPackReadme.txt EpicBonusPack.README || die "README"
+
+ exeinto ${dir}
+ doexe ${FILESDIR}/epic-installer
+
+ cp -r ${S}/{Maps,Sounds,StaticMeshes,Textures} ${Ddir} \
+ || die "Copying Maps/Sounds/Textures"
+ cp ${S}/System/{*.{det,est,frt,int,itt,kot,tmt,u},User.ini} ${Ddir} \
+ || die "Copying System files"
+ cp -v ${S}/System/Manifest.ini ${Ddir}/Manifest.ini.epic \
+ || die "Copying Manifest"
+
+ prepgamesdirs
+}
+
+pkg_postinst() {
+ einfo "You will need to run:"
+ einfo " ebuild /var/db/pkg/${CATEGORY}/${P}/${P}.ebuild config"
+ einfo "to make the necessary changes to the system .ini files."
+ echo ""
+ einfo "Each user whom has already played the game will need to run:"
+ einfo " ${dir}/epic-installer"
+ echo ""
+ einfo "to update their configuration files in their home directory."
+ echo ""
+
+ games_pkg_postinst
+}
+
+pkg_config() {
+ cd ${dir}/System
+ cp Manifest.ini Manifest.ini.pre-epic
+ cp ${dir}/Manifest.ini.epic Manifest.ini
+
+ cp Default.ini Default.ini.pre-epic
+ cat >> Default.ini <<EOT
+
+[Xinterface.Tab_AudioSettings]
+BonusPackInfo[1]=(PackageName="AnnouncerEvil.uax",Description="Evil")
+BonusPackInfo[2]=(PackageName="AnnouncerFemale.uax",Description="Female")
+BonusPackInfo[3]=(PackageName="AnnouncerSexy.uax",Description="Aroused")
+
+EOT
+
+ ed Default.ini >/dev/null 2>&1 <<EOT
+/\[xInterface.ExtendedConsole\]
+a
+MusicManagerClassName=OGGPlayer.UT2OGGMenu
+.
+w
+q
+EOT
+
+ ed Default.ini >/dev/null 2>&1 <<EOT
+$
+?EditPackages?
+a
+EditPackages=BonusPack
+EditPackages=SkaarjPack
+EditPackages=SkaarjPack_rc
+.
+w
+q
+EOT
+
+ ed Default.ini >/dev/null 2>&1 <<EOT
+$
+?ServerPackages?
+a
+ServerPackages=BonusPack
+ServerPackages=SkaarjPack
+ServerPackages=SkaarjPack_rc
+.
+w
+q
+EOT
+
+ cp DefUser.ini DefUser.ini.pre-epic
+ sed 's/^F11=.*$/F11=MusicMenu/g' < DefUser.ini > DefUser.ini~~
+ mv DefUser.ini~~ DefUser.ini
+}