summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Heaven <tristan@gentoo.org>2007-02-03 10:56:23 +0000
committerTristan Heaven <tristan@gentoo.org>2007-02-03 10:56:23 +0000
commit54f0b26e63b4d08e039bb2199ff7a2da662afd86 (patch)
treec701ebff2977afc0112030f6d74a6acac8ef536e /games-roguelike
parentRemoved src_test since it doesn't work. (diff)
downloadhistorical-54f0b26e63b4d08e039bb2199ff7a2da662afd86.tar.gz
historical-54f0b26e63b4d08e039bb2199ff7a2da662afd86.tar.bz2
historical-54f0b26e63b4d08e039bb2199ff7a2da662afd86.zip
Don't use egamesinstall
Package-Manager: portage-2.1.2-r6
Diffstat (limited to 'games-roguelike')
-rw-r--r--games-roguelike/ivan/ChangeLog8
-rw-r--r--games-roguelike/ivan/Manifest30
-rw-r--r--games-roguelike/ivan/files/ivan-0.50-install.patch22
-rw-r--r--games-roguelike/ivan/ivan-0.50.ebuild12
4 files changed, 57 insertions, 15 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/Manifest b/games-roguelike/ivan/Manifest
index 14023fed36c7..7e51464316e8 100644
--- a/games-roguelike/ivan/Manifest
+++ b/games-roguelike/ivan/Manifest
@@ -1,16 +1,23 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
AUX ivan-0.50-gcc41.patch 1778 RMD160 fed503a18b7ce30a989fd8fcbfc081c37c3723fa SHA1 e1672b9d65ca337752acc3f35063ec170c8f2afe SHA256 58318ef7984dde2c30ad4221e6571d97db8b4fe5edfe6d50e0241dda1feff5b5
MD5 00b7beb4d9c0270253ed8fc69470f2d5 files/ivan-0.50-gcc41.patch 1778
RMD160 fed503a18b7ce30a989fd8fcbfc081c37c3723fa files/ivan-0.50-gcc41.patch 1778
SHA256 58318ef7984dde2c30ad4221e6571d97db8b4fe5edfe6d50e0241dda1feff5b5 files/ivan-0.50-gcc41.patch 1778
+AUX ivan-0.50-install.patch 989 RMD160 cd3367b5e79b359cfbec9022c606c3cf8183d144 SHA1 118a842705a2461461d1515513445e72492de1b2 SHA256 466150bff805b8042fe4a66cdbf4c897ac4daefd77616c018f322116696420b7
+MD5 b8a88c25b785efba9d5f89fc75dad9ca files/ivan-0.50-install.patch 989
+RMD160 cd3367b5e79b359cfbec9022c606c3cf8183d144 files/ivan-0.50-install.patch 989
+SHA256 466150bff805b8042fe4a66cdbf4c897ac4daefd77616c018f322116696420b7 files/ivan-0.50-install.patch 989
DIST ivan-0.50.tar.gz 803651 RMD160 7e84340cd8fdfbdaaf7fde730fc0a76b137e2e91 SHA1 e4c5ae2b9bdfd59a0ed3c87a504043df12b0f1a4 SHA256 d8bc588ad902f27906ab34c2f8a9cace03867b45ff6a57025e046931f36ad480
-EBUILD ivan-0.50.ebuild 859 RMD160 a3846c533ab8b523d021ce2edb282e5700970389 SHA1 28a35c2b0c95d546dc50e16ba496cb6e1f97f91f SHA256 c99e56d41e6dbc74cd37a7d4bed5ed7e347f7bc2380163faf47ff269ed2a5edc
-MD5 0e7cf8f14051f06fcd9226448778aea8 ivan-0.50.ebuild 859
-RMD160 a3846c533ab8b523d021ce2edb282e5700970389 ivan-0.50.ebuild 859
-SHA256 c99e56d41e6dbc74cd37a7d4bed5ed7e347f7bc2380163faf47ff269ed2a5edc ivan-0.50.ebuild 859
-MISC ChangeLog 1204 RMD160 190ddd46ac5fa53370583fc96d4790ca0634a7a2 SHA1 147f318e1ba8075b74ca8c921bf09a09033bde98 SHA256 d84f9d28ecc205dab55572ea3ede6d769c9a5ac3e34acd987cd51570306ceb70
-MD5 a9b0a5b82856b1f20f5c8731d02bcef8 ChangeLog 1204
-RMD160 190ddd46ac5fa53370583fc96d4790ca0634a7a2 ChangeLog 1204
-SHA256 d84f9d28ecc205dab55572ea3ede6d769c9a5ac3e34acd987cd51570306ceb70 ChangeLog 1204
+EBUILD ivan-0.50.ebuild 930 RMD160 55533137d3c17ae083eeec971f8349b8568b66ed SHA1 dca7f2db003f81cf5ef1d700a1cf573d20a145a9 SHA256 18cac3720ef98a2bd2ac2a08cc6fa9fe37411a3b15f355a3b6882661aef22c9b
+MD5 a571733bbbf26a4300206c99ef318f86 ivan-0.50.ebuild 930
+RMD160 55533137d3c17ae083eeec971f8349b8568b66ed ivan-0.50.ebuild 930
+SHA256 18cac3720ef98a2bd2ac2a08cc6fa9fe37411a3b15f355a3b6882661aef22c9b ivan-0.50.ebuild 930
+MISC ChangeLog 1331 RMD160 19932ee1ce414b823b53b6a2588859f83bc32d67 SHA1 b98f75b8ae9cf2b3dd27f5ad5875976c1f22a242 SHA256 fb6829e14bd8d0c78c45f0c69e667f1e8f975394b7edcbde38b3683ecb9b869e
+MD5 c33c583cae981d4afedd7c6fc5f8ea1f ChangeLog 1331
+RMD160 19932ee1ce414b823b53b6a2588859f83bc32d67 ChangeLog 1331
+SHA256 fb6829e14bd8d0c78c45f0c69e667f1e8f975394b7edcbde38b3683ecb9b869e ChangeLog 1331
MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3
MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158
RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea metadata.xml 158
@@ -18,3 +25,10 @@ SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 metadata
MD5 ca40f76b283032b40f1829c691a794b6 files/digest-ivan-0.50 229
RMD160 0a363731c21fe90d1d4a14dc089545a042ab887f files/digest-ivan-0.50 229
SHA256 ef22b60956342f6329efe43268456bf3dacb98c19929415e98159d2179f2b78e files/digest-ivan-0.50 229
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.2 (GNU/Linux)
+
+iD8DBQFFxGpfdz7hIScOURERArECAKDHnFH/a/s7HmNIXsgwFN02mpXQXgCfex6S
+ANixesmFimYws1PpTGoZEKc=
+=/DCM
+-----END PGP SIGNATURE-----
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