summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Gianelloni <wolf31o2@gentoo.org>2006-03-22 04:09:19 +0000
committerChris Gianelloni <wolf31o2@gentoo.org>2006-03-22 04:09:19 +0000
commit8ab83b2365e2e44f91e4e4cf519144f18b2fb021 (patch)
tree4a0bfabd41c64917bb684ecaedefa10ba47fa436 /games-strategy/xbattleai
parentupdate copyright (diff)
downloadhistorical-8ab83b2365e2e44f91e4e4cf519144f18b2fb021.tar.gz
historical-8ab83b2365e2e44f91e4e4cf519144f18b2fb021.tar.bz2
historical-8ab83b2365e2e44f91e4e4cf519144f18b2fb021.zip
Initial import. Ebuild by Mark Miller <mark@mirell.org>. Closing bug #72886.
Package-Manager: portage-2.1_pre6-r3
Diffstat (limited to 'games-strategy/xbattleai')
-rw-r--r--games-strategy/xbattleai/ChangeLog10
-rw-r--r--games-strategy/xbattleai/Manifest12
-rw-r--r--games-strategy/xbattleai/files/digest-xbattleai-1.2.23
-rw-r--r--games-strategy/xbattleai/metadata.xml27
-rw-r--r--games-strategy/xbattleai/xbattleai-1.2.2.ebuild47
5 files changed, 99 insertions, 0 deletions
diff --git a/games-strategy/xbattleai/ChangeLog b/games-strategy/xbattleai/ChangeLog
new file mode 100644
index 000000000000..c5a0cb0b3324
--- /dev/null
+++ b/games-strategy/xbattleai/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for games-strategy/xbattleai
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/xbattleai/ChangeLog,v 1.1 2006/03/22 04:09:19 wolf31o2 Exp $
+
+*xbattleai-1.2.2 (22 Mar 2006)
+
+ 22 Mar 2006; Chris Gianelloni <wolf31o2@gentoo.org> +metadata.xml,
+ +xbattleai-1.2.2.ebuild:
+ Initial import. Ebuild by Mark Miller <mark@mirell.org>. Closing bug #72886.
+
diff --git a/games-strategy/xbattleai/Manifest b/games-strategy/xbattleai/Manifest
new file mode 100644
index 000000000000..4f45053be402
--- /dev/null
+++ b/games-strategy/xbattleai/Manifest
@@ -0,0 +1,12 @@
+MD5 2e81bff34ded483037ea080c8e3ffaf8 ChangeLog 433
+RMD160 aa51b5468650dd989b20f50d374f67d4f561e920 ChangeLog 433
+SHA256 a83bfd4920694919de49685d7fb94a80b65426efddd78c7871818ae56ffb6931 ChangeLog 433
+MD5 ef6d619814e40e5ab727fbafc4bd431c files/digest-xbattleai-1.2.2 241
+RMD160 42cb0991329c1145e4ea1e8a4f210b44e294b24c files/digest-xbattleai-1.2.2 241
+SHA256 0a568533e87d54c2947d72bfe0fe692857551d5bbc2d5703960fef614f4c4f10 files/digest-xbattleai-1.2.2 241
+MD5 053adb5a213c70eef1becc4974c7ade4 metadata.xml 1360
+RMD160 21f3335fb7d0a292d70c9e5062d189e5573a786a metadata.xml 1360
+SHA256 49efcf76d81f70450581242e49c24ace5ee353ee2ccd308aba553447c927efda metadata.xml 1360
+MD5 cc2ac22efee4063f822e6437e9213fa0 xbattleai-1.2.2.ebuild 1230
+RMD160 f657f238273ebad8354b011b8bb22343ce003f8b xbattleai-1.2.2.ebuild 1230
+SHA256 c65d61c19cf64f0564947434ecb2c74867a2820bc2426f00cd8c8ee50eda191f xbattleai-1.2.2.ebuild 1230
diff --git a/games-strategy/xbattleai/files/digest-xbattleai-1.2.2 b/games-strategy/xbattleai/files/digest-xbattleai-1.2.2
new file mode 100644
index 000000000000..cfc06695fcc3
--- /dev/null
+++ b/games-strategy/xbattleai/files/digest-xbattleai-1.2.2
@@ -0,0 +1,3 @@
+MD5 465276cb92db47db1537a09e9227cf1e xbattleai-1.2.2.tgz 1511991
+RMD160 f6911383ab6300e8e10d1f8a3f420de461ee0b9c xbattleai-1.2.2.tgz 1511991
+SHA256 1335924013b5cf603a21990fd59dce8c6c9a359ede8d47be2880b7e4bf8b512b xbattleai-1.2.2.tgz 1511991
diff --git a/games-strategy/xbattleai/metadata.xml b/games-strategy/xbattleai/metadata.xml
new file mode 100644
index 000000000000..e46af3a374bc
--- /dev/null
+++ b/games-strategy/xbattleai/metadata.xml
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>games</herd>
+<maintainer>
+<email>mr_bones_@gentoo.org</email>
+<name>Michael Sterrett</name>
+</maintainer>
+<longdescription>
+From the HOMEPAGE:
+XBattle is a concurrent multi-player arcade/strategy game that captures
+the dynamics of a wide range of military situations through numerous
+options. The game board is a matrix of game cells which can be occupied
+by troops of various colors, with troop strength indicated by the size of
+colored markers within a cell. Troops are commanded by clicking the mouse
+near the edge of an occupied cell in the direction that movement is to take
+place. XBattle is concurrent, so that commands are given continuously by
+all players without waiting for turns. A command will be acknowledged by
+the appearance of a command vector, and thereafter, in each update cycle,
+a certain proportion of the troops will move from the source cell to the
+destination cell. In this way, troops can be slowly redistributed via
+supply lines which steadily deliver troops to their endpoints. Troops
+of different colors engage in battle whenever they come to occupy the
+same cell. A wide variety of options are available for configuring troop
+movement, distribution, and production.
+</longdescription>
+</pkgmetadata>
diff --git a/games-strategy/xbattleai/xbattleai-1.2.2.ebuild b/games-strategy/xbattleai/xbattleai-1.2.2.ebuild
new file mode 100644
index 000000000000..5bfa0f38a6a9
--- /dev/null
+++ b/games-strategy/xbattleai/xbattleai-1.2.2.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/xbattleai/xbattleai-1.2.2.ebuild,v 1.1 2006/03/22 04:09:19 wolf31o2 Exp $
+
+inherit games
+
+DESCRIPTION="A multi-player game of strategy and coordination"
+HOMEPAGE="http://www.lysator.liu.se/~mbrx/XBattleAI/index.html"
+SRC_URI="http://www.lysator.liu.se/~mbrx/XBattleAI/${P}.tgz"
+
+LICENSE="xbattle"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+# Since this uses similar code and the same binary name as the original XBattle,
+# we want to make sure you can't install both at the same time
+
+RDEPEND="|| (
+ (
+ x11-libs/libXext
+ x11-libs/libX11 )
+ virtual/x11 )"
+DEPEND="${RDEPEND}
+ || (
+ (
+ x11-proto/xproto
+ x11-libs/libX11
+ app-text/rman
+ x11-misc/imake )
+ virtual/x11 )
+ !games-strategy/xbattle"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ sed -i -e "/TARGET/s:/usr/bin/:${GAMES_BINDIR}:" Makefile || die "sed Makefile failed"
+}
+
+src_install() {
+ dogamesbin "xbattle" || die "installing the binary failed"
+ insinto "${GAMES_DATADIR}/${PN}"
+ doins -r xbas xbos xbts || die "installing data failed"
+ newman xbattle.man xbattle.6
+ dodoc README xbattle.dot
+ prepgamesdirs
+}