Version bump to 0.5.1, bug #141613
authorAlfredo Tupone <tupone@gentoo.org>
Sun, 8 Oct 2006 01:34:31 +0000 (01:34 +0000)
committerAlfredo Tupone <tupone@gentoo.org>
Sun, 8 Oct 2006 01:34:31 +0000 (01:34 +0000)
Package-Manager: portage-2.1.1

games-strategy/freecol/ChangeLog
games-strategy/freecol/Manifest
games-strategy/freecol/files/digest-freecol-0.4.0
games-strategy/freecol/files/digest-freecol-0.5.1 [new file with mode: 0644]
games-strategy/freecol/files/freecol-0.5.1-build.patch [new file with mode: 0644]
games-strategy/freecol/freecol-0.5.1.ebuild [new file with mode: 0644]

index 1042a99c174156b5547ece7be50a89615da43995..2b206bd260feec1c509625088ea96f5eda197086 100644 (file)
@@ -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:
index e49acbd0ff55ad305917484cdba7a9272df8e510..f9fb93c3801277e3461d87cd6bc0e0bfcffa925c 100644 (file)
@@ -1,18 +1,46 @@
-MD5 e847053cb4824e7838a76463c8aadf8e ChangeLog 784
-RMD160 98c47baee676358b49779fa9ff0b931b88eff3f4 ChangeLog 784
-SHA256 774682885cd726d65dc4679e73ab91e5b4f9edfc590910d96e74b00a3058e38f ChangeLog 784
-MD5 dc6a4d04e026d9776e432d2dbd24e53e files/digest-freecol-0.3.0 70
-RMD160 22793d25653369a5b6efdce337cb09e0389bd59f files/digest-freecol-0.3.0 70
-SHA256 3c6f7265d519246fb20a88e2d9fb66a7059f51da773b7e1a563c7f326a5aaa9a files/digest-freecol-0.3.0 70
-MD5 92bb30eafb73ec91288034215826b0cd files/digest-freecol-0.4.0 70
-RMD160 a810118fcaa2687001d684353793a43dc6715b92 files/digest-freecol-0.4.0 70
-SHA256 8ee8b47b0687611260e053e7f335aadb86fe6f53be7118d41523a9427b993bab files/digest-freecol-0.4.0 70
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+AUX freecol-0.5.1-build.patch 568 RMD160 98ac7013b4a9196a18858c1cc6373433b8383c02 SHA1 90e913edad128858b320bacb948584bb43d8031a SHA256 fca9bbe8f16c10593ddeaf7f32398fbd976a3c76b32c12589af8c062640397d4
+MD5 f017b07254962d322d7d771321bfe044 files/freecol-0.5.1-build.patch 568
+RMD160 98ac7013b4a9196a18858c1cc6373433b8383c02 files/freecol-0.5.1-build.patch 568
+SHA256 fca9bbe8f16c10593ddeaf7f32398fbd976a3c76b32c12589af8c062640397d4 files/freecol-0.5.1-build.patch 568
+DIST freecol-0.3.0-src.tar.gz 3860944
+DIST freecol-0.4.0-src.tar.gz 4190257 RMD160 862da5f71a50d3040ee486966915f0f8f8209338 SHA1 ff5a5ad1391a56d88a368d4fa6d5c43960250c95 SHA256 0714683321ab76ce3f2130f431bf35d87b42a09c080971d7a04bd26656eaa83e
+DIST freecol-0.5.1-src.tar.gz 6850508 RMD160 6c0ab28d213c19c8ea372555d44aa91507413b42 SHA1 4439ab9cfb4a4b8a8e20d8776ddce0be222dc4c7 SHA256 8787b0fa49b77072cecbac7902f4f607a64089eed547d1b7cfb1914fd7f9e836
+EBUILD freecol-0.3.0.ebuild 1284 RMD160 1b9f5389abaf0893c7c21466ecac44d60ced6077 SHA1 a5b597595d11956ee2cb56e2a3311204da2bd754 SHA256 07ddaa910a6ea511ceb08f9e370b342379a3f1a889f8b8d310e85bc59847a63d
 MD5 bf8afa22e6c2746281e17044b57bd30b freecol-0.3.0.ebuild 1284
 RMD160 1b9f5389abaf0893c7c21466ecac44d60ced6077 freecol-0.3.0.ebuild 1284
 SHA256 07ddaa910a6ea511ceb08f9e370b342379a3f1a889f8b8d310e85bc59847a63d freecol-0.3.0.ebuild 1284
