--- legends-0.2.2b.ebuild 2003-11-01 21:03:52.000000000 -0500 +++ legends-0.3.0.ebuild 2003-11-09 17:35:52.918356427 -0500 @@ -1,29 +1,27 @@ # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /home/cvsroot/gentoo-x86/games-fps/legends/legends-0.2.2b.ebuild,v 1.2 2003/09/27 01:03:59 vapier Exp $ +# $Header: $ inherit games -DESCRIPTION="A fast-paced first-person-perspective online multiplayer game" +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/legends.tar.gz" +SRC_URI="http://themasters.co.za/${P}.tar.gz" -LICENSE="TGE" +LICENSE="as-is" SLOT="0" -KEYWORDS="x86" +KEYWORDS="~x86" DEPEND="" RDEPEND=">=media-libs/libsdl-1.2 media-libs/openal" -S=${WORKDIR} - src_unpack() { unpack ${A} + cd ${S} rm runlegends libSDL-*.so* libopenal.so find -type f -exec chmod a-x '{}' \; - chmod -R go-w * - chmod a+x common legends show ispawn lindedicated LinLegends + chmod a+x ispawn lindedicated LinLegends } src_install() { @@ -32,7 +30,9 @@ cp -R * ${D}/${dir}/ dogamesbin ${FILESDIR}/legends dosed "s:GENTOO_DIR:${dir}:" ${GAMES_BINDIR}/legends - dogamesbin ${FILESDIR}/legends-ded - dosed "s:GENTOO_DIR:${dir}:" ${GAMES_BINDIR}/legends-ded + if use dedicated; then + dogamesbin ${FILESDIR}/legends-ded + dosed "s:GENTOO_DIR:${dir}:" ${GAMES_BINDIR}/legends-ded + fi prepgamesdirs }