summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-board/domination')
-rw-r--r--games-board/domination/ChangeLog9
-rw-r--r--games-board/domination/domination-1.1.1.1.ebuild51
2 files changed, 58 insertions, 2 deletions
diff --git a/games-board/domination/ChangeLog b/games-board/domination/ChangeLog
index 9860da4c787c..cd9e9d7c4411 100644
--- a/games-board/domination/ChangeLog
+++ b/games-board/domination/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for games-board/domination
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-board/domination/ChangeLog,v 1.4 2012/08/21 12:44:06 ago Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-board/domination/ChangeLog,v 1.5 2012/09/14 07:06:03 mr_bones_ Exp $
+
+*domination-1.1.1.1 (14 Sep 2012)
+
+ 14 Sep 2012; Michael Sterrett <mr_bones_@gentoo.org>
+ +domination-1.1.1.1.ebuild:
+ version bump
21 Aug 2012; Agostino Sarubbo <ago@gentoo.org> domination-1.1.1.0.ebuild:
Stable for amd64, wrt bug #432070
@@ -20,4 +26,3 @@
28 Jun 2012; Michael Sterrett <mr_bones_@gentoo.org>
+domination-1.1.0.9.ebuild, +metadata.xml:
initial commit; package renamed from jrisk
-
diff --git a/games-board/domination/domination-1.1.1.1.ebuild b/games-board/domination/domination-1.1.1.1.ebuild
new file mode 100644
index 000000000000..9b34d1318a15
--- /dev/null
+++ b/games-board/domination/domination-1.1.1.1.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-board/domination/domination-1.1.1.1.ebuild,v 1.1 2012/09/14 07:06:03 mr_bones_ Exp $
+
+inherit eutils java-pkg-2 java-ant-2 games
+
+DESCRIPTION="The well-known board game, written in java"
+HOMEPAGE="http://domination.sourceforge.net"
+SRC_URI="mirror://sourceforge/domination/Domination_${PV}.zip"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~x86-fbsd"
+IUSE=""
+
+RDEPEND=">=virtual/jre-1.4"
+DEPEND=">=virtual/jdk-1.4
+ app-arch/unzip"
+
+S=${WORKDIR}/Domination
+
+pkg_setup() {
+ games_pkg_setup
+ java-pkg-2_pkg_setup
+}
+
+EANT_BUILD_TARGET="game"
+
+src_compile() {
+ java-pkg-2_src_compile
+}
+
+src_install() {
+ mkdir -p "${D}${GAMES_PREFIX}"/bin
+ cp "${S}"/FlashGUI.sh "${D}${GAMES_PREFIX}"/bin/${PN} || die
+ sed -i \
+ -e "s|cd.*|cd \"${GAMES_DATADIR}\"/${PN}|" \
+ "${D}${GAMES_PREFIX}"/bin/${PN} \
+ || die
+ chmod +x "${D}${GAMES_PREFIX}"/bin/${PN} || die
+
+ insinto "${GAMES_DATADIR}/${PN}"
+ doins -r "${S}"/* || die
+ rm -f "${D}${GAMES_DATADIR}"/${PN}/*.cmd || die
+ java-pkg_regjar "${D}/${GAMES_DATADIR}/${PN}"/*.jar
+
+ newicon resources/icon.png ${PN}.png
+ make_desktop_entry ${PN} "Domination"
+
+ prepgamesdirs
+}