summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Heaven <nyhm@gentoo.org>2006-11-28 02:35:28 +0000
committerTristan Heaven <nyhm@gentoo.org>2006-11-28 02:35:28 +0000
commita4971fc2dd395f0c5539d95553f840edb4105134 (patch)
treebb361ab57eddc74f66d853834eb7dedf1a74d4bd /games-strategy/freecol
parentRemove arts useflag and restrict binchecks and strips. (diff)
downloadgentoo-2-a4971fc2dd395f0c5539d95553f840edb4105134.tar.gz
gentoo-2-a4971fc2dd395f0c5539d95553f840edb4105134.tar.bz2
gentoo-2-a4971fc2dd395f0c5539d95553f840edb4105134.zip
Version bump
(Portage version: 2.1.2_rc2-r2)
Diffstat (limited to 'games-strategy/freecol')
-rw-r--r--games-strategy/freecol/ChangeLog8
-rw-r--r--games-strategy/freecol/files/digest-freecol-0.5.23
-rw-r--r--games-strategy/freecol/files/freecol-0.5.2-build.patch18
-rw-r--r--games-strategy/freecol/freecol-0.5.2.ebuild51
4 files changed, 79 insertions, 1 deletions
diff --git a/games-strategy/freecol/ChangeLog b/games-strategy/freecol/ChangeLog
index 2ee74ba3dcfe..57a405d91185 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.7 2006/10/22 13:54:18 peper Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/freecol/ChangeLog,v 1.8 2006/11/28 02:35:28 nyhm Exp $
+
+*freecol-0.5.2 (28 Nov 2006)
+
+ 28 Nov 2006; Tristan Heaven <nyhm@gentoo.org>
+ +files/freecol-0.5.2-build.patch, +freecol-0.5.2.ebuild:
+ Version bump
22 Oct 2006; Piotr Jaroszyński <peper@gentoo.org> freecol-0.5.1.ebuild:
Add ~amd64 keyword. Bug #130437.
diff --git a/games-strategy/freecol/files/digest-freecol-0.5.2 b/games-strategy/freecol/files/digest-freecol-0.5.2
new file mode 100644
index 000000000000..940d0ed3a7cc
--- /dev/null
+++ b/games-strategy/freecol/files/digest-freecol-0.5.2
@@ -0,0 +1,3 @@
+MD5 495130ede2de063a09c0de0b8f7e6922 freecol-0.5.2-src.tar.gz 8204490
+RMD160 00f137f23f63a3fcb3fb842ecc96006ca197f4ea freecol-0.5.2-src.tar.gz 8204490
+SHA256 7c956419d818ffa02c86810d23bbaeef3ed1cad172ecaa12f64a86c2280ec99f freecol-0.5.2-src.tar.gz 8204490
diff --git a/games-strategy/freecol/files/freecol-0.5.2-build.patch b/games-strategy/freecol/files/freecol-0.5.2-build.patch
new file mode 100644
index 000000000000..e489b53e8234
--- /dev/null
+++ b/games-strategy/freecol/files/freecol-0.5.2-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.2.ebuild b/games-strategy/freecol/freecol-0.5.2.ebuild
new file mode 100644
index 000000000000..e8b89220aaab
--- /dev/null
+++ b/games-strategy/freecol/freecol-0.5.2.ebuild
@@ -0,0 +1,51 @@
+# 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.2.ebuild,v 1.1 2006/11/28 02:35:28 nyhm Exp $
+
+inherit eutils java-ant-2 java-pkg-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 ~ppc ~x86"
+IUSE=""
+
+RDEPEND=">=virtual/jre-1.4"
+DEPEND=">=virtual/jdk-1.4
+ dev-java/ant"
+
+S=${WORKDIR}/${PN}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ rm -f 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() {
+ eant || die
+}
+
+src_install () {
+ insinto "${GAMES_DATADIR}/${PN}"
+ doins -r FreeCol.jar data/ jars/ || die "doins failed"
+
+ games_make_wrapper ${PN} "java -Xmx512M -jar FreeCol.jar" \
+ "${GAMES_DATADIR}"/${PN}
+
+ dodoc README
+ doicon ${PN}.xpm
+ make_desktop_entry ${PN} FreeCol ${PN}.xpm
+ prepgamesdirs
+}