diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2007-11-11 07:31:52 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2007-11-11 07:31:52 +0000 |
commit | fb58d955534d254c888fabe3715a0a127afb4d36 (patch) | |
tree | e6e870c02f49f6c623a2925250a5f3d7fc4b7782 /games-strategy/freecol | |
parent | old (diff) | |
download | gentoo-2-fb58d955534d254c888fabe3715a0a127afb4d36.tar.gz gentoo-2-fb58d955534d254c888fabe3715a0a127afb4d36.tar.bz2 gentoo-2-fb58d955534d254c888fabe3715a0a127afb4d36.zip |
old
(Portage version: 2.1.3.19)
Diffstat (limited to 'games-strategy/freecol')
5 files changed, 0 insertions, 211 deletions
diff --git a/games-strategy/freecol/files/digest-freecol-0.7.0 b/games-strategy/freecol/files/digest-freecol-0.7.0 deleted file mode 100644 index 64d26ba8b0c1..000000000000 --- a/games-strategy/freecol/files/digest-freecol-0.7.0 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 89ded7c4c248d00241749eaf0a2a39e2 freecol-0.7.0-src.tar.gz 19663698 -RMD160 07736355fe40556868daf41b4d4c461da41e575d freecol-0.7.0-src.tar.gz 19663698 -SHA256 e49be5ae560f71aca184d9a880f2f3b297cb942d11aa6ab416468517309623d4 freecol-0.7.0-src.tar.gz 19663698 diff --git a/games-strategy/freecol/files/freecol-0.6.1-home.patch b/games-strategy/freecol/files/freecol-0.6.1-home.patch deleted file mode 100644 index 01ee1f499d6f..000000000000 --- a/games-strategy/freecol/files/freecol-0.6.1-home.patch +++ /dev/null @@ -1,22 +0,0 @@ ---- src/net/sf/freecol/common/logging/DefaultHandler.java -+++ src/net/sf/freecol/common/logging/DefaultHandler.java -@@ -21,7 +21,7 @@ - public static final String LICENSE = "http://www.gnu.org/licenses/gpl.html"; - public static final String REVISION = "$Revision: 1.1 $"; - -- private static final String fileName = new String("FreeCol.log"); -+ private static final String fileName = new String(System.getProperty("user.home") + "/.freecol/FreeCol.log"); - - private FileWriter fileWriter; - ---- src/net/sf/freecol/FreeCol.java -+++ src/net/sf/freecol/FreeCol.java -@@ -83,7 +83,7 @@ - if (!saveDirectory.exists()) { - saveDirectory = new File("save"); - } else { -- saveDirectory = new File(saveDirectory, "freecol" + FILE_SEP + "save"); -+ saveDirectory = new File(saveDirectory, ".freecol" + FILE_SEP + "save"); - } - - handleArgs(args); diff --git a/games-strategy/freecol/files/freecol-0.6.1-installer-taskdefs.patch b/games-strategy/freecol/files/freecol-0.6.1-installer-taskdefs.patch deleted file mode 100644 index a872b846f28e..000000000000 --- a/games-strategy/freecol/files/freecol-0.6.1-installer-taskdefs.patch +++ /dev/null @@ -1,88 +0,0 @@ -http://sourceforge.net/tracker/index.php?func=detail&aid=1725840&group_id=43225&atid=435580 - -Index: build.xml -=================================================================== -RCS file: /cvsroot/freecol/freecol/build.xml,v -retrieving revision 1.46 -diff -u -r1.46 build.xml ---- build.xml 21 May 2007 09:08:19 -0000 1.46 -+++ build.xml 25 May 2007 20:48:17 -0000 -@@ -49,23 +49,12 @@ - </condition> - - -- <!-- TASK DEFINITIONS --> -- <taskdef name="jsmoothgen" -- classname="net.charabia.jsmoothgen.ant.JSmoothGen" -- classpath="${freecol.build.dir}/jars/jsmoothgen-ant.jar" -- /> -- <taskdef name="izpack" -- classname="com.izforge.izpack.ant.IzPackTask" -- classpath="${freecol.build.dir}/jars/standalone-compiler.jar" -- /> -- -- <!-- JarBundler is a feature-rich Ant task which will create a Mac OS X -- application bundle from a list of Jar files and a main class name. -- (GPL-Software) -> http://informagen.com/JarBundler/ --> -- <taskdef name="jarbundler" -- classname="net.sourceforge.jarbundler.JarBundler" -- classpath="${freecol.build.dir}/jars/jarbundler.jar" -- /> -+ <target name="define-jsmoothgen"> -+ <taskdef name="jsmoothgen" -+ classname="net.charabia.jsmoothgen.ant.JSmoothGen" -+ classpath="${freecol.build.dir}/jars/jsmoothgen-ant.jar" -+ /> -+ </target> - - <target name="init" unless="TSTAMP"> - <tstamp/> -@@ -223,7 +212,7 @@ - </copy> - </target> - -- <target name="prepareWinFiles" depends="initDist"> -+ <target name="prepareWinFiles" depends="initDist,define-jsmoothgen"> - <jsmoothgen project="${freecol.build.dir}/startup.jsmooth" skeletonroot="${freecol.build.dir}/skeletons"/> - <move todir="${freecol.release.dir}/win/${freecol.name}"> - <fileset dir="${freecol.build.dir}" includes="freecol.exe"/> -@@ -264,7 +253,12 @@ - </target> - - <target name="javaInstallerBundle" unless="skip.dist.installer" description="Builds a platform independent installer" -- depends="initDist,prepareWinFiles,prepareManual,prepareBaseFiles,prepareSourceFiles"> -+ depends="initDist,prepareWinFiles,prepareManual,prepareBaseFiles,prepareSourceFiles"> -+ <taskdef name="izpack" -+ classname="com.izforge.izpack.ant.IzPackTask" -+ classpath="${freecol.build.dir}/jars/standalone-compiler.jar" -+ /> -+ - <izpack output="${freecol.release.dir}/${freecol.release.name}-installer.jar" - installerType="standard" - basedir="${freecol.release.dir}/" -@@ -332,7 +326,7 @@ - </target> - - <target name="winInstallerBundle" unless="skip.dist.installer" description="Builds a windows installer" -- depends="initDist,javaInstallerBundle"> -+ depends="initDist,javaInstallerBundle,define-jsmoothgen"> - - <copy todir="${freecol.release.dir}"> - <fileset dir="${freecol.build.dir}" includes="installer.jsmooth"/> -@@ -349,7 +343,15 @@ - </target> - - <!-- Builds a doubleclickable application bundle running on Mac OS X --> -- <target name="macJavaBundle" unless="skip.dist.mac" depends="prepareManual,prepareBaseFiles"> -+ <target name="macJavaBundle" unless="skip.dist.mac" depends="prepareManual,prepareBaseFiles"> -+ <!-- JarBundler is a feature-rich Ant task which will create a Mac OS X -+ application bundle from a list of Jar files and a main class name. -+ (GPL-Software) -> http://informagen.com/JarBundler/ --> -+ <taskdef name="jarbundler" -+ classname="net.sourceforge.jarbundler.JarBundler" -+ classpath="${freecol.build.dir}/jars/jarbundler.jar" -+ /> -+ - <jarbundler dir="${freecol.release.dir}" - name="FreeCol" - mainclass="net.sf.freecol.FreeCol" diff --git a/games-strategy/freecol/files/freecol-0.7.0-home.patch b/games-strategy/freecol/files/freecol-0.7.0-home.patch deleted file mode 100644 index f52e943e0c6b..000000000000 --- a/games-strategy/freecol/files/freecol-0.7.0-home.patch +++ /dev/null @@ -1,22 +0,0 @@ ---- src/net/sf/freecol/common/logging/DefaultHandler.java -+++ src/net/sf/freecol/common/logging/DefaultHandler.java -@@ -22,7 +22,7 @@ - - public static final String REVISION = "$Revision: 1.1 $"; - -- private static final String fileName = new String("FreeCol.log"); -+ private static final String fileName = new String(System.getProperty("user.home") + "/.freecol/FreeCol.log"); - - private FileWriter fileWriter; - ---- src/net/sf/freecol/FreeCol.java -+++ src/net/sf/freecol/FreeCol.java -@@ -314,7 +314,7 @@ - private static void createAndSetDirectories() { - // TODO: The location of the save directory should be determined by the installer.; - -- File mainUserDirectory = new File(System.getProperty("user.home"), "freecol"); -+ File mainUserDirectory = new File(System.getProperty("user.home"), ".freecol"); - if (mainUserDirectory.exists() && mainUserDirectory.isFile()) { - logger.warning("Could not create .freecol under " - + System.getProperty("user.home") + " because there " diff --git a/games-strategy/freecol/freecol-0.7.0.ebuild b/games-strategy/freecol/freecol-0.7.0.ebuild deleted file mode 100644 index 18b1eecaecd6..000000000000 --- a/games-strategy/freecol/freecol-0.7.0.ebuild +++ /dev/null @@ -1,76 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-strategy/freecol/freecol-0.7.0.ebuild,v 1.1 2007/07/19 21:41:00 nyhm Exp $ - -WANT_ANT_TASKS="ant-nodeps" - -inherit eutils java-pkg-2 java-ant-2 games - -DESCRIPTION="An open source clone of the game Colonization" -HOMEPAGE="http://www.freecol.org/" -SRC_URI="mirror://sourceforge/${PN}/${P}-src.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="test" - -RDEPEND="dev-java/higlayout" -DEPEND="${RDEPEND} - test? ( - dev-java/ant-junit - dev-java/ant-trax - ) - >=virtual/jdk-1.6" -RDEPEND="${RDEPEND} - >=virtual/jre-1.6" - -S=${WORKDIR}/${PN} - -pkg_setup() { - games_pkg_setup - java-pkg-2_pkg_setup -} - -src_unpack() { - unpack ${A} - cd "${S}" - rm -v FreeCol.jar jars/* */*/*.jar || die - - epatch "${FILESDIR}"/${P}-home.patch - - sed -i "/Class-Path/s:jars/.*$:$(java-pkg_getjars higlayout):" \ - src/MANIFEST.MF \ - || die "sed failed" - - cd jars - java-pkg_jar-from higlayout -} - -# Default would be from games -src_compile() { - eant -} - -src_test() { - java-pkg_jar-from --into test/lib junit - ANT_TASKS="ant-junit ant-trax ant-nodeps" eant testall -} - -src_install () { - insinto "${GAMES_DATADIR}"/${PN} - doins -r data || die "doins failed" - - java-pkg_jarinto "${GAMES_DATADIR}"/${PN} - java-pkg_dojar FreeCol.jar - - java-pkg_dolauncher ${PN} \ - -into "${GAMES_PREFIX}" \ - --pwd "${GAMES_DATADIR}"/${PN} \ - --java_args -Xmx512M - - dodoc README || die - doicon ${PN}.xpm || die - make_desktop_entry ${PN} FreeCol ${PN}.xpm || die - prepgamesdirs -} |