summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2010-01-12 23:40:13 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2010-01-12 23:40:13 +0000
commitaba0abd944047267b25d8d0a7779e97b20ce715d (patch)
treed100162f0ba1002224a98d7413ac07d052c4b3e8 /games-simulation/lincity
parentarm stable, bug #300483 (diff)
downloadhistorical-aba0abd944047267b25d8d0a7779e97b20ce715d.tar.gz
historical-aba0abd944047267b25d8d0a7779e97b20ce715d.tar.bz2
historical-aba0abd944047267b25d8d0a7779e97b20ce715d.zip
EAPI=2
Package-Manager: portage-2.1.6.13/cvs/Linux i686
Diffstat (limited to 'games-simulation/lincity')
-rw-r--r--games-simulation/lincity/ChangeLog8
-rw-r--r--games-simulation/lincity/Manifest4
-rw-r--r--games-simulation/lincity/lincity-1.12.1.ebuild32
3 files changed, 27 insertions, 17 deletions
diff --git a/games-simulation/lincity/ChangeLog b/games-simulation/lincity/ChangeLog
index e31d7b232b72..cc62d8cc6de8 100644
--- a/games-simulation/lincity/ChangeLog
+++ b/games-simulation/lincity/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-simulation/lincity
-# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-simulation/lincity/ChangeLog,v 1.17 2008/02/05 21:16:49 grobian Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-simulation/lincity/ChangeLog,v 1.18 2010/01/12 23:40:13 mr_bones_ Exp $
+
+ 12 Jan 2010; Michael Sterrett <mr_bones_@gentoo.org>
+ lincity-1.12.1.ebuild:
+ EAPI=2
05 Feb 2008; Fabian Groffen <grobian@gentoo.org> lincity-1.12.1.ebuild:
Dropped ppc-macos keyword, see you in prefix
diff --git a/games-simulation/lincity/Manifest b/games-simulation/lincity/Manifest
index c7b19737d057..096f3dde2e96 100644
--- a/games-simulation/lincity/Manifest
+++ b/games-simulation/lincity/Manifest
@@ -1,4 +1,4 @@
DIST lincity-1.12.1.tar.gz 795709 RMD160 5b0a3bfa77372577ac3d9cc42e6a806f27a52ef3 SHA1 280375273f6e741d707dc8e11fdedb160d230c95 SHA256 9223a724204e0755ed65d6ae202a5b1a876204cc835ab3e87230dc39f7b9b976
-EBUILD lincity-1.12.1.ebuild 1223 RMD160 e53d1a11c889134315eed9f78d3867012bf387a8 SHA1 266c421763b2e199ff36f6370f05e3779de58027 SHA256 55feec1c3ea163a3d2f2fe7beb06b5fd1f6e2a96f34cad096abbe0555ea6aa07
-MISC ChangeLog 3156 RMD160 72da01c4b082f08a8a0b0c2f89a8db1dffcac96b SHA1 cdfc297d9bcf7a1e81de632af43802bb40acca07 SHA256 37fe7015820ef5cb42339784bd8233a66514618ff4257f3a6ca9ede00c3fc66d
+EBUILD lincity-1.12.1.ebuild 1311 RMD160 f43683aaa0bf3b018b19dbae62a061086bda6c85 SHA1 6e81def4af25a8e9d2d8163d1e565fe7a2883022 SHA256 4fd9959d77b1929d1e98973d20de95aef1d4c981228b70eeffce02b9ea2c3b15
+MISC ChangeLog 3248 RMD160 ca86836fd1fe92a37aa956dcd01a976ea0c4c9fa SHA1 e987f208d3f449720b86c6777ffaf1d34d869970 SHA256 aa6df35e15e057d2df7a78e60a26ec696fd885a63616afdd5569bd3a8935ba88
MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3
diff --git a/games-simulation/lincity/lincity-1.12.1.ebuild b/games-simulation/lincity/lincity-1.12.1.ebuild
index d8a7149d0e40..0f1312e95595 100644
--- a/games-simulation/lincity/lincity-1.12.1.ebuild
+++ b/games-simulation/lincity/lincity-1.12.1.ebuild
@@ -1,8 +1,9 @@
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-simulation/lincity/lincity-1.12.1.ebuild,v 1.8 2008/02/05 21:16:49 grobian Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-simulation/lincity/lincity-1.12.1.ebuild,v 1.9 2010/01/12 23:40:13 mr_bones_ Exp $
-inherit games
+EAPI=2
+inherit eutils games
DESCRIPTION="city/country simulation game for X and Linux SVGALib"
HOMEPAGE="http://lincity.sourceforge.net/"
@@ -25,8 +26,16 @@ RDEPEND="nls? ( virtual/libintl )
DEPEND="${RDEPEND}
nls? ( sys-devel/gettext )"
-src_compile() {
- local myconf=
+src_prepare() {
+ sed -i \
+ -e '/^localedir/s:$(datadir):/usr/share:' \
+ po/Makefile.in.in \
+ intl/Makefile.in \
+ || die 'sed failed'
+}
+
+src_configure() {
+ local myconf
if ! use X && ! use svga ; then
myconf="--with-x"
@@ -37,17 +46,14 @@ src_compile() {
$(use_enable nls) \
$(use_with svga) \
$(use_with X x) \
- ${myconf} \
- || die
- emake || die "emake failed"
+ ${myconf}
}
src_install() {
- make DESTDIR="${D}" install || die "make install failed"
- dodoc Acknowledgements CHANGES README* TODO || die "dodoc failed"
- if use nls ; then
- cd "${D}/${GAMES_DATADIR}"
- mv locale "${D}/usr/share/"
+ emake DESTDIR="${D}" install || die "emake install failed"
+ dodoc Acknowledgements CHANGES README* TODO
+ if use X || ! use svga ; then
+ make_desktop_entry xlincity Lincity
fi
prepgamesdirs
}