summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2013-02-19 03:44:38 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2013-02-19 03:44:38 +0000
commitc5bb13d00190ee1f3f3cc0888c8aaa8ec9f745f4 (patch)
tree5910bffd3e4c4bfdaf095d68c01b5a63d663252f /games-puzzle/einstein
parentFix for prefix and add ~arm-linux + ~x86-linux keywords. (diff)
downloadgentoo-2-c5bb13d00190ee1f3f3cc0888c8aaa8ec9f745f4.tar.gz
gentoo-2-c5bb13d00190ee1f3f3cc0888c8aaa8ec9f745f4.tar.bz2
gentoo-2-c5bb13d00190ee1f3f3cc0888c8aaa8ec9f745f4.zip
metadata update for bug #457880; tidy
(Portage version: 2.1.11.50/cvs/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'games-puzzle/einstein')
-rw-r--r--games-puzzle/einstein/ChangeLog8
-rw-r--r--games-puzzle/einstein/einstein-2.0.ebuild16
2 files changed, 13 insertions, 11 deletions
diff --git a/games-puzzle/einstein/ChangeLog b/games-puzzle/einstein/ChangeLog
index bd4850074f4e..8d01577650db 100644
--- a/games-puzzle/einstein/ChangeLog
+++ b/games-puzzle/einstein/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for games-puzzle/einstein
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-puzzle/einstein/ChangeLog,v 1.9 2009/11/12 21:28:24 mr_bones_ Exp $
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-puzzle/einstein/ChangeLog,v 1.10 2013/02/19 03:44:38 mr_bones_ Exp $
+
+ 19 Feb 2013; Michael Sterrett <mr_bones_@gentoo.org> einstein-2.0.ebuild:
+ metadata update for bug #457880; tidy
12 Nov 2009; Michael Sterrett <mr_bones_@gentoo.org> einstein-2.0.ebuild:
EAPI=2
@@ -34,4 +37,3 @@
19 Mar 2006; Michael Sterrett <mr_bones_@gentoo.org> +metadata.xml,
+einstein-2.0.ebuild:
initial commit - ebuild from Philipp Edelmann via bug #126662
-
diff --git a/games-puzzle/einstein/einstein-2.0.ebuild b/games-puzzle/einstein/einstein-2.0.ebuild
index 7ac616858187..ca236b809d8b 100644
--- a/games-puzzle/einstein/einstein-2.0.ebuild
+++ b/games-puzzle/einstein/einstein-2.0.ebuild
@@ -1,13 +1,13 @@
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-puzzle/einstein/einstein-2.0.ebuild,v 1.9 2010/09/01 20:48:12 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-puzzle/einstein/einstein-2.0.ebuild,v 1.10 2013/02/19 03:44:38 mr_bones_ Exp $
EAPI=2
inherit eutils games
DESCRIPTION="A puzzle game inspired by Albert Einstein"
-HOMEPAGE="http://games.flowix.com/en/"
-SRC_URI="http://games.flowix.com/files/einstein/${P}-src.tar.gz
+HOMEPAGE="https://freecode.com/projects/einsteinpuzzle"
+SRC_URI="mirror://gentoo/${P}-src.tar.gz
mirror://gentoo/${PN}.png"
LICENSE="GPL-2"
@@ -26,16 +26,16 @@ src_prepare() {
-e "s:\$(PREFIX)/share/einstein:${GAMES_DATADIR}/${PN}:" \
-e "s:\$(PREFIX)/bin:${GAMES_BINDIR}:" \
-e "s/\(OPTIMIZE=[^#]*\)/\0 ${CXXFLAGS}/" Makefile \
- || die "sed Makefile failed"
+ || die
sed -i \
-e "s:PREFIX L\"/share/einstein:L\"${GAMES_DATADIR}/${PN}:" main.cpp \
- || die "sed main.cpp failed"
+ || die
}
src_install() {
- dogamesbin "${PN}" || die "dogamesbin failed"
+ dogamesbin "${PN}" || die
insinto "${GAMES_DATADIR}/${PN}/res"
- doins einstein.res || die "doins failed"
+ doins einstein.res || die
doicon "${DISTDIR}"/${PN}.png
make_desktop_entry ${PN} "Einstein Puzzle"
prepgamesdirs