summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Heaven <nyhm@gentoo.org>2007-02-03 10:56:23 +0000
committerTristan Heaven <nyhm@gentoo.org>2007-02-03 10:56:23 +0000
commit3119eb84e1674493f1f27cdafbef8a5d42dd18e4 (patch)
tree727e27c5bf7f0c6c4fea7104dedc0bc2a588b4e6 /games-roguelike/ivan
parentRemoved src_test since it doesn't work. (diff)
downloadgentoo-2-3119eb84e1674493f1f27cdafbef8a5d42dd18e4.tar.gz
gentoo-2-3119eb84e1674493f1f27cdafbef8a5d42dd18e4.tar.bz2
gentoo-2-3119eb84e1674493f1f27cdafbef8a5d42dd18e4.zip
Don't use egamesinstall
(Portage version: 2.1.2-r6)
Diffstat (limited to 'games-roguelike/ivan')
-rw-r--r--games-roguelike/ivan/ChangeLog8
-rw-r--r--games-roguelike/ivan/files/ivan-0.50-install.patch22
-rw-r--r--games-roguelike/ivan/ivan-0.50.ebuild12
3 files changed, 35 insertions, 7 deletions
diff --git a/games-roguelike/ivan/ChangeLog b/games-roguelike/ivan/ChangeLog
index d8fa387a098a..f3d944bf1e8c 100644
--- a/games-roguelike/ivan/ChangeLog
+++ b/games-roguelike/ivan/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-roguelike/ivan
-# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-roguelike/ivan/ChangeLog,v 1.10 2006/09/27 14:13:59 nyhm Exp $
+# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-roguelike/ivan/ChangeLog,v 1.11 2007/02/03 10:56:23 nyhm Exp $
+
+ 03 Feb 2007; Tristan Heaven <nyhm@gentoo.org>
+ +files/ivan-0.50-install.patch, ivan-0.50.ebuild:
+ Don't use egamesinstall
27 Sep 2006; Tristan Heaven <nyhm@gentoo.org> ivan-0.50.ebuild:
Add inherit eutils
diff --git a/games-roguelike/ivan/files/ivan-0.50-install.patch b/games-roguelike/ivan/files/ivan-0.50-install.patch
new file mode 100644
index 000000000000..e3397a7c5c3c
--- /dev/null
+++ b/games-roguelike/ivan/files/ivan-0.50-install.patch
@@ -0,0 +1,22 @@
+--- Makefile.in
++++ Makefile.in
+@@ -338,16 +338,9 @@
+
+
+ install-data-local:
+- -./mkinstalldirs -p $(localstatedir) $(bindir) $(datadir)/ivan/Script/ $(datadir)/ivan/Graphics/ $(localstatedir)/ivan/Bones/
+- -touch $(localstatedir)/ivan/ivan-highscore.scores
+- -chown games.games $(localstatedir)/ivan/ivan-highscore.scores
+- -chmod 664 $(localstatedir)/ivan/ivan-highscore.scores
+- -chown -R games.games $(localstatedir)/ivan/Bones/
+- -chmod -R u=rwx $(localstatedir)/ivan/Bones/
+- -chmod -R g=rwx $(localstatedir)/ivan/Bones/
+- -chmod -R o=r $(localstatedir)/ivan/Bones/
+- -chgrp games $(bindir)/ivan
+- -chmod 2111 $(bindir)/ivan
++ ./mkinstalldirs -p $(DESTDIR)$(localstatedir)/ivan $(DESTDIR)$(localstatedir)/ivan/Bones
++ touch $(DESTDIR)$(localstatedir)/ivan/ivan-highscore.scores
++ chmod g+w $(DESTDIR)$(localstatedir)/ivan/ivan-highscore.scores
+
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
diff --git a/games-roguelike/ivan/ivan-0.50.ebuild b/games-roguelike/ivan/ivan-0.50.ebuild
index ff97554256c5..ec470450f152 100644
--- a/games-roguelike/ivan/ivan-0.50.ebuild
+++ b/games-roguelike/ivan/ivan-0.50.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2006 Gentoo Foundation
+# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-roguelike/ivan/ivan-0.50.ebuild,v 1.6 2006/09/27 14:13:59 nyhm Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-roguelike/ivan/ivan-0.50.ebuild,v 1.7 2007/02/03 10:56:23 nyhm Exp $
inherit eutils flag-o-matic games
@@ -13,12 +13,14 @@ SLOT="0"
KEYWORDS="~ppc x86 ~x86-fbsd"
IUSE=""
-DEPEND=">=media-libs/libsdl-1.2.0"
+DEPEND="media-libs/libsdl"
src_unpack() {
unpack ${A}
cd "${S}"
- epatch "${FILESDIR}/${P}"-gcc41.patch
+ epatch \
+ "${FILESDIR}"/${P}-gcc41.patch \
+ "${FILESDIR}"/${P}-install.patch
}
src_compile() {
@@ -28,7 +30,7 @@ src_compile() {
}
src_install() {
- egamesinstall || die
+ emake DESTDIR="${D}" install || die "emake install failed"
dodoc AUTHORS ChangeLog LICENSING NEWS README
keepdir "${GAMES_STATEDIR}/ivan/Bones"
prepgamesdirs