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
commitad69522f5e6b57d5350a46ebda16dbe091d0e4b6 (patch)
tree1580e46b57d69a004ab7bafb3f19590605890684 /games-fps/unreal-tournament-goty
parentNew version 'n cleanup (diff)
downloadhistorical-ad69522f5e6b57d5350a46ebda16dbe091d0e4b6.tar.gz
historical-ad69522f5e6b57d5350a46ebda16dbe091d0e4b6.tar.bz2
historical-ad69522f5e6b57d5350a46ebda16dbe091d0e4b6.zip
games-fps uNF uNF uNF
Diffstat (limited to 'games-fps/unreal-tournament-goty')
-rw-r--r--games-fps/unreal-tournament-goty/ChangeLog17
-rw-r--r--games-fps/unreal-tournament-goty/Manifest5
-rw-r--r--games-fps/unreal-tournament-goty/files/digest-unreal-tournament-goty-4362
-rw-r--r--games-fps/unreal-tournament-goty/files/digest-unreal-tournament-goty-4512
-rw-r--r--games-fps/unreal-tournament-goty/unreal-tournament-goty-436.ebuild208
-rw-r--r--games-fps/unreal-tournament-goty/unreal-tournament-goty-451.ebuild218
6 files changed, 452 insertions, 0 deletions
diff --git a/games-fps/unreal-tournament-goty/ChangeLog b/games-fps/unreal-tournament-goty/ChangeLog
new file mode 100644
index 000000000000..93420f5b83d6
--- /dev/null
+++ b/games-fps/unreal-tournament-goty/ChangeLog
@@ -0,0 +1,17 @@
+# ChangeLog for app-games/unreal-tournament-goty
+# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/unreal-tournament-goty/ChangeLog,v 1.1 2003/09/09 18:10:15 vapier Exp $
+
+*unreal-tournament-goty-451 (11 Jul 2003)
+
+ 11 Jul 2003; Mike Frysinger <vapier@gentoo.org> :
+ Version bump to UTPG patches and fix for #24067.
+
+*unreal-tournament-goty-436 (25 Jun 2003)
+
+ 27 Jun 2003; Mike Frysinger <vapier@gentoo.org> :
+ Fix texture install (only 4 minor textures) and add nls support.
+ If we dont want nls, we dont want french/spanish/italian support ;)
+
+ 25 Jun 2003; Mike Frysinger <vapier@gentoo.org> :
+ Initial import. Ebuild submitted by me !
diff --git a/games-fps/unreal-tournament-goty/Manifest b/games-fps/unreal-tournament-goty/Manifest
new file mode 100644
index 000000000000..5ea83aaeaeed
--- /dev/null
+++ b/games-fps/unreal-tournament-goty/Manifest
@@ -0,0 +1,5 @@
+MD5 abe1848a16c4dd0dd10fcdfce23eb0fa ChangeLog 723
+MD5 542a2514bd81c2ddc8ab9dbdfad57bc4 unreal-tournament-goty-436.ebuild 6021
+MD5 506a31850d10c1225029e513b36fa628 unreal-tournament-goty-451.ebuild 6357
+MD5 9410f0d78776e5b045bf0f47226a7cd7 files/digest-unreal-tournament-goty-436 142
+MD5 1cbaec035f9fd4841f609ff9edbe9959 files/digest-unreal-tournament-goty-451 135
diff --git a/games-fps/unreal-tournament-goty/files/digest-unreal-tournament-goty-436 b/games-fps/unreal-tournament-goty/files/digest-unreal-tournament-goty-436
new file mode 100644
index 000000000000..9bc0374f7275
--- /dev/null
+++ b/games-fps/unreal-tournament-goty/files/digest-unreal-tournament-goty-436
@@ -0,0 +1,2 @@
+MD5 8ebab3fdcd6ac92605cdec5f82693ec6 ut-install-436-GOTY.run 6340417
+MD5 4728a81018f57b16b604b806432a6fa3 IpDrv-436-Linux-08-20-02.zip 105435
diff --git a/games-fps/unreal-tournament-goty/files/digest-unreal-tournament-goty-451 b/games-fps/unreal-tournament-goty/files/digest-unreal-tournament-goty-451
new file mode 100644
index 000000000000..c70ebb745cdb
--- /dev/null
+++ b/games-fps/unreal-tournament-goty/files/digest-unreal-tournament-goty-451
@@ -0,0 +1,2 @@
+MD5 8ebab3fdcd6ac92605cdec5f82693ec6 ut-install-436-GOTY.run 6340417
+MD5 77a735a78b1eb819042338859900b83b UTPGPatch451.tar.bz2 3064473
diff --git a/games-fps/unreal-tournament-goty/unreal-tournament-goty-436.ebuild b/games-fps/unreal-tournament-goty/unreal-tournament-goty-436.ebuild
new file mode 100644
index 000000000000..19801933325c
--- /dev/null
+++ b/games-fps/unreal-tournament-goty/unreal-tournament-goty-436.ebuild
@@ -0,0 +1,208 @@
+# 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-goty/unreal-tournament-goty-436.ebuild,v 1.1 2003/09/09 18:10:15 vapier Exp $
+
+inherit games eutils
+
+DESCRIPTION="Futuristic FPS (Game Of The Year edition)"
+HOMEPAGE="http://www.unrealtournament.com/"
+SRC_URI="ftp://ftp.lokigames.com/pub/beta/ut/ut-install-${PV}-GOTY.run
+ ftp://ftp.lokigames.com/pub/patches/ut/IpDrv-${PV}-Linux-08-20-02.zip"
+
+LICENSE="as-is"
+SLOT="0"
+KEYWORDS="x86"
+IUSE="X 3dfx S3TC nls"
+
+DEPEND="!app-games/unreal-tournament"
+RDEPEND="X? ( virtual/x11 )"
+
+S=${WORKDIR}
+
+export UT_CD1=${UT_SETUP_CDROM1}
+export UT_CD2=${UT_SETUP_CDROM2}
+if [ -z "${UT_CD1}" ] ; then
+ for mline in `mount | egrep -e '(iso|cdrom)' | awk '{print $3}'` ; do
+ [ ! -d ${mline}/System ] && continue
+ [ -d ${mline}/Help/chaosut ] \
+ && UT_CD2=${mline} \
+ || UT_CD1=${mline}
+ done
+fi
+[ -z "${UT_CD2}" ] && UT_CD2=${UT_CD1}
+
+pkg_setup() {
+ if [ -z "${UT_CD1}" ] || [ -z "${UT_CD2}" ] ; then
+ echo
+ eerror "You must mount the first UT CD first !"
+ echo
+ ewarn "If you do not have the CDs, but have the data files"
+ ewarn "mounted somewhere on your filesystem, just export"
+ ewarn "the variable UT_SETUP_CDROM1 so that it points to the"
+ ewarn "base of the Unreal Tournament GOTY data."
+ echo
+ einfo "If you have 2 CDROM drives you can also export the"
+ einfo "variable UT_SETUP_CDROM2 to specify the 2nd cdrom."
+ einfo "Otherwise you will be prompted to switch CDs in the"
+ einfo "middle of the emerge."
+ echo
+ einfo "Also note that if you want to *just* install the game"
+ einfo "and *not* install the extra GOTY stuff (Chaos mod/different"
+ einfo "languages/S3TC textures) then you can use the regular"
+ einfo "unreal-tournament ebuild instead."
+ echo
+ die "You must provide the Unreal Tournament data before running the install"
+ fi
+ games_pkg_setup
+}
+
+src_unpack() {
+ unpack_makeself ut-install-${PV}-GOTY.run
+ unpack IpDrv-${PV}-Linux-08-20-02.zip
+}
+
+src_install() {
+ local dir=${GAMES_PREFIX_OPT}/${PN/-goty/}
+ dodir ${dir}
+
+ ###########
+ ### PRE ###
+ # 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"
+
+ # the most important things, ucc & ut :)
+ exeinto ${dir}
+ doexe bin/x86/{ucc,ut} || die "install ucc/ut"
+ dosed "s:\`FindPath \$0\`:${dir}:" ${dir}/ucc
+
+ # export some symlinks so ppl can run
+ dodir ${GAMES_BINDIR}
+ dosym ${dir}/ucc ${GAMES_BINDIR}/ucc
+ dosym ${dir}/ut ${GAMES_BINDIR}/ut
+ ### PRE ###
+ ###########
+
+
+ ###########
+ ### CD1 ###
+ export UT_CD=${UT_CD1}
+
+ # Help, Logs, Music, Sounds, Textures, Web
+ cp -rf ${UT_CD}/{Help,Logs,Music,Textures,Web} ${D}/${dir}/ || die "copy Help, Logs, Music, Textures, Web CD1"
+ dodir ${dir}/Sounds
+ if [ `use nls` ] ; then
+ cp -rf ${UT_CD}/Sounds/* ${D}/${dir}/Sounds/ || die "copy Sounds CD1"
+ else
+ cp -rf ${UT_CD}/Sounds/*.uax ${D}/${dir}/Sounds/ || die "copy Sounds CD1"
+ fi
+
+ # System
+ dodir ${dir}/System
+ if [ `use nls` ] ; then
+ cp ${UT_CD}/System/*.{est,frt,itt,int,u} ${D}/${dir}/System/ || die "copy System data CD1"
+ else
+ cp ${UT_CD}/System/*.{int,u} ${D}/${dir}/System/ || die "copy System data CD1"
+ fi
+
+ # now we uncompress the maps
+ einfo "Uncompressing CD1 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 CD1 ${f}"
+ mv System/${f:0:${#f}-3} Maps/ || die "copy map CD1 ${f}"
+ done
+ ### CD1 ###
+ ###########
+
+
+ ### Have user switch cds if need be ###
+ if [ "${UT_CD1}" == "${UT_CD2}" ] ; then
+ while :; do
+ einfo "Please mount the 2nd cd at ${UT_CD2} and press return when ready (or CTRL+C to abort)"
+ read
+ [ -d ${UT_CD2}/System ] && break
+ [ -d ${UT_CD2}/Help/chaosut ] && break
+ eerror "Could not verify that ${UT_CD2} really contains the 2nd CD"
+ done
+ fi
+
+
+ ###########
+ ### CD2 ###
+ export UT_CD=${UT_CD2}
+
+ # Help, Sounds
+ cp -rf ${UT_CD}/{Help,Sounds} ${D}/${dir}/ || die "copy Help, Sounds CD2"
+
+ # S3TC Textures
+ if [ `use S3TC` ] ; then
+ cp -rf ${UT_CD}/Textures ${D}/${dir}/ || die "copy S3TC Textures CD2"
+ else
+ cp -rf ${UT_CD}/Textures/{JezzTex,Jezztex2,SnowDog,chaostex{,2}}.utx ${D}/${dir}/Textures/ || die "copy Textures CD2"
+ fi
+
+ # System
+ cp -rf ${UT_CD}/System/*.{u,int} ${D}/${dir}/System/ || die "copy System CD2"
+
+ # now we uncompress the maps
+ einfo "Uncompressing CD2 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 CD2 ${f}"
+ mv System/${f:0:${#f}-3} Maps/ || die "copy map CD2 ${f}"
+ done
+ ### CD2 ###
+ ###########
+
+
+ ###########
+ ### END ###
+ cd ${S}
+
+ # Textures
+ 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"
+
+ # Patch UT-GOTY
+ cd setup.data
+ cp patch.dat{,.orig}
+ sed -e 's:sh uz-maps.sh:echo:' patch.dat.orig > patch.dat
+ ./bin/Linux/x86/loki_patch patch.dat ${D}/${dir} || die "failed to patch"
+ cd ${S}
+
+ # 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"
+ ### END ###
+ ###########
+
+ prepgamesdirs
+}
+
+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
+
+ games_pkg_postinst
+}
diff --git a/games-fps/unreal-tournament-goty/unreal-tournament-goty-451.ebuild b/games-fps/unreal-tournament-goty/unreal-tournament-goty-451.ebuild
new file mode 100644
index 000000000000..b19e820bb24d
--- /dev/null
+++ b/games-fps/unreal-tournament-goty/unreal-tournament-goty-451.ebuild
@@ -0,0 +1,218 @@
+# 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-goty/unreal-tournament-goty-451.ebuild,v 1.1 2003/09/09 18:10:15 vapier Exp $
+
+inherit games
+
+DESCRIPTION="Futuristic FPS (Game Of The Year edition)"
+HOMEPAGE="http://www.unrealtournament.com/"
+SRC_URI="ftp://ftp.lokigames.com/pub/beta/ut/ut-install-436-GOTY.run
+ http://utpg.org/patches/UTPGPatch${PV}.tar.bz2"
+
+LICENSE="as-is"
+SLOT="0"
+KEYWORDS="x86"
+IUSE="X 3dfx S3TC nls opengl"
+
+DEPEND="!app-games/unreal-tournament"
+RDEPEND="X? ( virtual/x11 )
+ opengl? ( virtual/opengl )"
+
+S=${WORKDIR}
+
+export UT_CD1=${UT_SETUP_CDROM1}
+export UT_CD2=${UT_SETUP_CDROM2}
+if [ -z "${UT_CD1}" ] ; then
+ for mline in `mount | egrep -e '(iso|cdrom)' | awk '{print $3}'` ; do
+ [ ! -d ${mline}/System ] && continue
+ [ -d ${mline}/Help/chaosut ] \
+ && UT_CD2=${mline} \
+ || UT_CD1=${mline}
+ done
+fi
+[ -z "${UT_CD2}" ] && UT_CD2=${UT_CD1}
+
+pkg_setup() {
+ if [ -z "${UT_CD1}" ] || [ -z "${UT_CD2}" ] ; then
+ echo
+ eerror "You must mount the first UT CD first !"
+ echo
+ ewarn "If you do not have the CDs, but have the data files"
+ ewarn "mounted somewhere on your filesystem, just export"
+ ewarn "the variable UT_SETUP_CDROM1 so that it points to the"
+ ewarn "base of the Unreal Tournament GOTY data."
+ echo
+ einfo "If you have 2 CDROM drives you can also export the"
+ einfo "variable UT_SETUP_CDROM2 to specify the 2nd cdrom."
+ einfo "Otherwise you will be prompted to switch CDs in the"
+ einfo "middle of the emerge."
+ echo
+ einfo "Also note that if you want to *just* install the game"
+ einfo "and *not* install the extra GOTY stuff (Chaos mod/different"
+ einfo "languages/S3TC textures) then you can use the regular"
+ einfo "unreal-tournament ebuild instead."
+ echo
+ die "You must provide the Unreal Tournament data before running the install"
+ fi
+ games_pkg_setup
+}
+
+src_unpack() {
+ unpack_makeself ut-install-436-GOTY.run
+ mkdir UTPG && cd UTPG
+ unpack UTPGPatch${PV}.tar.bz2
+ rm checkfiles.sh patch.md5
+}
+
+src_install() {
+ local dir=${GAMES_PREFIX_OPT}/${PN/-goty/}
+ local Ddir=${D}/${dir}
+ dodir ${dir}
+
+ ###########
+ ### PRE ###
+ # 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"
+
+ # the most important things, ucc & ut :)
+ exeinto ${dir}
+ doexe bin/x86/{ucc,ut} || die "install ucc/ut"
+ dosed "s:\`FindPath \$0\`:${dir}:" ${dir}/ucc
+
+ # export some symlinks so ppl can run
+ dodir ${GAMES_BINDIR}
+ dosym ${dir}/ucc ${GAMES_BINDIR}/ucc
+ dosym ${dir}/ut ${GAMES_BINDIR}/ut
+ ### PRE ###
+ ###########
+
+
+ ###########
+ ### CD1 ###
+ export UT_CD=${UT_CD1}
+
+ # Help, Logs, Music, Sounds, Textures, Web
+ cp -rf ${UT_CD}/{Help,Logs,Music,Textures,Web} ${Ddir}/ || die "copy Help, Logs, Music, Textures, Web CD1"
+ dodir ${dir}/Sounds
+ if [ `use nls` ] ; then
+ cp -rf ${UT_CD}/Sounds/* ${Ddir}/Sounds/ || die "copy Sounds CD1"
+ else
+ cp -rf ${UT_CD}/Sounds/*.uax ${Ddir}/Sounds/ || die "copy Sounds CD1"
+ fi
+
+ # System
+ dodir ${dir}/System
+ if [ `use nls` ] ; then
+ cp ${UT_CD}/System/*.{est,frt,itt,int,u} ${Ddir}/System/ || die "copy System data CD1"
+ else
+ cp ${UT_CD}/System/*.{int,u} ${Ddir}/System/ || die "copy System data CD1"
+ fi
+
+ # now we uncompress the maps
+ einfo "Uncompressing CD1 Maps ... this may take some time"
+ dodir ${dir}/Maps
+ cd ${Ddir}
+ export HOME=${T}
+ export UT_DATA_PATH=${Ddir}/System
+ for f in `find ${UT_CD}/Maps/ -name '*.uz' -printf '%f '` ; do
+ ./ucc decompress ${UT_CD}/Maps/${f} -nohomedir || die "uncompressing map CD1 ${f}"
+ mv System/${f:0:${#f}-3} Maps/ || die "copy map CD1 ${f}"
+ done
+ ### CD1 ###
+ ###########
+
+
+ ### Have user switch cds if need be ###
+ if [ "${UT_CD1}" == "${UT_CD2}" ] ; then
+ while :; do
+ einfo "Please mount the 2nd cd at ${UT_CD2} and press return when ready (or CTRL+C to abort)"
+ read
+ [ -d ${UT_CD2}/System ] && break
+ [ -d ${UT_CD2}/Help/chaosut ] && break
+ eerror "Could not verify that ${UT_CD2} really contains the 2nd CD"
+ done
+ fi
+
+
+ ###########
+ ### CD2 ###
+ export UT_CD=${UT_CD2}
+
+ # Help, Sounds
+ cp -rf ${UT_CD}/{Help,Sounds} ${Ddir}/ || die "copy Help, Sounds CD2"
+
+ # S3TC Textures
+ if [ `use S3TC` ] ; then
+ cp -rf ${UT_CD}/Textures ${Ddir}/ || die "copy S3TC Textures CD2"
+ else
+ cp -rf ${UT_CD}/Textures/{JezzTex,Jezztex2,SnowDog,chaostex{,2}}.utx ${Ddir}/Textures/ || die "copy Textures CD2"
+ fi
+
+ # System
+ cp -rf ${UT_CD}/System/*.{u,int} ${Ddir}/System/ || die "copy System CD2"
+
+ # now we uncompress the maps
+ einfo "Uncompressing CD2 Maps ... this may take some time"
+ dodir ${dir}/Maps
+ cd ${Ddir}
+ export HOME=${T}
+ export UT_DATA_PATH=${Ddir}/System
+ for f in `find ${UT_CD}/maps/ -name '*.uz' -printf '%f '` ; do
+ ./ucc decompress ${UT_CD}/maps/${f} -nohomedir || die "uncompressing map CD2 ${f}"
+ mv System/${f:0:${#f}-3} Maps/ || die "copy map CD2 ${f}"
+ done
+ ### CD2 ###
+ ###########
+
+
+ ###########
+ ### END ###
+ cd ${S}
+
+ # Textures
+ 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"
+
+ # first apply any patch remaints loki has for us
+ cd setup.data
+ cp patch.dat{,.orig}
+ sed -e 's:sh uz-maps.sh:echo:' patch.dat.orig > patch.dat
+ ./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
+
+ # install a few random files
+ insinto ${dir}
+ doins README icon.{bmp,xpm} || die "installing random files"
+
+ # 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 '{}' \;
+ ### END ###
+ ###########
+
+ prepgamesdirs
+}
+
+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
+
+ games_pkg_postinst
+}