diff options
author | 2005-07-14 07:16:27 +0000 | |
---|---|---|
committer | 2005-07-14 07:16:27 +0000 | |
commit | 49167fb6c4428305b5de56d85e9cdfdd96897a0f (patch) | |
tree | bfcad35a3d1c1d9fe6695fa04f0d623b188bbf96 /games-strategy/triplea/files | |
parent | Version bump. (diff) | |
download | gentoo-2-49167fb6c4428305b5de56d85e9cdfdd96897a0f.tar.gz gentoo-2-49167fb6c4428305b5de56d85e9cdfdd96897a0f.tar.bz2 gentoo-2-49167fb6c4428305b5de56d85e9cdfdd96897a0f.zip |
version bump - ebuild supplied by Thomas Matthijs via bug #96647
(Portage version: 2.0.51.22-r1)
Diffstat (limited to 'games-strategy/triplea/files')
-rw-r--r-- | games-strategy/triplea/files/digest-triplea-0.6.0.1 | 1 | ||||
-rw-r--r-- | games-strategy/triplea/files/triplea-0.6.0.1-gentoo.patch | 54 |
2 files changed, 55 insertions, 0 deletions
diff --git a/games-strategy/triplea/files/digest-triplea-0.6.0.1 b/games-strategy/triplea/files/digest-triplea-0.6.0.1 new file mode 100644 index 000000000000..0e9665046658 --- /dev/null +++ b/games-strategy/triplea/files/digest-triplea-0.6.0.1 @@ -0,0 +1 @@ +MD5 30137f64b8264c3820e90ce78e624f30 triplea_source_0_6_0_1.zip 9365353 diff --git a/games-strategy/triplea/files/triplea-0.6.0.1-gentoo.patch b/games-strategy/triplea/files/triplea-0.6.0.1-gentoo.patch new file mode 100644 index 000000000000..e8ca880e2262 --- /dev/null +++ b/games-strategy/triplea/files/triplea-0.6.0.1-gentoo.patch @@ -0,0 +1,54 @@ +--- build.xml.orig 2005-06-29 22:01:47.000000000 +0200 ++++ build.xml 2005-06-29 22:28:54.000000000 +0200 +@@ -6,9 +6,9 @@ + <property file=".ant.properties"/> + + <path id="full.path"> +- <pathelement path="lib\junit.jar"/> +- <pathelement path="lib\looks-1.3.1.jar"/> +- <pathelement path="lib\backport-util-concurrent.jar"/> ++ <fileset dir="lib"> ++ <include name="**/*.jar"/> ++ </fileset> + <pathelement path="${classpath}"/> + <pathelement path="classes/"/> + </path> +@@ -59,6 +59,25 @@ + <!-- compileClean --> + <target name="compileClean" depends="clean,compile" description="Clean then compile"/> + ++ <target name="jar" depends="init,compile" description="create a jar file"> ++ <jar destfile="triplea.jar"> ++ <fileset dir="."> ++ <include name="triplea.properties"/> ++ </fileset> ++ <fileset dir="classes/"> ++ <include name="**/*.class"/> ++ <exclude name="**/*Test.class"/> <!-- dont put Test classes in the main distribution --> ++ <include name="**/*.dtd"/> ++ <include name="**/*.gif"/> ++ <include name="**/*.png"/> ++ <include name="**/*.jpg"/> ++ <include name="**/*.jpeg"/> ++ <include name="**/*.txt"/> ++ <include name="**/*.wav"/> ++ <include name="**/*.properties"/> ++ </fileset> ++ </jar> ++ </target> + + <!-- zip --> + <target name="zip" depends="init,compile" description="create a zip file for end users"> +--- src/games/strategy/engine/framework/GameRunner.java 2005-04-15 11:26:04.000000000 +0200 ++++ src/games/strategy/engine/framework/GameRunner.java 2005-06-29 22:18:25.000000000 +0200 +@@ -153,6 +153,10 @@ + */ + public static File getRootFolder() + { ++ String rootFolder = System.getProperty("triplea.root"); ++ if (rootFolder != null) ++ return new File(rootFolder); ++ + //this will fail if we are in a jar + //what we are doing is looking up the url to GameRunner.class + //we can find it because we are it |