summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2007-08-13 16:44:59 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2007-08-13 16:44:59 +0000
commitdc73e97ed439b6f0de2382988c21604c6650e914 (patch)
treea972efa128b1c85d18ef4cbc499d5c30dd24b7e6 /games-strategy/freecol
parentFixing digest. (diff)
downloadgentoo-2-dc73e97ed439b6f0de2382988c21604c6650e914.tar.gz
gentoo-2-dc73e97ed439b6f0de2382988c21604c6650e914.tar.bz2
gentoo-2-dc73e97ed439b6f0de2382988c21604c6650e914.zip
old
(Portage version: 2.1.2.11)
Diffstat (limited to 'games-strategy/freecol')
-rw-r--r--games-strategy/freecol/files/digest-freecol-0.6.13
-rw-r--r--games-strategy/freecol/freecol-0.6.1.ebuild78
2 files changed, 0 insertions, 81 deletions
diff --git a/games-strategy/freecol/files/digest-freecol-0.6.1 b/games-strategy/freecol/files/digest-freecol-0.6.1
deleted file mode 100644
index cfcb448d7890..000000000000
--- a/games-strategy/freecol/files/digest-freecol-0.6.1
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 897eca32fe8f54edf641871b6368c266 freecol-0.6.1-src.tar.gz 18696686
-RMD160 270b763c290d2915f25da6182fa73655dcff7757 freecol-0.6.1-src.tar.gz 18696686
-SHA256 7b4c1162316f5824ab0d599f404e09ef4b7cdee5df4b0ef4b91fcee919bcf41b freecol-0.6.1-src.tar.gz 18696686
diff --git a/games-strategy/freecol/freecol-0.6.1.ebuild b/games-strategy/freecol/freecol-0.6.1.ebuild
deleted file mode 100644
index 100a9d621425..000000000000
--- a/games-strategy/freecol/freecol-0.6.1.ebuild
+++ /dev/null
@@ -1,78 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-strategy/freecol/freecol-0.6.1.ebuild,v 1.2 2007/05/25 21:05:12 betelgeuse 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 FreeCol.jar jars/* */*/*.jar || die
-
- epatch "${FILESDIR}"/${P}-home.patch
- # http://sourceforge.net/tracker/index.php?func=detail&aid=1725840&group_id=43225&atid=435580
- epatch "${FILESDIR}"/${PN}-0.6.1-installer-taskdefs.patch
-
- sed -i "/Class-Path/s:jars/.*$:$(java-pkg_getjars higlayout):" \
- src/MANIFEST.MF \
- || die "sed failed"
-
- cd jars
- java-pkg_jar-from higlayout
-}
-
-# 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 () {
- insinto "${GAMES_DATADIR}"/${PN}
- doins -r data || die "doins failed"
-
- 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
-
- dodoc README || die
- doicon ${PN}.xpm || die
- make_desktop_entry ${PN} FreeCol ${PN}.xpm || die
- prepgamesdirs
-}