summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2004-07-01 08:39:37 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2004-07-01 08:39:37 +0000
commit554166e03b73576ed0aac6337481479f2ef1bde5 (patch)
tree35af23631c727938e29109b70396703b75517b7b /games-fps/legends
parentvirtual/glibc -> virtual/libc (Manifest recommit) (diff)
downloadgentoo-2-554166e03b73576ed0aac6337481479f2ef1bde5.tar.gz
gentoo-2-554166e03b73576ed0aac6337481479f2ef1bde5.tar.bz2
gentoo-2-554166e03b73576ed0aac6337481479f2ef1bde5.zip
Version bump (bug #46987)
Diffstat (limited to 'games-fps/legends')
-rw-r--r--games-fps/legends/ChangeLog7
-rw-r--r--games-fps/legends/Manifest6
-rw-r--r--games-fps/legends/files/digest-legends-0.4.1b1
-rw-r--r--games-fps/legends/legends-0.4.1b.ebuild61
4 files changed, 72 insertions, 3 deletions
diff --git a/games-fps/legends/ChangeLog b/games-fps/legends/ChangeLog
index 3db29365775f..298bef6e32af 100644
--- a/games-fps/legends/ChangeLog
+++ b/games-fps/legends/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for games-fps/legends
# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-fps/legends/ChangeLog,v 1.6 2004/06/24 22:42:16 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-fps/legends/ChangeLog,v 1.7 2004/07/01 08:39:37 mr_bones_ Exp $
+
+*legends-0.4.1b (01 Jul 2004)
+
+ 01 Jul 2004; Michael Sterrett <mr_bones_@gentoo.org> +legends-0.4.1b.ebuild:
+ Version bump (bug #46987)
03 Jun 2004; Aron Griffis <agriffis@gentoo.org> legends-0.3.6.ebuild,
legends-0.4.0.ebuild:
diff --git a/games-fps/legends/Manifest b/games-fps/legends/Manifest
index 381030224634..aa1cb2b3e086 100644
--- a/games-fps/legends/Manifest
+++ b/games-fps/legends/Manifest
@@ -1,8 +1,10 @@
-MD5 4fa1746342647a0dc4954e29f2ca9494 legends-0.4.0.ebuild 1687
MD5 e12cf1dc698c49efe32a71ee09fb2a6c ChangeLog 1025
MD5 625d937416c6f4ff060bcfe80f386589 legends-0.3.6.ebuild 1139
+MD5 4fa1746342647a0dc4954e29f2ca9494 legends-0.4.0.ebuild 1687
MD5 19efaca346e15cfd4b111429276f9ea9 metadata.xml 1336
-MD5 aa8c1bd48a100c976303df49a0e31c30 files/legends 76
+MD5 4fa1746342647a0dc4954e29f2ca9494 legends-0.4.1b.ebuild 1687
MD5 431ec9fd08d7a352164332fca811430d files/digest-legends-0.3.6 67
MD5 f5d78e4d95e40cd67669b58942687d65 files/digest-legends-0.4.0 67
+MD5 aa8c1bd48a100c976303df49a0e31c30 files/legends 76
MD5 3c8d3736e44ff5b89117c2f5930b60b3 files/legends-ded 49
+MD5 c325789d9c7d46ef6877ac53199c1f3a files/digest-legends-0.4.1b 68
diff --git a/games-fps/legends/files/digest-legends-0.4.1b b/games-fps/legends/files/digest-legends-0.4.1b
new file mode 100644
index 000000000000..6b5fd0563093
--- /dev/null
+++ b/games-fps/legends/files/digest-legends-0.4.1b
@@ -0,0 +1 @@
+MD5 704e7d78128b2a34fee71b6fa5ec6c06 legends-0.4.1b.tar.gz 91591544
diff --git a/games-fps/legends/legends-0.4.1b.ebuild b/games-fps/legends/legends-0.4.1b.ebuild
new file mode 100644
index 000000000000..2d4eb2902c93
--- /dev/null
+++ b/games-fps/legends/legends-0.4.1b.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/legends/legends-0.4.1b.ebuild,v 1.1 2004/07/01 08:39:37 mr_bones_ Exp $
+
+inherit games
+
+DESCRIPTION="A fast-paced first-person-perspective online multiplayer game similar to Tribes"
+HOMEPAGE="http://hosted.tribalwar.com/legends/"
+SRC_URI="http://hosted.tribalwar.com/legends/files/${P}.tar.gz"
+
+RESTRICT="nomirror"
+KEYWORDS="-* x86"
+LICENSE="as-is"
+SLOT="0"
+IUSE="dedicated"
+
+DEPEND=""
+RDEPEND=">=media-libs/libsdl-1.2
+ media-libs/openal"
+
+S="${S}/${P}" # Nice packing job guys.
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ # keep libSDL-1.3.so because legends requires it as of 0.4.0, and
+ # 1.2.6 is highest in portage
+ # rm libSDL-*.so*
+ rm runlegends libopenal.so
+ find . -type f -exec chmod a-x '{}' \;
+ chmod a+x lindedicated LinLegends
+}
+
+src_install() {
+ local dir="${GAMES_PREFIX_OPT}/${PN}"
+ local LIBSDL=libSDL-1.3.so.0
+
+ keepdir "${dir}/"{show/ui,show/scripts,legends/scripts,legends/data,common/server,common/edit,common/client}
+ cp -R * "${D}${dir}/" || die "cp failed"
+ dogamesbin "${FILESDIR}/legends" || die "dogamesbin failed (1)"
+ sed -i \
+ -e "s:GENTOO_DIR:${dir}:" \
+ -e "s:LIBSDL:${LIBSDL}:" "${D}${GAMES_BINDIR}/legends" \
+ || die "sed failed"
+ if use dedicated ; then
+ dogamesbin "${FILESDIR}/legends-ded" || die "dogamesbin failed (2)"
+ sed -i \
+ -e "s:GENTOO_DIR:${dir}:" "${D}${GAMES_BINDIR}/legends-ded" \
+ || die "sed failed"
+ fi
+ prepgamesdirs
+}
+
+pkg_postinst() {
+ games_pkg_postinst
+ echo
+ einfo "Version ${PV} of ${PN} may give problems if there are"
+ einfo "config-files from earlier versions. Removing the ~/.legends dir"
+ einfo "and restarting will solve this."
+ echo
+}