diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /games-strategy/xbattleai | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'games-strategy/xbattleai')
-rw-r--r-- | games-strategy/xbattleai/Manifest | 1 | ||||
-rw-r--r-- | games-strategy/xbattleai/files/xbattleai-1.2.2-sandbox.patch | 114 | ||||
-rw-r--r-- | games-strategy/xbattleai/metadata.xml | 27 | ||||
-rw-r--r-- | games-strategy/xbattleai/xbattleai-1.2.2-r1.ebuild | 40 |
4 files changed, 182 insertions, 0 deletions
diff --git a/games-strategy/xbattleai/Manifest b/games-strategy/xbattleai/Manifest new file mode 100644 index 000000000000..fd91ad5b6103 --- /dev/null +++ b/games-strategy/xbattleai/Manifest @@ -0,0 +1 @@ +DIST xbattleai-1.2.2.tgz 1511991 SHA256 5dc137e33cbb8afb1a2333df1a8bec9c069d83254265826ac33568ae1f502d70 diff --git a/games-strategy/xbattleai/files/xbattleai-1.2.2-sandbox.patch b/games-strategy/xbattleai/files/xbattleai-1.2.2-sandbox.patch new file mode 100644 index 000000000000..566d4eec0565 --- /dev/null +++ b/games-strategy/xbattleai/files/xbattleai-1.2.2-sandbox.patch @@ -0,0 +1,114 @@ +--- Makefile.in ++++ Makefile.in +@@ -200,87 +200,87 @@ + .PHONY: install-bin + + install-bin: ${TARGET} ${SCRIPTS} +- ${INSTALL_DIRS} ${bindir} ++ ${INSTALL_DIRS} ${DESTDIR}/${bindir} + @list='${TARGET} ${SCRIPTS}'; for p in $$list; do \ + if test -f $$p; then \ + ${ECHO} "${INSTALL_PROGRAM} $$p ${bindir}"; \ +- ${INSTALL_PROGRAM} $$p ${bindir}; \ ++ ${INSTALL_PROGRAM} $$p ${DESTDIR}/${bindir}; \ + else :; fi; \ + done + + .PHONY: install-man + + install-man: +- ${INSTALL_DIRS} ${mandir} ++ ${INSTALL_DIRS} ${DESTDIR}/${mandir} + @list='${MAN1}'; for p in $$list; do \ + ${INSTALL_DIRS} ${mandir}/man1; \ + if test -f ${SRC_DIR}/$${p}.man; then \ + ${ECHO} "${INSTALL_DATA} ${SRC_DIR}/$${p}.man ${mandir}/man1/$${p}.1"; \ +- ${INSTALL_DATA} ${SRC_DIR}/$${p}.man ${mandir}/man1/$${p}.1; \ ++ ${INSTALL_DATA} ${SRC_DIR}/$${p}.man ${DESTDIR}/${mandir}/man1/$${p}.1; \ + else :; fi; \ + done + @list='${MAN6}'; for p in $$list; do \ +- ${INSTALL_DIRS} ${mandir}/man6; \ ++ ${INSTALL_DIRS} ${DESTDIR}/${mandir}/man6; \ + if test -f ${SRC_DIR}/$${p}.man; then \ + ${ECHO} "${INSTALL_DATA} ${SRC_DIR}/$${p}.man ${mandir}/man6/$${p}.6"; \ +- ${INSTALL_DATA} ${SRC_DIR}/$${p}.man ${mandir}/man6/$${p}.6; \ ++ ${INSTALL_DATA} ${SRC_DIR}/$${p}.man ${DESTDIR}/${mandir}/man6/$${p}.6; \ + else :; fi; \ + done + + .PHONY: install-share + + install-share: +- ${INSTALL_DIRS} ${XBO_DIR} ++ ${INSTALL_DIRS} ${DESTDIR}/${XBO_DIR} + @list='${SRC_DIR}/xbos/*'; for p in $$list; do \ + if test -f $$p; then \ + ${ECHO} "${INSTALL_DATA} $$p ${XBO_DIR}"; \ +- ${INSTALL_DATA} $$p ${XBO_DIR}; \ ++ ${INSTALL_DATA} $$p ${DESTDIR}/${XBO_DIR}; \ + else :; fi; \ + done +- ${INSTALL_DIRS} ${XBT_DIR} ++ ${INSTALL_DIRS} ${DESTDIR}/${XBT_DIR} + @list='${SRC_DIR}/xbts/*'; for p in $$list; do \ + if test -f $$p; then \ + ${ECHO} "${INSTALL_DATA} $$p ${XBT_DIR}"; \ +- ${INSTALL_DATA} $$p ${XBT_DIR}; \ ++ ${INSTALL_DATA} $$p ${DESTDIR}/${XBT_DIR}; \ + else :; fi; \ + done +- ${INSTALL_DIRS} ${XBA_DIR} ++ ${INSTALL_DIRS} ${DESTDIR}/${XBA_DIR} + @list='${SRC_DIR}/xbas/*'; for p in $$list; do \ + if test -f $$p; then \ + ${ECHO} "${INSTALL_DATA} $$p ${XBA_DIR}"; \ +- ${INSTALL_DATA} $$p ${XBA_DIR}; \ ++ ${INSTALL_DATA} $$p ${DESTDIR}/${XBA_DIR}; \ + else :; fi; \ + done +- ${INSTALL_DIRS} ${IMG_DIR} ++ ${INSTALL_DIRS} ${DESTDIR}/${IMG_DIR} + @list='${SRC_DIR}/images/*'; for p in $$list; do \ + if test -f $$p; then \ + ${ECHO} "${INSTALL_DATA} $$p ${IMG_DIR}"; \ +- ${INSTALL_DATA} $$p ${IMG_DIR}; \ ++ ${INSTALL_DATA} $$p ${DESTDIR}/${IMG_DIR}; \ + else :; fi; \ + done +- ${INSTALL_DIRS} ${SND_DIR} ++ ${INSTALL_DIRS} ${DESTDIR}/${SND_DIR} + @list='${SRC_DIR}/snd/*'; for p in $$list; do \ + if test -f $$p; then \ + ${ECHO} "${INSTALL_DATA} $$p ${SND_DIR}"; \ +- ${INSTALL_DATA} $$p ${SND_DIR}; \ ++ ${INSTALL_DATA} $$p ${DESTDIR}/${SND_DIR}; \ + else :; fi; \ + done +- ${INSTALL_DIRS} ${XBC_DIR} ++ ${INSTALL_DIRS} ${DESTDIR}/${XBC_DIR} + @list='${SRC_DIR}/xbcs/*'; for p in $$list; do \ + if test -f $$p; then \ + ${ECHO} "${INSTALL_DATA} $$p ${XBC_DIR}"; \ +- ${INSTALL_DATA} $$p ${XBC_DIR}; \ ++ ${INSTALL_DATA} $$p ${DESTDIR}/${XBC_DIR}; \ + else :; fi; \ + done +- ${INSTALL_DIRS} ${GC_DIR} +- ${INSTALL_DATA} ${SRC_DIR}/gauntlet/gauntlet.dat ${GC_DIR}; +- ${INSTALL_DATA} ${SRC_DIR}/gauntlet/gauntlet.xbo ${GC_DIR}; +- ${INSTALL_PROGRAM} ${SRC_DIR}/gauntlet/gauntlet_interp.awk ${GC_DIR}; +- ${INSTALL_DIRS} ${GC_DIR}/gauntlet_levels ++ ${INSTALL_DIRS} ${DESTDIR}/${GC_DIR} ++ ${INSTALL_DATA} ${SRC_DIR}/gauntlet/gauntlet.dat ${DESTDIR}/${GC_DIR}; ++ ${INSTALL_DATA} ${SRC_DIR}/gauntlet/gauntlet.xbo ${DESTDIR}/${GC_DIR}; ++ ${INSTALL_PROGRAM} ${SRC_DIR}/gauntlet/gauntlet_interp.awk ${DESTDIR}/${GC_DIR}; ++ ${INSTALL_DIRS} ${DESTDIR}/${GC_DIR}/gauntlet_levels + @list='${SRC_DIR}/gauntlet/gauntlet_levels/*'; for p in $$list; do \ + if test -f $$p; then \ + ${ECHO} "${INSTALL_DATA} $$p ${GC_DIR}/gauntlet_levels"; \ +- ${INSTALL_DATA} $$p ${GC_DIR}/gauntlet_levels; \ ++ ${INSTALL_DATA} $$p ${DESTDIR}/${GC_DIR}/gauntlet_levels; \ + else :; fi; \ + done + 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-r1.ebuild b/games-strategy/xbattleai/xbattleai-1.2.2-r1.ebuild new file mode 100644 index 000000000000..6f62978f5322 --- /dev/null +++ b/games-strategy/xbattleai/xbattleai-1.2.2-r1.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit eutils games + +DESCRIPTION="A multi-player game of strategy and coordination" +HOMEPAGE="https://inf.ug.edu.pl/~piotao/xbattle/mirror/www.lysator.liu.se/XBattleAI/" +SRC_URI="https://inf.ug.edu.pl/~piotao/xbattle/mirror/www.lysator.liu.se/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 + dev-lang/tcl:0 + dev-lang/tk:0 + !games-strategy/xbattle" +DEPEND="${RDEPEND} + x11-proto/xproto + app-text/rman + x11-misc/imake" + +src_prepare() { + rm -f xbcs/foo.xbc~ + epatch "${FILESDIR}"/${P}-sandbox.patch +} + +src_install() { + DOCS="CONTRIBUTORS README README.AI TODO xbattle.dot" \ + default + mv "${D}/${GAMES_BINDIR}"/{,xb_}gauntletCampaign + prepgamesdirs +} |