diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2005-05-05 15:32:35 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2005-05-05 15:32:35 +0000 |
commit | 0d966f84d82729b8a7614f5fc49b970996e8cd2b (patch) | |
tree | 5907cdcbb796df28f1e63d41af85e31bdd72f254 /games-strategy | |
parent | removed old vulnerable version and unneeded patches. (diff) | |
download | gentoo-2-0d966f84d82729b8a7614f5fc49b970996e8cd2b.tar.gz gentoo-2-0d966f84d82729b8a7614f5fc49b970996e8cd2b.tar.bz2 gentoo-2-0d966f84d82729b8a7614f5fc49b970996e8cd2b.zip |
tidy ebuild
(Portage version: 2.0.51.19)
Diffstat (limited to 'games-strategy')
-rw-r--r-- | games-strategy/widelands/ChangeLog | 6 | ||||
-rw-r--r-- | games-strategy/widelands/widelands-0.0.9.ebuild | 28 |
2 files changed, 19 insertions, 15 deletions
diff --git a/games-strategy/widelands/ChangeLog b/games-strategy/widelands/ChangeLog index ab80e5f0f64d..611f37b36698 100644 --- a/games-strategy/widelands/ChangeLog +++ b/games-strategy/widelands/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for games-strategy/widelands # Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-strategy/widelands/ChangeLog,v 1.2 2005/05/05 11:14:39 wolf31o2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-strategy/widelands/ChangeLog,v 1.3 2005/05/05 15:32:35 mr_bones_ Exp $ + + 05 May 2005; Michael Sterrett <mr_bones_@gentoo.org> + widelands-0.0.9.ebuild: + tidy ebuild 05 May 2005; Chris Gianelloni <wolf31o2@gentoo.org> : Added Manifest (bad wolfie) and closing bug #91537. diff --git a/games-strategy/widelands/widelands-0.0.9.ebuild b/games-strategy/widelands/widelands-0.0.9.ebuild index c97849612807..ba9122789c5b 100644 --- a/games-strategy/widelands/widelands-0.0.9.ebuild +++ b/games-strategy/widelands/widelands-0.0.9.ebuild @@ -1,8 +1,8 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-strategy/widelands/widelands-0.0.9.ebuild,v 1.1 2005/05/05 02:49:53 wolf31o2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-strategy/widelands/widelands-0.0.9.ebuild,v 1.2 2005/05/05 15:32:35 mr_bones_ Exp $ -inherit games +inherit eutils games DESCRIPTION="A game similar to Settlers 2" HOMEPAGE="http://widelands.sourceforge.net/" @@ -10,8 +10,9 @@ SRC_URI="mirror://sourceforge/${PN}/${PN}-b${PV:4:4}-source.tar.bz2" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~x86 ~ppc ~amd64" +KEYWORDS="~amd64 ~ppc ~x86" IUSE="debug" + DEPEND="media-libs/libsdl media-libs/sdl-image media-libs/sdl-net @@ -20,13 +21,11 @@ DEPEND="media-libs/libsdl media-libs/jpeg media-libs/libpng" -S="${WORKDIR}/${PN}" -dir="${GAMES_DATADIR}/${PN}" -Ddir=${D}/${dir} +S=${WORKDIR}/${PN} src_unpack() { unpack ${A} - epatch ${FILESDIR}/${P}-amd64.patch || die + epatch "${FILESDIR}/${P}-amd64.patch" } src_compile() { @@ -36,13 +35,14 @@ src_compile() { } src_install() { - dodir ${dir} - insinto ${dir} - exeinto ${dir} - doins -r fonts maps pics tribes worlds campaigns README COPYING \ - || die "copying data files" + local dir=${GAMES_DATADIR}/${PN} + + insinto "${dir}" + doins -r fonts maps pics tribes worlds campaigns COPYING README \ + || die "doins failed" + exeinto "${dir}" doexe ${PN} || die "copying widelands" - games_make_wrapper widelands ./widelands ${dir} - dodoc AUTHORS COPYING ChangeLog README + games_make_wrapper widelands ./widelands "${dir}" + dodoc AUTHORS ChangeLog README prepgamesdirs } |