+EBUILD freecol-0.4.0.ebuild 1293 RMD160 2c6d541519229b2980c750ed791067005b671192 SHA1 b9d35ae09fdeb943cc8bfb39f06f3798e675bd94 SHA256 ebff3fa357b81ddfd61a671c9fdf519c1bcc97728f2f49b00e959ac4866683ef
 MD5 4f281e8beb6382fc7010603decabb01f freecol-0.4.0.ebuild 1293
 RMD160 2c6d541519229b2980c750ed791067005b671192 freecol-0.4.0.ebuild 1293
 SHA256 ebff3fa357b81ddfd61a671c9fdf519c1bcc97728f2f49b00e959ac4866683ef freecol-0.4.0.ebuild 1293
+EBUILD freecol-0.5.1.ebuild 1354 RMD160 ab7381c1a4cb70d8d3cd26016f447705a830e605 SHA1 f140391039e088a0b1c82f76c5f4260db2fa19a7 SHA256 7d80398a5bf09064a19950867e3c0a31a7279dc6d740f4383beb85ea07969478
+MD5 cf15ba898778d99ba1030e65d5fd656b freecol-0.5.1.ebuild 1354
+RMD160 ab7381c1a4cb70d8d3cd26016f447705a830e605 freecol-0.5.1.ebuild 1354
+SHA256 7d80398a5bf09064a19950867e3c0a31a7279dc6d740f4383beb85ea07969478 freecol-0.5.1.ebuild 1354
+MISC ChangeLog 958 RMD160 7165eace3581505d927abfd570bafda008037d9e SHA1 84b309184e6e4438ac8857576020e0f869f3225a SHA256 5ea7321461bdd5d884e19db3d0b4937540b03e299536c765fc9705985ee60cf0
+MD5 69996ff087b3fe4cf797b0808f2d442e ChangeLog 958
+RMD160 7165eace3581505d927abfd570bafda008037d9e ChangeLog 958
+SHA256 5ea7321461bdd5d884e19db3d0b4937540b03e299536c765fc9705985ee60cf0 ChangeLog 958
+MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3
 MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158
 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea metadata.xml 158
 SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 metadata.xml 158
+MD5 dc6a4d04e026d9776e432d2dbd24e53e files/digest-freecol-0.3.0 70
+RMD160 22793d25653369a5b6efdce337cb09e0389bd59f files/digest-freecol-0.3.0 70
+SHA256 3c6f7265d519246fb20a88e2d9fb66a7059f51da773b7e1a563c7f326a5aaa9a files/digest-freecol-0.3.0 70
+MD5 6a1d61f4534903ed844146de31e3bc90 files/digest-freecol-0.4.0 256
+RMD160 86d89691e465aabd29b271d195f832be45284499 files/digest-freecol-0.4.0 256
+SHA256 0d31b65199f2b8040c0eeef56e6d070fc0ed4e6dd0c60e42c4cdcff650d94109 files/digest-freecol-0.4.0 256
+MD5 bb8e9fb5959e629fa279fcaac4bf1da0 files/digest-freecol-0.5.1 256
+RMD160 bd876934b460901f7408095769eb83871d3938a2 files/digest-freecol-0.5.1 256
+SHA256 bc45c7bdb76ae045a3e442332441192e3dc2a629991e2296007c95789c933ec5 files/digest-freecol-0.5.1 256
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.5 (GNU/Linux)
+
+iD8DBQFFKFW3bfN2jvlVAhwRAhhhAKCaEqhmY5EGFyVBVkAI4hPVIW983ACgk98x
+tFpiauQJWM47sR2sN+1VlbA=
+=Gp0V
+-----END PGP SIGNATURE-----
index 8cc105faa209ba51f735134c26f5340f39d8c8f3..bf5e18628d8b8bcc7c27483db4f1c0a58206a487 100644 (file)
@@ -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 (file)
index 0000000..7648413
--- /dev/null
@@ -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 (file)
index 0000000..e489b53
--- /dev/null
@@ -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>\r
\r
+   <!-- TASK DEFINITIONS -->\r
++  <!--\r
+   <taskdef name="jsmoothgen"\r
+            classname="net.charabia.jsmoothgen.ant.JSmoothGen"\r
+            classpath="${freecol.build.dir}/jars/jsmoothgen-ant.jar"\r
+@@ -29,6 +30,7 @@
+            classname="com.izforge.izpack.ant.IzPackTask"\r
+            classpath="${freecol.build.dir}/jars/standalone-compiler.jar"\r
+   />\r
++  -->\r
\r
+   <target name="init" unless="TSTAMP">\r
+     <tstamp/>\r
diff --git a/games-strategy/freecol/freecol-0.5.1.ebuild b/games-strategy/freecol/freecol-0.5.1.ebuild
new file mode 100644 (file)
index 0000000..fe368d6
--- /dev/null
@@ -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
+}