summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Walls <malverian@gentoo.org>2005-08-31 19:34:16 +0000
committerPhilip Walls <malverian@gentoo.org>2005-08-31 19:34:16 +0000
commit9987e29761e4a485d91ee5899cc3307ef34572be (patch)
tree0148437b6edf9c984fc2a16ea064ba80b608e419 /games-rpg/planeshift
parentversion bump for for planeshift, cleaned old builds (diff)
downloadgentoo-2-9987e29761e4a485d91ee5899cc3307ef34572be.tar.gz
gentoo-2-9987e29761e4a485d91ee5899cc3307ef34572be.tar.bz2
gentoo-2-9987e29761e4a485d91ee5899cc3307ef34572be.zip
version bump, fixes to wrapper scripts, cleaned out old builds
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'games-rpg/planeshift')
-rw-r--r--games-rpg/planeshift/ChangeLog13
-rw-r--r--games-rpg/planeshift/Manifest15
-rw-r--r--games-rpg/planeshift/files/digest-planeshift-0.2.010-r11
-rw-r--r--games-rpg/planeshift/files/digest-planeshift-0.3.0101
-rw-r--r--games-rpg/planeshift/files/digest-planeshift-0.3.0111
-rw-r--r--games-rpg/planeshift/files/planeshift9
-rw-r--r--games-rpg/planeshift/files/planeshift-0.2.010-fix-cast.diff12
-rw-r--r--games-rpg/planeshift/files/planeshift-setup9
-rw-r--r--games-rpg/planeshift/files/planeshift-updater11
-rw-r--r--games-rpg/planeshift/planeshift-0.2.010-r1.ebuild66
-rw-r--r--games-rpg/planeshift/planeshift-0.3.011.ebuild (renamed from games-rpg/planeshift/planeshift-0.3.010.ebuild)10
11 files changed, 48 insertions, 100 deletions
diff --git a/games-rpg/planeshift/ChangeLog b/games-rpg/planeshift/ChangeLog
index 188d9f8a5e59..b413dcfed643 100644
--- a/games-rpg/planeshift/ChangeLog
+++ b/games-rpg/planeshift/ChangeLog
@@ -1,6 +1,15 @@
# ChangeLog for games-rpg/planeshift
-# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-rpg/planeshift/ChangeLog,v 1.8 2005/05/22 20:02:43 malverian Exp $
+# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-rpg/planeshift/ChangeLog,v 1.9 2005/08/31 19:34:16 malverian Exp $
+
+*planeshift-0.3.011 (31 Aug 2005)
+
+ 31 Aug 2005; Philip Walls <malverian@gentoo.org>
+ -files/planeshift-0.2.010-fix-cast.diff, files/planeshift,
+ files/planeshift-setup, files/planeshift-updater,
+ -planeshift-0.2.010-r1.ebuild, -planeshift-0.3.010.ebuild,
+ +planeshift-0.3.011.ebuild:
+ Version bump
22 May 2005; Philip Walls <malverian@gentoo.org> files/planeshift
files/planeshift-updater +files/planeshift-setup:
diff --git a/games-rpg/planeshift/Manifest b/games-rpg/planeshift/Manifest
index 57f3916ed5f0..07f5fdeb0515 100644
--- a/games-rpg/planeshift/Manifest
+++ b/games-rpg/planeshift/Manifest
@@ -1,10 +1,7 @@
+MD5 dedaeaea7a66552f57ecbab4bfb75235 ChangeLog 2006
MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158
-MD5 9e0ee08e38617bd0484d84bbdf5c9e17 planeshift-0.2.010-r1.ebuild 1733
-MD5 0387c5320e825f12208de96cd1a54801 planeshift-0.3.010.ebuild 2514
-MD5 d33d01c6ac9d1a6251cc38653d32ce8d ChangeLog 1700
-MD5 472d2df5c47bcb82438d598fd4f401cb files/digest-planeshift-0.3.010 73
-MD5 a6b3c03bb00760172f490ae59e50cd32 files/digest-planeshift-0.2.010-r1 73
-MD5 55ca5a5f359ded6c425416248e30d3f3 files/planeshift 127
-MD5 94847ea277df082a561148a98614bfa1 files/planeshift-0.2.010-fix-cast.diff 507
-MD5 5f5b70517b6436296ddb922da817e413 files/planeshift-setup 126
-MD5 623559e3c4a0cd732b6cc64520972786 files/planeshift-updater 155
+MD5 eae646d05985d59299226e350e38e3b0 planeshift-0.3.011.ebuild 2413
+MD5 d36ebb08ae2a044431da73cf9af175f2 files/planeshift-setup 290
+MD5 ef4af237db8a9c93c7fb476c87e0e9d8 files/digest-planeshift-0.3.011 73
+MD5 c88f36fa5955068c95a8717023d99a87 files/planeshift 305
+MD5 b0529daec0a1a5176bc138c2cb99654d files/planeshift-updater 335
diff --git a/games-rpg/planeshift/files/digest-planeshift-0.2.010-r1 b/games-rpg/planeshift/files/digest-planeshift-0.2.010-r1
deleted file mode 100644
index 50efac0de0b7..000000000000
--- a/games-rpg/planeshift/files/digest-planeshift-0.2.010-r1
+++ /dev/null
@@ -1 +0,0 @@
-MD5 2154e32d098d57061c218d866e9fb95a planeshift-0.2.010.tar.bz2 84205583
diff --git a/games-rpg/planeshift/files/digest-planeshift-0.3.010 b/games-rpg/planeshift/files/digest-planeshift-0.3.010
deleted file mode 100644
index e2d95a1c22c1..000000000000
--- a/games-rpg/planeshift/files/digest-planeshift-0.3.010
+++ /dev/null
@@ -1 +0,0 @@
-MD5 765a71ebf36d3288f4edd8b8fda3a7b6 planeshift-0.3.010.tar.bz2 10971869
diff --git a/games-rpg/planeshift/files/digest-planeshift-0.3.011 b/games-rpg/planeshift/files/digest-planeshift-0.3.011
new file mode 100644
index 000000000000..5bae50fe815c
--- /dev/null
+++ b/games-rpg/planeshift/files/digest-planeshift-0.3.011
@@ -0,0 +1 @@
+MD5 4756a67262f967809e8b983d1331c88c planeshift-0.3.011.tar.bz2 11008107
diff --git a/games-rpg/planeshift/files/planeshift b/games-rpg/planeshift/files/planeshift
index 5c015448a7d3..79e5b5e8985b 100644
--- a/games-rpg/planeshift/files/planeshift
+++ b/games-rpg/planeshift/files/planeshift
@@ -1,6 +1,13 @@
#!/bin/sh
-cd /opt/planeshift
+PLANESHIFT_DIR="/opt/planeshift"
+
+if [ ! -d "$PLANESHIFT_DIR" ]; then
+ echo "Your Planeshift directory is missing. You need to reinstall Planeshift!"
+ exit 1
+fi
+
+cd "$PLANESHIFT_DIR"
export CRYSTAL="/opt/crystal/lib/crystalspace"
export CEL="/opt/crystal/lib/cel"
diff --git a/games-rpg/planeshift/files/planeshift-0.2.010-fix-cast.diff b/games-rpg/planeshift/files/planeshift-0.2.010-fix-cast.diff
deleted file mode 100644
index 14b8a6eb2026..000000000000
--- a/games-rpg/planeshift/files/planeshift-0.2.010-fix-cast.diff
+++ /dev/null
@@ -1,12 +0,0 @@
---- planeshift/src/server/psdatabase.cpp~ 2003-12-16 18:05:24.000000000 +0000
-+++ planeshift/src/server/psdatabase.cpp 2003-12-16 18:03:23.000000000 +0000
-@@ -2371,7 +2371,8 @@
- int epos = questName.FindSubStringReverse(sep, questName.Length());
-
- csString temp ("");
-- temp.Append(questName + spos, epos-spos);
-+ sprintf ( buffer, "%s%d", eventName, spos );
-+ temp.Append( buffer, epos-spos);
- printf("InsertQuestEvent quest name: %s", temp.GetData());
-
- csString command( "" );
diff --git a/games-rpg/planeshift/files/planeshift-setup b/games-rpg/planeshift/files/planeshift-setup
index 77986604da72..90bc2884eebf 100644
--- a/games-rpg/planeshift/files/planeshift-setup
+++ b/games-rpg/planeshift/files/planeshift-setup
@@ -1,6 +1,13 @@
#!/bin/sh
-cd /opt/planeshift
+PLANESHIFT_DIR="/opt/planeshift"
+
+if [ ! -d "$PLANESHIFT_DIR" ]; then
+ echo "Your Planeshift directory is missing. You need to reinstall Planeshift!"
+ exit 1
+fi
+
+cd "$PLANESHIFT_DIR"
export CRYSTAL="/opt/crystal/lib/crystalspace"
export CEL="/opt/crystal/lib/cel"
diff --git a/games-rpg/planeshift/files/planeshift-updater b/games-rpg/planeshift/files/planeshift-updater
index 51003debf56d..401cdd99ba78 100644
--- a/games-rpg/planeshift/files/planeshift-updater
+++ b/games-rpg/planeshift/files/planeshift-updater
@@ -1,10 +1,17 @@
#!/bin/sh
-cd /opt/planeshift
+PLANESHIFT_DIR="/opt/planeshift"
+
+if [ ! -d "$PLANESHIFT_DIR" ]; then
+ echo "Your Planeshift directory is missing. You need to reinstall Planeshift!"
+ exit 1
+fi
+
+cd "$PLANESHIFT_DIR"
export CRYSTAL="/opt/crystal/lib/crystalspace"
export CEL="/opt/crystal/lib/cel"
./updater $@
-chmod g+rw . -R 2>/dev/null
+chmod g+rw "$PLANESHIFT_DIR" -R 2>/dev/null
diff --git a/games-rpg/planeshift/planeshift-0.2.010-r1.ebuild b/games-rpg/planeshift/planeshift-0.2.010-r1.ebuild
deleted file mode 100644
index 3532a606f4aa..000000000000
--- a/games-rpg/planeshift/planeshift-0.2.010-r1.ebuild
+++ /dev/null
@@ -1,66 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-rpg/planeshift/planeshift-0.2.010-r1.ebuild,v 1.13 2005/05/22 00:48:25 malverian Exp $
-
-inherit eutils games
-
-DESCRIPTION="virtual fantasy world MMORPG"
-HOMEPAGE="http://www.planeshift.it/"
-SRC_URI="mirror://gentoo/distfiles/${P}.tar.bz2"
-
-LICENSE="|| ( GPL-2 Planeshift )"
-SLOT="0"
-KEYWORDS="-*"
-IUSE=""
-
-# Doesn't like the new cs-config (bug #54659)
-RDEPEND="net-misc/curl
- <dev-games/crystalspace-20040604
- dev-games/cel"
-DEPEND="${RDEPEND}
- >=sys-apps/sed-4"
-
-S="${WORKDIR}/${PN}"
-
-export PLANESHIFT_PREFIX=${PLANESHIFT_PREFIX:-${GAMES_PREFIX_OPT}/${PN}}
-export CRYSTAL_PREFIX=${CRYSTAL_PREFIX:-${GAMES_PREFIX_OPT}/crystal}
-export CEL_PREFIX=${CEL_PREFIX:-${CRYSTAL_PREFIX}}
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
- epatch "${FILESDIR}/${P}-fix-cast.diff"
- sed -i \
- -e 's:curl/types.h:curl/curl.h:' \
- src/updater/httpclient/download.h \
- || die "sed failed"
-}
-
-src_compile() {
- env \
- -uCEL \
- -uCSCONFPATH \
- CEL=${CEL_PREFIX} \
- CSCONFPATH=${CEL_PREFIX} \
- ./configure --prefix=${PLANESHIFT_PREFIX} --with-cs-prefix=${CRYSTAL_PREFIX} || die
- jam || die
-}
-
-src_install() {
- rm -rf src mk config* ac* Jam* install-sh mkinstalldirs \
- missing autogen.sh depcomp Makefile.* ltmain.sh \
- out support include
-
- dodir ${PLANESHIFT_PREFIX}
- mv * ${D}/${PLANESHIFT_PREFIX}
-
- dogamesbin ${FILESDIR}/planeshift
- sed -i \
- -e "s:GENTOO_CRYSTAL_DIR:${CRYSTAL_PREFIX}:" \
- -e "s:GENTOO_CEL_DIR:${CRYSTAL_PREFIX}:" \
- -e "s:GENTOO_PLANESHIFT_DIR:${PLANESHIFT_PREFIX}:" \
- "${D}${GAMES_BINDIR}/planeshift" \
- || die "sed ${D}${GAMES_BINDIR}/planeshift failed"
-
- prepgamesdirs
-}
diff --git a/games-rpg/planeshift/planeshift-0.3.010.ebuild b/games-rpg/planeshift/planeshift-0.3.011.ebuild
index 59785457ba76..d535e61413b3 100644
--- a/games-rpg/planeshift/planeshift-0.3.010.ebuild
+++ b/games-rpg/planeshift/planeshift-0.3.011.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-rpg/planeshift/planeshift-0.3.010.ebuild,v 1.3 2005/06/08 18:35:11 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-rpg/planeshift/planeshift-0.3.011.ebuild,v 1.1 2005/08/31 19:34:16 malverian Exp $
inherit eutils games debug
@@ -10,12 +10,12 @@ SRC_URI="mirror://gentoo/distfiles/${P}.tar.bz2"
LICENSE="|| ( GPL-2 Planeshift )"
SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 ~x86 ~ppc"
IUSE="${IUSE}"
RDEPEND="net-misc/curl
- =dev-games/crystalspace-0.99_pre*
- =dev-games/cel-0.99_pre*"
+ >=dev-games/crystalspace-0.99_pre*
+ >=dev-games/cel-0.99_pre*"
DEPEND="${RDEPEND}
>=sys-apps/sed-4"
@@ -73,7 +73,7 @@ src_install() {
chgrp -R games "${D}/${PLANESHIFT_PREFIX}"
chmod -R g+rw "${D}/${PLANESHIFT_PREFIX}"
- # Make sure new files are still :games
+ # Make sure new files stay in games group
find "${D}/${PLANESHIFT_PREFIX}" -type d -exec chmod g+sx {} \;
}