summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2007-08-21 19:04:06 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2007-08-21 19:04:06 +0000
commit68ddb2b5113cdda4c173a75e67521edad25aa3ac (patch)
tree89d32bc938fdd67d9ddb6f15c05462f4b3e143f9 /games-strategy/ufo-ai
parentFix building with --as-needed for bug 187697, thanks to Christian Lemke for r... (diff)
downloadgentoo-2-68ddb2b5113cdda4c173a75e67521edad25aa3ac.tar.gz
gentoo-2-68ddb2b5113cdda4c173a75e67521edad25aa3ac.tar.bz2
gentoo-2-68ddb2b5113cdda4c173a75e67521edad25aa3ac.zip
fix HOMEPAGE; tidy
(Portage version: 2.1.2.11)
Diffstat (limited to 'games-strategy/ufo-ai')
-rw-r--r--games-strategy/ufo-ai/ChangeLog5
-rw-r--r--games-strategy/ufo-ai/ufo-ai-2.1.1.ebuild27
2 files changed, 12 insertions, 20 deletions
diff --git a/games-strategy/ufo-ai/ChangeLog b/games-strategy/ufo-ai/ChangeLog
index 013057e535f2..d8f7d3257ae7 100644
--- a/games-strategy/ufo-ai/ChangeLog
+++ b/games-strategy/ufo-ai/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for games-strategy/ufo-ai
# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-strategy/ufo-ai/ChangeLog,v 1.13 2007/08/17 23:33:57 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/ufo-ai/ChangeLog,v 1.14 2007/08/21 19:04:06 mr_bones_ Exp $
+
+ 21 Aug 2007; Michael Sterrett <mr_bones_@gentoo.org> ufo-ai-2.1.1.ebuild:
+ fix HOMEPAGE; tidy
*ufo-ai-2.1.1 (17 Aug 2007)
diff --git a/games-strategy/ufo-ai/ufo-ai-2.1.1.ebuild b/games-strategy/ufo-ai/ufo-ai-2.1.1.ebuild
index 68202dd5ec0e..945435456c24 100644
--- a/games-strategy/ufo-ai/ufo-ai-2.1.1.ebuild
+++ b/games-strategy/ufo-ai/ufo-ai-2.1.1.ebuild
@@ -1,28 +1,24 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-strategy/ufo-ai/ufo-ai-2.1.1.ebuild,v 1.1 2007/08/17 23:33:57 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/ufo-ai/ufo-ai-2.1.1.ebuild,v 1.2 2007/08/21 19:04:06 mr_bones_ Exp $
inherit eutils autotools games
MY_PV=${PV/_rc/-RC}
MY_P="ufoai-${MY_PV}"
-MY_SF="mirror://sourceforge/ufoai"
DESCRIPTION="UFO: Alien Invasion - X-COM inspired strategy game"
HOMEPAGE="http://www.ufoai.net/"
-SRC_URI="${MY_SF}/music.tar.bz2
- ${MY_SF}/${MY_P}-data.tar
- ${MY_SF}/${MY_P}-source.tar.bz2
- ${MY_SF}/${MY_P}-i18n.tar.bz2"
-# Map data is already in the main data tarball
-# ${MY_SF}/${MY_P}-mapsource.tar.bz2
+SRC_URI="mirror://sourceforge/ufoai/music.tar.bz2
+ mirror://sourceforge/ufoai/${MY_P}-data.tar
+ mirror://sourceforge/ufoai/${MY_P}-source.tar.bz2
+ mirror://sourceforge/ufoai/${MY_P}-i18n.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE="alsa arts debug dedicated dga doc ipv6 jack master oss paranoid"
-# Info at http://ufoai.ninex.info/wiki/index.php/Compile_for_Linux
UIRDEPEND="virtual/opengl
virtual/glu
>=media-libs/libsdl-1.2.7
@@ -85,8 +81,6 @@ src_unpack() {
}
src_compile() {
- yesno() { useq $1 && echo yes || echo no ; }
-
# Forces building of client.
# gettext is required to show the intro text.
# egamesconf fails with openal.
@@ -136,16 +130,11 @@ src_install() {
dogamesbin ufo2map || die
fi
- local libdir=$(games_get_libdir)/${PN}
- exeinto "${libdir}"
- local f
- for f in *.so base/game.so ; do
- doexe "${f}" || die "doexe ${f} failed"
- done
+ exeinto "$(games_get_libdir)/${PN}"
+ doexe *.so base/game.so || die "doexe ${f} failed"
insinto "${dir}"
- doins -r "${WORKDIR}"/{base,music} \
- || die "doins -r failed"
+ doins -r "${WORKDIR}"/{base,music} || die "doins -r failed"
if use doc ; then
dohtml -r "${WORKDIR}"/docs/html/*