summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-05-27 02:25:34 +0000
committerMike Frysinger <vapier@gentoo.org>2004-05-27 02:25:34 +0000
commitc3fae2c6ba5ea1d93b431b7d4dd082177f628c0f (patch)
tree58c05641950c3260021c2de5c84ebe81eacf1bb6
parentmask sdl-mixer-1.2.5-r2 (diff)
downloadhistorical-c3fae2c6ba5ea1d93b431b7d4dd082177f628c0f.tar.gz
historical-c3fae2c6ba5ea1d93b431b7d4dd082177f628c0f.tar.bz2
historical-c3fae2c6ba5ea1d93b431b7d4dd082177f628c0f.zip
update HOMEPAGE/DESCRIPTION #52092
-rw-r--r--games-fps/cube/cube-20021020-r2.ebuild87
-rw-r--r--games-fps/cube/cube-20031223.ebuild6
-rw-r--r--games-fps/cube/files/digest-cube-20021020-r22
3 files changed, 3 insertions, 92 deletions
diff --git a/games-fps/cube/cube-20021020-r2.ebuild b/games-fps/cube/cube-20021020-r2.ebuild
deleted file mode 100644
index 1a63fe0fa941..000000000000
--- a/games-fps/cube/cube-20021020-r2.ebuild
+++ /dev/null
@@ -1,87 +0,0 @@
-# Copyright 1999-2004 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-fps/cube/cube-20021020-r2.ebuild,v 1.3 2004/03/16 06:41:56 mr_bones_ Exp $
-
-inherit eutils games
-
-MY_P="cube_2002_10_20"
-DESCRIPTION="Landscape-style engine that pretends to be an indoor first person shooter engine"
-HOMEPAGE="http://wouter.fov120.com/cube/"
-SRC_URI="http://ludo.uib.no/cube/${MY_P}.zip
- http://www.idi.ntnu.no/~jonasf/cube/${MY_P}.zip
- http://tunes.org/~eihrul/${MY_P}.zip
- http://tunes.org/~eihrul/enet_2002_10_28.tar.gz"
-
-LICENSE="ZLIB"
-SLOT="0"
-KEYWORDS="x86 ppc"
-IUSE=""
-
-DEPEND="virtual/opengl
- media-libs/libsdl
- media-libs/sdl-mixer
- media-libs/sdl-image
- sys-libs/zlib
- media-libs/libpng"
-
-S=${WORKDIR}
-CUBE_DATADIR=${GAMES_DATADIR}/${PN}/
-
-src_unpack() {
- unpack ${A}
-
- cd source
- unzip -qn ${MY_P}_src.zip || die
-
- # enet_2002_10_28.tar.gz patch
- rm -rf enet
- mv ../enet .
-
- cd src
- epatch ${FILESDIR}/${P}-add-custom-paths.patch || die
- echo "#define GAMES_DATADIR \"${CUBE_DATADIR}\"" >> tools.h
- echo "#define GAMES_DATADIR_LEN ${#CUBE_DATADIR}" >> tools.h
- for f in sound worldio ; do
- f="${f}.cpp"
- cp ${f} ${f}.old
- sed -e "s:packages/:${CUBE_DATADIR}packages/:" ${f}.old > ${f}
- done
- edos2unix *.cpp
-}
-
-src_compile() {
- cd source/src
- make || die
-}
-
-src_install() {
- dogamesbin source/src/cube_{client,server}
- if [ "${ARCH}" == "x86" ] ; then
- newgamesbin bin_unix/linux_client cube_client-bin
- newgamesbin bin_unix/linux_server cube_server-bin
- elif [ "${ARCH}" == "ppc" ] ; then
- newgamesbin bin_unix/ppc_linux_client cube_client-bin
- newgamesbin bin_unix/ppc_linux_server cube_server-bin
- fi
- echo "#!/bin/bash"$'\n'"cd ${CUBE_DATADIR}"$'\n'"cube_client-bin $@" > ${T}/client
- echo "#!/bin/bash"$'\n'"cd ${CUBE_DATADIR}"$'\n'"cube_server-bin $@" > ${T}/server
- newgamesbin ${T}/client playcubeclient
- newgamesbin ${T}/server playcubeserver
-
- dodir ${CUBE_DATADIR}
- mv *.cfg data packages ${D}/${CUBE_DATADIR}
-
- dodoc source/src/CUBE_TODO.txt
- dohtml -r docs/
-
- prepgamesdirs
-}
-
-pkg_postinst() {
- einfo "You now have 3 clients and 3 servers:"
- einfo "cube_client-bin prebuilt version (needed to play on public multiplayer servers)"
- einfo "playcubeclient wrapper to setup path's for the prebuilt binary"
- einfo "cube_client custom client built from source"
- einfo "Parallel versions of the server have been installed"
- games_pkg_postinst
-}
diff --git a/games-fps/cube/cube-20031223.ebuild b/games-fps/cube/cube-20031223.ebuild
index c78640e80f26..83c0d9f9fb44 100644
--- a/games-fps/cube/cube-20031223.ebuild
+++ b/games-fps/cube/cube-20031223.ebuild
@@ -1,12 +1,12 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-fps/cube/cube-20031223.ebuild,v 1.4 2004/03/16 06:41:56 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-fps/cube/cube-20031223.ebuild,v 1.5 2004/05/27 02:25:34 vapier Exp $
inherit eutils games
MY_P="cube_2003_12_23"
-DESCRIPTION="Landscape-style engine that pretends to be an indoor first person shooter engine"
-HOMEPAGE="http://wouter.fov120.com/cube/"
+DESCRIPTION="open source multiplayer and singleplayer first person shooter game"
+HOMEPAGE="http://www.cubeengine.com/"
SRC_URI="mirror://sourceforge/cube/${MY_P}.zip"
LICENSE="ZLIB"
diff --git a/games-fps/cube/files/digest-cube-20021020-r2 b/games-fps/cube/files/digest-cube-20021020-r2
deleted file mode 100644
index 0149ba680ade..000000000000
--- a/games-fps/cube/files/digest-cube-20021020-r2
+++ /dev/null
@@ -1,2 +0,0 @@
-MD5 4b08234b81d7bf55e7d289df97c7c949 cube_2002_10_20.zip 9059119
-MD5 a2afc8eca949b84efc1d991be9a89777 enet_2002_10_28.tar.gz 22797