From: Michael Sterrett Date: Thu, 7 Sep 2006 07:50:27 +0000 (+0000) Subject: patch to fix data install from Tristan Heaven via bug #132092 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=33a808dda96dfcfca0fccb3b67bfd5019fdb48f3;p=gentoo.git patch to fix data install from Tristan Heaven via bug #132092 Package-Manager: portage-2.1.1_rc1-r4 --- diff --git a/games-arcade/bomns/ChangeLog b/games-arcade/bomns/ChangeLog index 63b6563ebfc1..466c2ce94805 100644 --- a/games-arcade/bomns/ChangeLog +++ b/games-arcade/bomns/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for games-arcade/bomns -# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-arcade/bomns/ChangeLog,v 1.1 2005/12/01 01:14:18 wolf31o2 Exp $ +# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-arcade/bomns/ChangeLog,v 1.2 2006/09/07 07:50:27 mr_bones_ Exp $ + + 07 Sep 2006; Michael Sterrett bomns-0.99.1.ebuild: + patch to fix data install from Tristan Heaven via bug #132092 *bomns-0.99.1 (01 Dec 2005) diff --git a/games-arcade/bomns/Manifest b/games-arcade/bomns/Manifest index 23e0868e25ff..599d9dabb1d7 100644 --- a/games-arcade/bomns/Manifest +++ b/games-arcade/bomns/Manifest @@ -1,4 +1,16 @@ -MD5 871a6f8ed2d43a4fdb643e69a4bb8c44 ChangeLog 428 -MD5 8bb4eaa1dad8ab565631a6a7c7f9f641 bomns-0.99.1.ebuild 866 -MD5 28e3eec306024c442af2b08130366f7c files/digest-bomns-0.99.1 64 +DIST bomns-0.99.1.tar.gz 964638 RMD160 161dc71129c1fc12f38c978cfa35b4a52a208aa2 SHA1 9f3e4baff3ccc0059b86d85681a2d877bcecd943 SHA256 9eb0ce1d4cefc06988c8d3b62a4b4968592257aaa4ab291271040fd76abcfa11 +EBUILD bomns-0.99.1.ebuild 1073 RMD160 c58582d1a6a898582ba06d991938d0f5c06d41f8 SHA1 96f018adfe1be60be3161e920930e06c8d918253 SHA256 bcc283f98cc431f3b2ee7606d334adc1d406e382871703165066171d300606ac +MD5 e81aa9b7cb3726b09a599a7f2ad25f71 bomns-0.99.1.ebuild 1073 +RMD160 c58582d1a6a898582ba06d991938d0f5c06d41f8 bomns-0.99.1.ebuild 1073 +SHA256 bcc283f98cc431f3b2ee7606d334adc1d406e382871703165066171d300606ac bomns-0.99.1.ebuild 1073 +MISC ChangeLog 570 RMD160 409a0ac21596ea97beeba8fe53d2d349b86c1977 SHA1 ad690057047166bca5c3937a15f1f60ccf778c50 SHA256 15ca353a3d0d4d8c4f25d9bdc18a505a351efbfee997264032130a4569efd8b6 +MD5 f4f9554308eba7a8abfebeffc5df0dc6 ChangeLog 570 +RMD160 409a0ac21596ea97beeba8fe53d2d349b86c1977 ChangeLog 570 +SHA256 15ca353a3d0d4d8c4f25d9bdc18a505a351efbfee997264032130a4569efd8b6 ChangeLog 570 +MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158 +RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea metadata.xml 158 +SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 metadata.xml 158 +MD5 ff9b4c3921923ee41b1b5e7392361caf files/digest-bomns-0.99.1 238 +RMD160 b19710c9ec2dd2e465dfb07a84ec7f1fd7043921 files/digest-bomns-0.99.1 238 +SHA256 aa9872b51ffb59bc397e43101ab7d6476c9aa048a7dae00fe6a2c7e202118685 files/digest-bomns-0.99.1 238 diff --git a/games-arcade/bomns/bomns-0.99.1.ebuild b/games-arcade/bomns/bomns-0.99.1.ebuild index 8f6c0a69ec41..38aef5c99a80 100644 --- a/games-arcade/bomns/bomns-0.99.1.ebuild +++ b/games-arcade/bomns/bomns-0.99.1.ebuild @@ -1,13 +1,13 @@ -# Copyright 1999-2005 Gentoo Foundation +# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-arcade/bomns/bomns-0.99.1.ebuild,v 1.1 2005/12/01 01:14:18 wolf31o2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-arcade/bomns/bomns-0.99.1.ebuild,v 1.2 2006/09/07 07:50:27 mr_bones_ Exp $ inherit flag-o-matic games -MY_P="greenridge" DESCRIPTION="A fast-paced multiplayer deathmatch arcade game." HOMEPAGE="http://greenridge.sourceforge.net" -SRC_URI="mirror://sourceforge/${MY_P}/${PF}.tar.gz" +SRC_URI="mirror://sourceforge/greenridge/${P}.tar.gz" + LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~x86" @@ -17,17 +17,29 @@ DEPEND="media-libs/libsdl media-libs/sdl-mixer gtk? ( =x11-libs/gtk+-2* )" +src_unpack() { + unpack ${A} + cd "${S}" + sed -i \ + -e "s:\$*[({]prefix[})]/share:${GAMES_DATADIR}:" \ + configure \ + graphics/Makefile.in \ + levels/Makefile.in \ + sounds/Makefile.in \ + || die "sed failed" +} + src_compile() { filter-flags -fforce-addr egamesconf \ - --disable-launcher1 \ - $(use_enable gtk2 launcher2) \ - $(use_enable editor editor) \ - || die "econf failed." + --disable-launcher1 \ + $(use_enable gtk launcher2) \ + $(use_enable editor) \ + || die "econf failed." } src_install() { - make DESTDIR=${D} install || die "make install failed." - dodoc AUTHORS README NEWS TODO + emake DESTDIR="${D}" install || die "make install failed." + dodoc AUTHORS ChangeLog NEWS README TODO prepgamesdirs } diff --git a/games-arcade/bomns/files/digest-bomns-0.99.1 b/games-arcade/bomns/files/digest-bomns-0.99.1 index 0ccf72d48ff5..1f07da909708 100644 --- a/games-arcade/bomns/files/digest-bomns-0.99.1 +++ b/games-arcade/bomns/files/digest-bomns-0.99.1 @@ -1 +1,3 @@ MD5 6642d9ac9ff3674c0fb96b92f8ad777b bomns-0.99.1.tar.gz 964638 +RMD160 161dc71129c1fc12f38c978cfa35b4a52a208aa2 bomns-0.99.1.tar.gz 964638 +SHA256 9eb0ce1d4cefc06988c8d3b62a4b4968592257aaa4ab291271040fd76abcfa11 bomns-0.99.1.tar.gz 964638