+++ /dev/null
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-<maintainer type="person">
-<email>mr_bones_@gentoo.org</email>
-<name>Michael Sterrett</name>
-</maintainer>
-<maintainer type="project">
-<email>games@gentoo.org</email>
-<name>Gentoo Games Project</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>
+++ /dev/null
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-inherit games
-
-DESCRIPTION="A multi-player game of strategy and coordination"
-HOMEPAGE="http://www.cgl.uwaterloo.ca/~jdsteele/xbattle.html"
-SRC_URI="ftp://cns-ftp.bu.edu/pub/xbattle/${P}.tar.gz"
-
-LICENSE="xbattle"
-SLOT="0"
-KEYWORDS="alpha amd64 hppa ia64 ~mips ppc sparc x86"
-IUSE=""
-
-RDEPEND="x11-libs/libXext
- x11-libs/libX11
- !games-strategy/xbattleai"
-DEPEND="${RDEPEND}
- x11-proto/xproto
- app-text/rman
- x11-misc/imake"
-
-src_prepare() {
- sed -i \
- -e "s:/export/home/lesher/:${GAMES_DATADIR}/${PN}/:" Imakefile || die
-}
-
-src_configure() {
- xmkmf || die
-}
-
-src_compile() {
- emake \
- CDEBUGFLAGS="${CFLAGS}" \
- LOCAL_LDFLAGS="${LDFLAGS}"
-}
-
-src_install() {
- dogamesbin xbattle
- newgamesbin tutorial1 xbattle-tutorial1
- newgamesbin tutorial2 xbattle-tutorial2
- dodir "${GAMES_DATADIR}/${PN}"
- cp -r xbas/ xbos/ xbts/ "${D}${GAMES_DATADIR}/${PN}/" || die
- newman xbattle.man xbattle.6
- dodoc README xbattle.dot
- prepgamesdirs
-}
-
-pkg_postinst() {
- games_pkg_postinst
- elog 'You may be interested by these tutorials:'
- elog ' xbattle-tutorial1'
- elog ' xbattle-tutorial2'
-}