summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2004-07-24 10:34:08 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2004-07-24 10:34:08 +0000
commit5db587857a7b9b5be28db703945724c014518440 (patch)
tree4af7602636700d71a0c72f3bf49652cfbde3bc8f /games-strategy
parentcorrections, syntax for the ebuild (lots of dies added), adjustments to the c... (diff)
downloadgentoo-2-5db587857a7b9b5be28db703945724c014518440.tar.gz
gentoo-2-5db587857a7b9b5be28db703945724c014518440.tar.bz2
gentoo-2-5db587857a7b9b5be28db703945724c014518440.zip
save games in HomeDir patch from Will McQueen via bug #57062
Diffstat (limited to 'games-strategy')
-rw-r--r--games-strategy/triplea/ChangeLog5
-rw-r--r--games-strategy/triplea/triplea-0.4.8.ebuild10
2 files changed, 10 insertions, 5 deletions
diff --git a/games-strategy/triplea/ChangeLog b/games-strategy/triplea/ChangeLog
index 72b55a761c4b..9a80aeb81f63 100644
--- a/games-strategy/triplea/ChangeLog
+++ b/games-strategy/triplea/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for games-strategy/triplea
# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-strategy/triplea/ChangeLog,v 1.11 2004/07/01 05:27:43 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/triplea/ChangeLog,v 1.12 2004/07/24 10:34:08 mr_bones_ Exp $
+
+ 24 Jul 2004; Michael Sterrett <mr_bones_@gentoo.org> triplea-0.4.8.ebuild:
+ save games in HomeDir patch from Will McQueen via bug #57062
*triplea-0.4.8 (30 Jun 2004)
diff --git a/games-strategy/triplea/triplea-0.4.8.ebuild b/games-strategy/triplea/triplea-0.4.8.ebuild
index 7bc90b27f0a3..729cc9b84a9c 100644
--- a/games-strategy/triplea/triplea-0.4.8.ebuild
+++ b/games-strategy/triplea/triplea-0.4.8.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-strategy/triplea/triplea-0.4.8.ebuild,v 1.1 2004/07/01 05:27:43 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/triplea/triplea-0.4.8.ebuild,v 1.2 2004/07/24 10:34:08 mr_bones_ Exp $
inherit games
@@ -38,8 +38,8 @@ src_unpack() {
cd "${GAMES_DATADIR}/${PN}/lib"
java -mx96M -cp \\
- ../data:../lib/plastic-1.2.0.jar:../lib/${P}.jar \\
- games.strategy.engine.framework.GameRunner
+ ../data:../lib/plastic-1.2.0.jar:../lib/${P}.jar \\
+ games.strategy.engine.framework.GameRunner
EOF
# Repair bad path in .ant.properties (bug #47437)
@@ -47,7 +47,9 @@ src_unpack() {
-e "/^junit.jar/s:=.*:=/usr/share/junit/lib/junit.jar:" \
.ant.properties \
|| die "sed .ant.properties failed"
-
+ # The default savedGames directory is in the install root. This
+ # sets it to use the users home directory.
+ echo "triplea.saveGamesInHomeDir=true" > data/triplea.properties
}
src_compile() {