summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2003-09-09 18:10:15 +0000
committerMike Frysinger <vapier@gentoo.org>2003-09-09 18:10:15 +0000
commitc22ea1f9962983b3583d00085024413d77102212 (patch)
treeacd80fa59d92f27b0609b3d58893ef500cd09925 /games-fps/unreal-tournament
parentNew version 'n cleanup (diff)
downloadgentoo-2-c22ea1f9962983b3583d00085024413d77102212.tar.gz
gentoo-2-c22ea1f9962983b3583d00085024413d77102212.tar.bz2
gentoo-2-c22ea1f9962983b3583d00085024413d77102212.zip
games-fps uNF uNF uNF
Diffstat (limited to 'games-fps/unreal-tournament')
-rw-r--r--games-fps/unreal-tournament/ChangeLog28
-rw-r--r--games-fps/unreal-tournament/Manifest5
-rw-r--r--games-fps/unreal-tournament/files/digest-unreal-tournament-4362
-rw-r--r--games-fps/unreal-tournament/files/digest-unreal-tournament-4512
-rw-r--r--games-fps/unreal-tournament/unreal-tournament-436.ebuild103
-rw-r--r--games-fps/unreal-tournament/unreal-tournament-451.ebuild118
6 files changed, 258 insertions, 0 deletions
diff --git a/games-fps/unreal-tournament/ChangeLog b/games-fps/unreal-tournament/ChangeLog
new file mode 100644
index 000000000000..e3faf7742832
--- /dev/null
+++ b/games-fps/unreal-tournament/ChangeLog
@@ -0,0 +1,28 @@
+# ChangeLog for app-games/unreal-tournament
+# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/unreal-tournament/ChangeLog,v 1.1 2003/09/09 18:10:15 vapier Exp $
+
+ 29 Aug 2003; Chris Gianelloni <wolf31o2@gentoo.org>
+ unreal-tournament-436.ebuild, unreal-tournament-451.ebuild:
+ Add .desktop file. Closes bug #27542.
+
+*unreal-tournament-451 (10 Jul 2003)
+
+ 10 Jul 2003; Mike Frysinger <vapier@gentoo.org> :
+ Added UTPG patch to bring UT up to snuff :)
+ Thanks to mrannanj for pointing it out.
+
+*unreal-tournament-436 (23 Oct 2002)
+
+ 21 Jun 2003; Mike Frysinger <vapier@gentoo.org> :
+ Reworked ebuild to install everything by hand. This
+ bypasses shortcomings of loki installer and other requirements.
+
+ 11 Mar 2003; Mike Frysinger <vapier@gentoo.org> :
+ Added --target option to use ${T} in place of /tmp.
+
+ 03 Nov 2002; Mike Frysinger <vapier@gentoo.org> :
+ Added a check for regular UT version.
+
+ 23 Oct 2002; Mike Frysinger <vapier@gentoo.org> :
+ Initial import. Ebuild submitted by me.
diff --git a/games-fps/unreal-tournament/Manifest b/games-fps/unreal-tournament/Manifest
new file mode 100644
index 000000000000..7606cacce384
--- /dev/null
+++ b/games-fps/unreal-tournament/Manifest
@@ -0,0 +1,5 @@
+MD5 77ee7e17c52cfab5d97ce163c529d766 ChangeLog 1081
+MD5 ea4651eee85d891408afbd0201af8414 unreal-tournament-436.ebuild 3078
+MD5 0f0557076b781ecda443a9f936f1f2a6 unreal-tournament-451.ebuild 3592
+MD5 0a78b913dfc50ea965a0215f2c41a1a5 files/digest-unreal-tournament-436 137
+MD5 3e6449f274a09ed26511140113deaff0 files/digest-unreal-tournament-451 130
diff --git a/games-fps/unreal-tournament/files/digest-unreal-tournament-436 b/games-fps/unreal-tournament/files/digest-unreal-tournament-436
new file mode 100644
index 000000000000..50131d299078
--- /dev/null
+++ b/games-fps/unreal-tournament/files/digest-unreal-tournament-436
@@ -0,0 +1,2 @@
+MD5 b2fb7006ba2420665916739b7d9f7885 ut-install-436.run 6225010
+MD5 4728a81018f57b16b604b806432a6fa3 IpDrv-436-Linux-08-20-02.zip 105435
diff --git a/games-fps/unreal-tournament/files/digest-unreal-tournament-451 b/games-fps/unreal-tournament/files/digest-unreal-tournament-451
new file mode 100644
index 000000000000..574382c2f2cb
--- /dev/null
+++ b/games-fps/unreal-tournament/files/digest-unreal-tournament-451
@@ -0,0 +1,2 @@
+MD5 b2fb7006ba2420665916739b7d9f7885 ut-install-436.run 6225010
+MD5 77a735a78b1eb819042338859900b83b UTPGPatch451.tar.bz2 3064473
diff --git a/games-fps/unreal-tournament/unreal-tournament-436.ebuild b/games-fps/unreal-tournament/unreal-tournament-436.ebuild
new file mode 100644
index 000000000000..932241e53b96
--- /dev/null
+++ b/games-fps/unreal-tournament/unreal-tournament-436.ebuild
@@ -0,0 +1,103 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/unreal-tournament/unreal-tournament-436.ebuild,v 1.1 2003/09/09 18:10:15 vapier Exp $
+
+inherit games eutils
+
+DESCRIPTION="Futuristic FPS"
+HOMEPAGE="http://www.unrealtournament.com/"
+SRC_URI="ftp://ftp.lokigames.com/pub/patches/ut/ut-install-${PV}.run
+ ftp://ftp.lokigames.com/pub/patches/ut/IpDrv-${PV}-Linux-08-20-02.zip"
+
+LICENSE="as-is"
+SLOT="0"
+KEYWORDS="-* x86"
+IUSE="3dfx X"
+
+DEPEND="app-arch/unzip
+ !app-games/unreal-tournament-goty"
+RDEPEND="X? ( virtual/x11 )"
+
+S=${WORKDIR}
+
+pkg_setup() {
+ games_get_cd System/
+ games_verify_cd ${PN}
+ games_pkg_setup
+}
+
+src_unpack() {
+ unpack_makeself ut-install-${PV}.run
+ unpack IpDrv-${PV}-Linux-08-20-02.zip
+}
+
+src_install() {
+ local dir=${GAMES_PREFIX_OPT}/${PN}
+ dodir ${dir}
+
+ # Help, Logs, Music, Textures, Web
+ cp -rf ${UT_CD}/{Help,Logs,Music,Textures,Web} ${D}/${dir}/ || die "copy Help, Logs, Music, Textures, Web"
+ tar -zxf Credits.tar.gz -C ${D}/${dir} || die "extract credits texture"
+ # NetGamesUSA.com
+ tar -zxf NetGamesUSA.com.tar.gz -C ${D}/${dir}/ || die "extract NetGamesUSA.com"
+ # Sounds
+ dodir ${dir}/Sounds
+ cp -rf ${UT_CD}/Sounds/*.uax ${D}/${dir}/Sounds/ || die "copy Sounds"
+
+ # System
+ if [ `use 3dfx` ] ; then
+ tar -zxf Glide.ini.tar.gz -C ${D}/${dir} || die "install Glide ini"
+ else
+ tar -zxf OpenGL.ini.tar.gz -C ${D}/${dir} || die "install OpenGL ini"
+ fi
+ tar -zxf data.tar.gz -C ${D}/${dir} || die "extract System data"
+ cp ${UT_CD}/System/*.u ${D}/${dir}/System/ || die "copy System data"
+
+ # the most important things, ucc & ut :)
+ exeinto ${dir}
+ doexe bin/x86/{ucc,ut} || die "install ucc/ut"
+ dosed "s:\`FindPath \$0\`:${dir}:" ${dir}/ucc
+
+ # now we install the IpDrv.so patch
+ insinto ${dir}/System
+ doins IpDrv.so || die "install IpDrv.so patch"
+
+ # install a few random files
+ insinto ${dir}
+ doins README icon.{bmp,xpm} || die "installing random files"
+
+ # install a menu item (closes bug #27542)
+ insinto /usr/share/pixmaps
+ newins icon.xpm ut.xpm
+ make_desktop_entry ut "Unreal Tournament" ut.xpm
+
+ # now we uncompress the maps (GOTY edition installs maps as .uz)
+ einfo "Uncompressing Maps ... this may take some time"
+ dodir ${dir}/Maps
+ cd ${D}/${dir}
+ export HOME=${T}
+ export UT_DATA_PATH=${D}/${dir}/System
+ for f in `find ${UT_CD}/Maps/ -name '*.uz' -printf '%f '` ; do
+ ./ucc decompress ${UT_CD}/Maps/${f} -nohomedir || die "uncompressing map ${f}"
+ mv System/${f:0:${#f}-3} Maps/ || die "copy map ${f}"
+ done
+ cp -rf ${UT_CD}/Maps/*.unr ${D}/${dir}/Maps/ # some cd's have uncompressed maps ??
+
+ # export some symlinks so ppl can run
+ dodir ${GAMES_BINDIR}
+ dosym ${dir}/ucc ${GAMES_BINDIR}/ucc
+ dosym ${dir}/ut ${GAMES_BINDIR}/ut
+
+ prepgamesdirs
+}
+
+pkg_postinst() {
+ games_pkg_postinst
+ echo
+ einfo "You might want to install the bonus packs too."
+ einfo "Many servers on the internet use them, and the"
+ einfo "majority of players do too."
+ echo
+ einfo "Just run: emerge unreal-tournament-bonuspacks"
+ echo
+}
diff --git a/games-fps/unreal-tournament/unreal-tournament-451.ebuild b/games-fps/unreal-tournament/unreal-tournament-451.ebuild
new file mode 100644
index 000000000000..2c5eed78981f
--- /dev/null
+++ b/games-fps/unreal-tournament/unreal-tournament-451.ebuild
@@ -0,0 +1,118 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/unreal-tournament/unreal-tournament-451.ebuild,v 1.1 2003/09/09 18:10:15 vapier Exp $
+
+inherit games eutils
+
+DESCRIPTION="Futuristic FPS"
+HOMEPAGE="http://www.unrealtournament.com/ http://utpg.org/"
+SRC_URI="ftp://ftp.lokigames.com/pub/patches/ut/ut-install-436.run
+ http://utpg.org/patches/UTPGPatch${PV}.tar.bz2"
+
+LICENSE="as-is"
+SLOT="0"
+KEYWORDS="-* x86"
+IUSE="3dfx X"
+
+DEPEND="app-arch/unzip
+ !app-games/unreal-tournament-goty"
+DEPEND="X? ( virtual/x11 )
+ opengl? ( virtual/opengl )"
+
+S=${WORKDIR}
+
+pkg_setup() {
+ games_get_cd System/
+ games_verify_cd ${PN}
+ games_pkg_setup
+}
+
+src_unpack() {
+ unpack_makeself ut-install-436.run
+ mkdir UTPG && cd UTPG
+ unpack UTPGPatch${PV}.tar.bz2
+ rm checkfiles.sh patch.md5
+}
+
+src_install() {
+ local dir=${GAMES_PREFIX_OPT}/${PN}
+ local Ddir=${D}/${dir}
+ dodir ${dir}
+
+ # Help, Logs, Music, Textures, Web
+ cp -rf ${GAMES_CD}/{Help,Logs,Music,Textures,Web} ${Ddir}/ || die "copy Help, Logs, Music, Textures, Web"
+ tar -zxf Credits.tar.gz -C ${Ddir} || die "extract credits texture"
+ # NetGamesUSA.com
+ tar -zxf NetGamesUSA.com.tar.gz -C ${Ddir}/ || die "extract NetGamesUSA.com"
+ # Sounds
+ dodir ${dir}/Sounds
+ cp -rf ${GAMES_CD}/Sounds/*.uax ${Ddir}/Sounds/ || die "copy Sounds"
+
+ # System
+ if [ `use 3dfx` ] ; then
+ tar -zxf Glide.ini.tar.gz -C ${Ddir} || die "install Glide ini"
+ else
+ tar -zxf OpenGL.ini.tar.gz -C ${Ddir} || die "install OpenGL ini"
+ fi
+ tar -zxf data.tar.gz -C ${Ddir} || die "extract System data"
+ cp ${GAMES_CD}/System/*.u ${Ddir}/System/ || die "copy System data"
+
+ # the most important things, ucc & ut :)
+ exeinto ${dir}
+ doexe bin/x86/{ucc,ut} || die "install ucc/ut"
+ dosed "s:\`FindPath \$0\`:${dir}:" ${dir}/ucc
+
+ # install a few random files
+ insinto ${dir}
+ doins README icon.{bmp,xpm} || die "installing random files"
+
+ # install a menu item (closes bug #27542)
+ insinto /usr/share/pixmaps
+ newins icon.xpm ut.xpm
+ make_desktop_entry ut "Unreal Tournament" ut.xpm
+
+ # first apply any patch remaints loki has for us
+ cd setup.data
+ ./bin/Linux/x86/loki_patch patch.dat ${Ddir} >& /dev/null
+ cd ${S}
+
+ # finally, unleash the UTPG patch
+ cp -rf UTPG/* ${Ddir}/
+ # fix a small bug until next official release
+ dosed "/^LoadClassMismatch/s:%s.%s:%s:" ${dir}/System/Core.int
+
+ # now we uncompress the maps (GOTY edition installs maps as .uz)
+ einfo "Uncompressing Maps ... this may take some time"
+ dodir ${dir}/Maps
+ cd ${Ddir}
+ export HOME=${T}
+ export UT_DATA_PATH=${Ddir}/System
+ for f in `find ${GAMES_CD}/Maps/ -name '*.uz' -printf '%f '` ; do
+ ./ucc decompress ${GAMES_CD}/Maps/${f} -nohomedir || die "uncompressing map ${f}"
+ mv System/${f:0:${#f}-3} Maps/ || die "copy map ${f}"
+ done
+ cp -rf ${GAMES_CD}/Maps/*.unr ${Ddir}/Maps/ # some cd's have uncompressed maps ??
+
+ # 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 '{}' \;
+
+ # export some symlinks so ppl can run
+ dodir ${GAMES_BINDIR}
+ dosym ${dir}/ucc ${GAMES_BINDIR}/ucc
+ dosym ${dir}/ut ${GAMES_BINDIR}/ut
+
+ prepgamesdirs
+}
+
+pkg_postinst() {
+ games_pkg_postinst
+ echo
+ einfo "You might want to install the bonus packs too."
+ einfo "Many servers on the internet use them, and the"
+ einfo "majority of players do too."
+ echo
+ einfo "Just run: emerge unreal-tournament-bonuspacks"
+ echo
+}