From 4eac9c889fe8cf45fae7e541031c292621922ec9 Mon Sep 17 00:00:00 2001 From: Michael Sterrett Date: Tue, 13 Jan 2009 02:34:45 +0000 Subject: EAPI=2; add use-based deps (bug #247458) (Portage version: 2.1.6.4/cvs/Linux 2.6.27.8 i686) --- games-rpg/daimonin-client/ChangeLog | 8 ++++++-- games-rpg/daimonin-client/daimonin-client-0.9.7.ebuild | 18 ++++++++---------- 2 files changed, 14 insertions(+), 12 deletions(-) (limited to 'games-rpg/daimonin-client') diff --git a/games-rpg/daimonin-client/ChangeLog b/games-rpg/daimonin-client/ChangeLog index e0a09a7d5b3e..e4b1c7611467 100644 --- a/games-rpg/daimonin-client/ChangeLog +++ b/games-rpg/daimonin-client/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for games-rpg/daimonin-client -# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-rpg/daimonin-client/ChangeLog,v 1.18 2007/05/29 21:19:42 nyhm Exp $ +# Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-rpg/daimonin-client/ChangeLog,v 1.19 2009/01/13 02:34:45 mr_bones_ Exp $ + + 13 Jan 2009; Michael Sterrett + daimonin-client-0.9.7.ebuild: + EAPI=2; add use-based deps (bug #247458) *daimonin-client-0.9.7 (29 May 2007) diff --git a/games-rpg/daimonin-client/daimonin-client-0.9.7.ebuild b/games-rpg/daimonin-client/daimonin-client-0.9.7.ebuild index 357f6d532221..2628d0b5b02d 100644 --- a/games-rpg/daimonin-client/daimonin-client-0.9.7.ebuild +++ b/games-rpg/daimonin-client/daimonin-client-0.9.7.ebuild @@ -1,7 +1,8 @@ -# Copyright 1999-2007 Gentoo Foundation +# Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-rpg/daimonin-client/daimonin-client-0.9.7.ebuild,v 1.1 2007/05/29 21:19:42 nyhm Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-rpg/daimonin-client/daimonin-client-0.9.7.ebuild,v 1.2 2009/01/13 02:34:45 mr_bones_ Exp $ +EAPI=2 inherit eutils games MY_P=${PN/-/_}-${PV} @@ -15,14 +16,12 @@ KEYWORDS="-amd64 ~ppc ~x86" IUSE="" DEPEND="media-libs/libsdl - media-libs/sdl-mixer - media-libs/sdl-image" + media-libs/sdl-mixer[vorbis] + media-libs/sdl-image[png]" S=${WORKDIR}/${MY_P}/make/linux -src_unpack() { - unpack ${A} - cd "${S}" +src_prepare() { sed -i \ -e 's:$(d_datadir):$(DESTDIR)$(d_datadir):' \ -e '/PROGRAMS/s:updater::' \ @@ -32,9 +31,8 @@ src_unpack() { chmod +x configure } -src_compile() { - egamesconf --disable-simplelayout || die - emake || die "emake failed" +src_configure() { + egamesconf --disable-simplelayout } src_install() { -- cgit v1.2.3-65-gdbad