summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2005-06-24 04:21:32 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2005-06-24 04:21:32 +0000
commitcfc0ab096fa23c351f7b2a6543ad5fc185dfe60f (patch)
tree839225fce3d97355ff02f68ca920a424b08b05eb /games-strategy
parentRemoving obsolete ebuilds (diff)
downloadgentoo-2-cfc0ab096fa23c351f7b2a6543ad5fc185dfe60f.tar.gz
gentoo-2-cfc0ab096fa23c351f7b2a6543ad5fc185dfe60f.tar.bz2
gentoo-2-cfc0ab096fa23c351f7b2a6543ad5fc185dfe60f.zip
version bump (bug #96905)
(Portage version: 2.0.51.19)
Diffstat (limited to 'games-strategy')
-rw-r--r--games-strategy/freecol/ChangeLog8
-rw-r--r--games-strategy/freecol/Manifest6
-rw-r--r--games-strategy/freecol/files/digest-freecol-0.4.01
-rw-r--r--games-strategy/freecol/freecol-0.4.0.ebuild52
4 files changed, 64 insertions, 3 deletions
diff --git a/games-strategy/freecol/ChangeLog b/games-strategy/freecol/ChangeLog
index 3a8979a74403..342d6b85723f 100644
--- a/games-strategy/freecol/ChangeLog
+++ b/games-strategy/freecol/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for games-strategy/freecol
# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-strategy/freecol/ChangeLog,v 1.2 2005/05/09 14:57:05 dholm Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/freecol/ChangeLog,v 1.3 2005/06/24 04:21:32 mr_bones_ Exp $
+
+*freecol-0.4.0 (24 Jun 2005)
+
+ 24 Jun 2005; Michael Sterrett <mr_bones_@gentoo.org>
+ +freecol-0.4.0.ebuild:
+ version bump (bug #96905)
09 May 2005; David Holm <dholm@gentoo.org> freecol-0.3.0.ebuild:
Added to ~ppc.
diff --git a/games-strategy/freecol/Manifest b/games-strategy/freecol/Manifest
index 2e82979ceb6a..4cebf33598f0 100644
--- a/games-strategy/freecol/Manifest
+++ b/games-strategy/freecol/Manifest
@@ -1,4 +1,6 @@
-MD5 1dcc27c913c24ec8fe8c01b8c33dd6a6 ChangeLog 490
-MD5 3e19038e45c6f7b26d432cd9a3ec4edd freecol-0.3.0.ebuild 1282
MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158
+MD5 3e19038e45c6f7b26d432cd9a3ec4edd freecol-0.4.0.ebuild 1282
+MD5 3e19038e45c6f7b26d432cd9a3ec4edd freecol-0.3.0.ebuild 1282
+MD5 1dcc27c913c24ec8fe8c01b8c33dd6a6 ChangeLog 490
+MD5 92bb30eafb73ec91288034215826b0cd files/digest-freecol-0.4.0 70
MD5 dc6a4d04e026d9776e432d2dbd24e53e files/digest-freecol-0.3.0 70
diff --git a/games-strategy/freecol/files/digest-freecol-0.4.0 b/games-strategy/freecol/files/digest-freecol-0.4.0
new file mode 100644
index 000000000000..8cc105faa209
--- /dev/null
+++ b/games-strategy/freecol/files/digest-freecol-0.4.0
@@ -0,0 +1 @@
+MD5 becb8d48a8c251168ee28751fc7198a8 freecol-0.4.0-src.tar.gz 4190257
diff --git a/games-strategy/freecol/freecol-0.4.0.ebuild b/games-strategy/freecol/freecol-0.4.0.ebuild
new file mode 100644
index 000000000000..bf6e0eb47f83
--- /dev/null
+++ b/games-strategy/freecol/freecol-0.4.0.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/freecol/freecol-0.4.0.ebuild,v 1.1 2005/06/24 04:21:32 mr_bones_ Exp $
+
+inherit games
+
+DESCRIPTION="An open source clone of the game Colonization"
+HOMEPAGE="http://freecol.sf.net"
+SRC_URI="mirror://sourceforge/${PN}/${PN}-${PV}-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() {
+ 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
+ games_pkg_setup
+}
+
+src_unpack() {
+ unpack ${A}
+
+ echo "#!/bin/sh" > "${T}/${PN}"
+ echo "\"\${JAVA_HOME}\"/bin/java -Xmx128M -jar '${GAMES_DATADIR}/${PN}/FreeCol.jar' --freecol-data '${GAMES_DATADIR}/${PN}/data'" >> "${T}/${PN}"
+
+ find "${S}/data/" -type f -exec chmod a-x \{\} \;
+}
+
+src_compile() {
+ ant -Dnojars=true -Dnodata=true || die "ant failed"
+}
+
+src_install () {
+ dogamesbin "${T}/${PN}" || die "dogamesbin failed"
+ insinto "${GAMES_DATADIR}/${PN}"
+ doins -r FreeCol.jar data/ jars/ || die "doins failed"
+ dodoc README
+ prepgamesdirs
+}