summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2006-10-08 01:34:31 +0000
committerAlfredo Tupone <tupone@gentoo.org>2006-10-08 01:34:31 +0000
commit48bba5a020a0f9e60b0d46dbed1ff90b40157858 (patch)
tree96fd0fb7bb7b52b97c420d9f9a3c179ab98a67f7 /games-strategy/freecol
parent2.1.2_pre2-r6 revbump. This fixes bugs #149608, #150359, #150377, and #150381. (diff)
downloadgentoo-2-48bba5a020a0f9e60b0d46dbed1ff90b40157858.tar.gz
gentoo-2-48bba5a020a0f9e60b0d46dbed1ff90b40157858.tar.bz2
gentoo-2-48bba5a020a0f9e60b0d46dbed1ff90b40157858.zip
Version bump to 0.5.1, bug #141613
(Portage version: 2.1.1)
Diffstat (limited to 'games-strategy/freecol')
-rw-r--r--games-strategy/freecol/ChangeLog8
-rw-r--r--games-strategy/freecol/files/digest-freecol-0.4.02
-rw-r--r--games-strategy/freecol/files/digest-freecol-0.5.13
-rw-r--r--games-strategy/freecol/files/freecol-0.5.1-build.patch18
-rw-r--r--games-strategy/freecol/freecol-0.5.1.ebuild63
5 files changed, 93 insertions, 1 deletions
diff --git a/games-strategy/freecol/ChangeLog b/games-strategy/freecol/ChangeLog
index 1042a99c1741..2b206bd260fe 100644
--- a/games-strategy/freecol/ChangeLog
+++ b/games-strategy/freecol/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for games-strategy/freecol
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-strategy/freecol/ChangeLog,v 1.4 2006/04/17 13:26:28 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/freecol/ChangeLog,v 1.5 2006/10/08 01:34:31 tupone Exp $
+
+*freecol-0.5.1 (08 Oct 2006)
+
+ 08 Oct 2006; <tupone@gentoo.org> +files/freecol-0.5.1-build.patch,
+ +freecol-0.5.1.ebuild:
+ Version bump to 0.5.1, bug #141613 by Mr. Bones.
17 Apr 2006; Chris Gianelloni <wolf31o2@gentoo.org> freecol-0.3.0.ebuild,
freecol-0.4.0.ebuild:
diff --git a/games-strategy/freecol/files/digest-freecol-0.4.0 b/games-strategy/freecol/files/digest-freecol-0.4.0
index 8cc105faa209..bf5e18628d8b 100644
--- a/games-strategy/freecol/files/digest-freecol-0.4.0
+++ b/games-strategy/freecol/files/digest-freecol-0.4.0
@@ -1 +1,3 @@
MD5 becb8d48a8c251168ee28751fc7198a8 freecol-0.4.0-src.tar.gz 4190257
+RMD160 862da5f71a50d3040ee486966915f0f8f8209338 freecol-0.4.0-src.tar.gz 4190257
+SHA256 0714683321ab76ce3f2130f431bf35d87b42a09c080971d7a04bd26656eaa83e freecol-0.4.0-src.tar.gz 4190257
diff --git a/games-strategy/freecol/files/digest-freecol-0.5.1 b/games-strategy/freecol/files/digest-freecol-0.5.1
new file mode 100644
index 000000000000..7648413e388a
--- /dev/null
+++ b/games-strategy/freecol/files/digest-freecol-0.5.1
@@ -0,0 +1,3 @@
+MD5 6b0b94da77a8cb0f671e1f3d392bcf89 freecol-0.5.1-src.tar.gz 6850508
+RMD160 6c0ab28d213c19c8ea372555d44aa91507413b42 freecol-0.5.1-src.tar.gz 6850508
+SHA256 8787b0fa49b77072cecbac7902f4f607a64089eed547d1b7cfb1914fd7f9e836 freecol-0.5.1-src.tar.gz 6850508
diff --git a/games-strategy/freecol/files/freecol-0.5.1-build.patch b/games-strategy/freecol/files/freecol-0.5.1-build.patch
new file mode 100644
index 000000000000..e489b53e8234
--- /dev/null
+++ b/games-strategy/freecol/files/freecol-0.5.1-build.patch
@@ -0,0 +1,18 @@
+--- build.xml.old 2006-10-07 12:09:28.000000000 +0200
++++ build.xml 2006-10-07 12:10:53.000000000 +0200
+@@ -21,6 +21,7 @@
+ </path>
+
+ <!-- TASK DEFINITIONS -->
++ <!--
+ <taskdef name="jsmoothgen"
+ classname="net.charabia.jsmoothgen.ant.JSmoothGen"
+ classpath="${freecol.build.dir}/jars/jsmoothgen-ant.jar"
+@@ -29,6 +30,7 @@
+ classname="com.izforge.izpack.ant.IzPackTask"
+ classpath="${freecol.build.dir}/jars/standalone-compiler.jar"
+ />
++ -->
+
+ <target name="init" unless="TSTAMP">
+ <tstamp/>
diff --git a/games-strategy/freecol/freecol-0.5.1.ebuild b/games-strategy/freecol/freecol-0.5.1.ebuild
new file mode 100644
index 000000000000..fe368d68372f
--- /dev/null
+++ b/games-strategy/freecol/freecol-0.5.1.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/freecol/freecol-0.5.1.ebuild,v 1.1 2006/10/08 01:34:31 tupone Exp $
+
+inherit eutils games
+
+DESCRIPTION="An open source clone of the game Colonization"
+HOMEPAGE="http://www.freecol.org/"
+SRC_URI="mirror://sourceforge/${PN}/${P}-src.tar.gz"
+
+KEYWORDS="~ppc ~x86"
+SLOT="0"
+LICENSE="GPL-2"
+IUSE=""
+
+RDEPEND=">=virtual/jre-1.4"
+DEPEND=">=virtual/jdk-1.4
+ >=dev-java/ant-core-1.4.1"
+
+S=${WORKDIR}/${PN}
+
+pkg_setup() {
+ games_pkg_setup
+ if [ -z "${JAVA_HOME}" ]; then
+ einfo
+ einfo "\${JAVA_HOME} not set!"
+ einfo "Please use java-config to configure your JVM and try again."
+ einfo
+ die "\${JAVA_HOME} not set."
+ fi
+}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ rm FreeCol.jar
+
+ sed -i \
+ -e '/saveDirectory/s/freecol/.freecol/' \
+ src/net/sf/freecol/FreeCol.java \
+ || die "sed failed"
+
+ epatch "${FILESDIR}"/${P}-build.patch
+}
+
+src_compile() {
+ ant || die "ant failed"
+}
+
+src_install () {
+ insinto "${GAMES_DATADIR}/${PN}"
+ doins -r FreeCol.jar data/ jars/ || die "doins failed"
+
+ games_make_wrapper ${PN} \
+ "java -Xmx256M -jar FreeCol.jar $1 $2 $3 $4 $5 $6 $7 $8 $9" \
+ "${GAMES_DATADIR}"/${PN}
+
+ dodoc README
+ doicon ${PN}.xpm
+ make_desktop_entry ${PN} "FreeCol" ${PN}.xpm
+ prepgamesdirs
+}