diff options
author | Tristan Heaven <tristan@gentoo.org> | 2008-02-12 20:09:18 +0000 |
---|---|---|
committer | Tristan Heaven <tristan@gentoo.org> | 2008-02-12 20:09:18 +0000 |
commit | b8896b4588d6b7143cefe0da083a31737004f189 (patch) | |
tree | a6544cfe5cc9383641dfb12fe944626b48ac987b /games-strategy | |
parent | Adjust DESCRIPTION and HOMEPAGE field (diff) | |
download | historical-b8896b4588d6b7143cefe0da083a31737004f189.tar.gz historical-b8896b4588d6b7143cefe0da083a31737004f189.tar.bz2 historical-b8896b4588d6b7143cefe0da083a31737004f189.zip |
Version bump
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'games-strategy')
-rw-r--r-- | games-strategy/freecol/ChangeLog | 8 | ||||
-rw-r--r-- | games-strategy/freecol/Manifest | 16 | ||||
-rw-r--r-- | games-strategy/freecol/files/freecol-0.5.3-build.patch | 18 | ||||
-rw-r--r-- | games-strategy/freecol/files/freecol-0.7.3-home.patch | 22 | ||||
-rw-r--r-- | games-strategy/freecol/freecol-0.7.3.ebuild | 69 |
5 files changed, 112 insertions, 21 deletions
diff --git a/games-strategy/freecol/ChangeLog b/games-strategy/freecol/ChangeLog index fd5bd43bb804..d27870202d27 100644 --- a/games-strategy/freecol/ChangeLog +++ b/games-strategy/freecol/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for games-strategy/freecol # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-strategy/freecol/ChangeLog,v 1.27 2008/02/12 18:56:37 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-strategy/freecol/ChangeLog,v 1.28 2008/02/12 20:09:18 nyhm Exp $ + +*freecol-0.7.3 (12 Feb 2008) + + 12 Feb 2008; Tristan Heaven <nyhm@gentoo.org> + +files/freecol-0.7.3-home.patch, +freecol-0.7.3.ebuild: + Version bump 12 Feb 2008; Michael Sterrett <mr_bones_@gentoo.org> -freecol-0.5.3.ebuild: diff --git a/games-strategy/freecol/Manifest b/games-strategy/freecol/Manifest index 98c75e7d75a9..b34e89d01ec9 100644 --- a/games-strategy/freecol/Manifest +++ b/games-strategy/freecol/Manifest @@ -1,9 +1,21 @@ -AUX freecol-0.5.3-build.patch 568 RMD160 98ac7013b4a9196a18858c1cc6373433b8383c02 SHA1 90e913edad128858b320bacb948584bb43d8031a SHA256 fca9bbe8f16c10593ddeaf7f32398fbd976a3c76b32c12589af8c062640397d4 +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + AUX freecol-0.7.1-home.patch 1063 RMD160 c06180604dc45318a88f04d8696c899d5bbd819b SHA1 ed977e8b51dc7d384198d2dbb2fd10e8388134ee SHA256 cd015054538f7856ae51882233e19e191daf23f4d4791065b05c4ec639e90dec AUX freecol-0.7.2-home.patch 1063 RMD160 c06180604dc45318a88f04d8696c899d5bbd819b SHA1 ed977e8b51dc7d384198d2dbb2fd10e8388134ee SHA256 cd015054538f7856ae51882233e19e191daf23f4d4791065b05c4ec639e90dec +AUX freecol-0.7.3-home.patch 1063 RMD160 c06180604dc45318a88f04d8696c899d5bbd819b SHA1 ed977e8b51dc7d384198d2dbb2fd10e8388134ee SHA256 cd015054538f7856ae51882233e19e191daf23f4d4791065b05c4ec639e90dec DIST freecol-0.7.1-src.tar.gz 19765230 RMD160 5c187f796835a9a53853b23ef0b75bddb3c40a80 SHA1 074b5145f7c7f97816bc03c4ade703703b495c4e SHA256 1c1cce5a2f91d47d89639e175d10cdcaa040ca916e3b64214c0ebeb935c0c153 DIST freecol-0.7.2-src.tar.gz 20252220 RMD160 cdf19af3d299e3e053652b530f4f1941ebe7b6fd SHA1 676d086b491f76ae031812760e37d10d53a0d59d SHA256 16bb050f716fa889e4306c70f4a1ab10b9aabebbd3c80be15e24980cb97fe771 +DIST freecol-0.7.3-src.tar.gz 20728024 RMD160 1728db0adf470ae7a79f922b3bcfc647fa4ab154 SHA1 5dfa2eff9f2417d4d2dfb5c7fc4f6144ec660b16 SHA256 6508835f94f893e4f4bcd130e8cc7199935a78d5f36c37f4c8997d26b1f15235 EBUILD freecol-0.7.1.ebuild 1556 RMD160 d4173cfe4652664965d4a9bdc5babad38248ebaf SHA1 19feb9dc3e14e2d45a69d0b326cf95610c4a6c05 SHA256 cd0f29a888b0ec4e2cf6129bcbec100ef934ae5619dc9edd973e882ce5a08cc2 EBUILD freecol-0.7.2.ebuild 1555 RMD160 defb4c6d479e3e439cffe22ab8a787edee38abd4 SHA1 18c450db8d59b251ceea03c28230239ef3c27371 SHA256 c5e0fc0383d13d747947f2d037d1fcca6a3d5a019976fe2dd2dc6313839889f5 -MISC ChangeLog 4183 RMD160 eb6b7a1ef6f859564ea37ba1c6828b158f5418bc SHA1 bfdf17e360ee45af22de440cfae29a936bbb9ae5 SHA256 7bb0fc93536810952ee5a82cf8ed6ef5e7eaafabb0856c41f3b28f4404d093a2 +EBUILD freecol-0.7.3.ebuild 1540 RMD160 fcbc47446c0b20a08ee6ca0f4cd6dc7900802ad8 SHA1 a3c3c369cab75b596f7fd6c2c83006f5f1d06549 SHA256 49be6839b48fba916e9bea607311e8f91964c8aa4b077a17930d7a8265af8b32 +MISC ChangeLog 4330 RMD160 5141af8b6ece1bf6d0e8998db0519529f6c9b15f SHA1 fddf29ef3dd697b3cae28eda467c8567f592da5c SHA256 f1a162b3dca47b6717dfa536807acc5fbe513042ac4c895e226d140f03dafe66 MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.7 (GNU/Linux) + +iD8DBQFHsfz1dz7hIScOURERAsmbAJ9DrWbhsU92pXtjwxOnjC3EtRf1LgCfXNvZ +5BCReNuGZ5eYcZ3rADdGtVo= +=qkye +-----END PGP SIGNATURE----- diff --git a/games-strategy/freecol/files/freecol-0.5.3-build.patch b/games-strategy/freecol/files/freecol-0.5.3-build.patch deleted file mode 100644 index e489b53e8234..000000000000 --- a/games-strategy/freecol/files/freecol-0.5.3-build.patch +++ /dev/null @@ -1,18 +0,0 @@ ---- 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/files/freecol-0.7.3-home.patch b/games-strategy/freecol/files/freecol-0.7.3-home.patch new file mode 100644 index 000000000000..f52e943e0c6b --- /dev/null +++ b/games-strategy/freecol/files/freecol-0.7.3-home.patch @@ -0,0 +1,22 @@ +--- 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.3.ebuild b/games-strategy/freecol/freecol-0.7.3.ebuild new file mode 100644 index 000000000000..9418904cd026 --- /dev/null +++ b/games-strategy/freecol/freecol-0.7.3.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-strategy/freecol/freecol-0.7.3.ebuild,v 1.1 2008/02/12 20:09:18 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 $(find . -name '*.jar') || die + java-pkg_jar-from --into jars higlayout + epatch "${FILESDIR}"/${P}-home.patch + sed -i \ + -e "/Class-Path/s:jars/.*\":$(java-pkg_getjars higlayout)\":" \ + build.xml \ + || die "sed failed" +} + +# 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 () { + 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 + insinto "${GAMES_DATADIR}"/${PN} + doins -r data || die "doins failed" + doicon ${PN}.xpm + make_desktop_entry ${PN} FreeCol + dodoc README + prepgamesdirs +} |