install linux config file instead of windows config file. (bug #103797)
authorMichael Sterrett <mr_bones_@gentoo.org>
Sat, 17 Sep 2005 20:03:52 +0000 (20:03 +0000)
committerMichael Sterrett <mr_bones_@gentoo.org>
Sat, 17 Sep 2005 20:03:52 +0000 (20:03 +0000)
Package-Manager: portage-2.0.51.22-r2

games-strategy/glest/ChangeLog
games-strategy/glest/Manifest
games-strategy/glest/glest-1.1.0.ebuild

index 6cbe81e4a9f36c3c38764292e39af8ffae8b3d8a..dbb36ba965cd096d42bde7123bc876b3bb5e979f 100644 (file)
@@ -1,6 +1,9 @@
 # ChangeLog for games-strategy/glest
 # Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-strategy/glest/ChangeLog,v 1.4 2005/08/20 02:06:24 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/glest/ChangeLog,v 1.5 2005/09/17 20:03:52 mr_bones_ Exp $
+
+  17 Sep 2005; Michael Sterrett <mr_bones_@gentoo.org> glest-1.1.0.ebuild:
+  install linux config file instead of windows config file. (bug #103797)
 
 *glest-1.1.0 (20 Aug 2005)
 
index 1ca5fa8829d07a4a4025084afaa74df0ce05f30a..1f548f4def0c1b0d667940b6ccd9a0aa0844993b 100644 (file)
@@ -1,19 +1,9 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
 MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158
 MD5 5bb989c52f433b02624524136636d89f glest-1.0.10_p7.ebuild 2346
-MD5 e055588f6124b18cd40e84dd7459ed46 glest-1.1.0.ebuild 2226
-MD5 3cf2b6cd58da4b3a292653e097a32a7a ChangeLog 920
+MD5 5e189d55206c79008a2b8c9918bc6fe3 ChangeLog 1073
+MD5 61f8be88e160a236535d51d7fff8d1da glest-1.1.0.ebuild 2381
 MD5 a36bd77a690a0460b5a2f1abccd7e859 files/glest-1.0.10_p7-fake-checkGlCaps.patch 250
-MD5 91226a67fca5c8d33e0b6c9e70984a21 files/digest-glest-1.1.0 298
-MD5 db5c350e24bf74413a314d023e375ce3 files/glest-1.1.0-fake-checkGlCaps.patch 322
 MD5 34b0cb001c745a9991f7168d297c0e45 files/glest 488
+MD5 db5c350e24bf74413a314d023e375ce3 files/glest-1.1.0-fake-checkGlCaps.patch 322
+MD5 91226a67fca5c8d33e0b6c9e70984a21 files/digest-glest-1.1.0 298
 MD5 704449ca017fe5f35a53024e3daa2a4c files/digest-glest-1.0.10_p7 306
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.2 (GNU/Linux)
-
-iD8DBQFDBpBBgIKl8Uu19MoRAqNIAJ9hHY2JqR1Ue/mXx5mQZgp5pXuYmACfRq1F
-//8lZj9UJXG0CaDa9PaOXF8=
-=KhKm
------END PGP SIGNATURE-----
index 54cc05bb054818bf5c70d2e561e6e8a09497aba5..005b652c20985c5a42d0665471ebbfd3001f0f8e 100644 (file)
@@ -1,6 +1,6 @@
 # Copyright 1999-2005 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-strategy/glest/glest-1.1.0.ebuild,v 1.1 2005/08/20 02:06:24 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/glest/glest-1.1.0.ebuild,v 1.2 2005/09/17 20:03:52 mr_bones_ Exp $
 
 inherit eutils games
 
@@ -53,21 +53,34 @@ src_compile() {
 
 src_install() {
        dogamesbin "${FILESDIR}"/glest || die "couldn't install launcher"
-       dosed "s:GENTOO_DATADIR:${GAMES_DATADIR}:" "${GAMES_BINDIR}"/glest
+       sed -i \
+               -e "s:GENTOO_DATADIR:${GAMES_DATADIR}:" \
+               "${D}${GAMES_BINDIR}"/glest \
+               || die "sed failed"
 
        exeinto "${GAMES_DATADIR}"/${PN}/lib
        doexe glest || die "doexe failed"
 
+       insinto "${GAMES_DATADIR}"/${PN}/config
+       doins glest.ini || die "config copy failed"
+
        cd "${WORKDIR}"/glest_game
        insinto "${GAMES_DATADIR}"/${PN}
        doins -r techs data maps tilesets || die "data copy failed"
-       insinto "${GAMES_DATADIR}"/${PN}/config
-       doins glest.ini || die "config copy failed"
        dodoc readme.txt
 
-       use linguas_de && cp "${DISTDIR}"/german.lng "${D}/${GAMES_DATADIR}"/${PN}/data/lang/
-       use linguas_ru && cp "${DISTDIR}"/russian.lng "${D}/${GAMES_DATADIR}"/${PN}/data/lang/
-       use linguas_dk && cp "${DISTDIR}"/dansk.lng "${D}/${GAMES_DATADIR}"/${PN}/data/lang/
+       if use linguas_de ; then
+               cp "${DISTDIR}"/german.lng "${D}/${GAMES_DATADIR}"/${PN}/data/lang/ \
+                       || die "cp failed"
+       fi
+       if use linguas_ru ; then
+               cp "${DISTDIR}"/russian.lng "${D}/${GAMES_DATADIR}"/${PN}/data/lang/ \
+                       || die "cp failed"
+       fi
+       if use linguas_dk ; then
+               cp "${DISTDIR}"/dansk.lng "${D}/${GAMES_DATADIR}"/${PN}/data/lang/ \
+                       || die "cp failed"
+       fi
 
        make_desktop_entry glest Glest