From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- games-strategy/xbattleai/Manifest | 7 ++ .../xbattleai/files/xbattleai-1.2.2-sandbox.patch | 114 +++++++++++++++++++++ games-strategy/xbattleai/metadata.xml | 30 ++++++ games-strategy/xbattleai/xbattleai-1.2.2-r1.ebuild | 39 +++++++ games-strategy/xbattleai/xbattleai-1.2.2-r2.ebuild | 42 ++++++++ 5 files changed, 232 insertions(+) create mode 100644 games-strategy/xbattleai/Manifest create mode 100644 games-strategy/xbattleai/files/xbattleai-1.2.2-sandbox.patch create mode 100644 games-strategy/xbattleai/metadata.xml create mode 100644 games-strategy/xbattleai/xbattleai-1.2.2-r1.ebuild create mode 100644 games-strategy/xbattleai/xbattleai-1.2.2-r2.ebuild (limited to 'games-strategy/xbattleai') diff --git a/games-strategy/xbattleai/Manifest b/games-strategy/xbattleai/Manifest new file mode 100644 index 000000000000..d2ee83b7ef34 --- /dev/null +++ b/games-strategy/xbattleai/Manifest @@ -0,0 +1,7 @@ +AUX xbattleai-1.2.2-sandbox.patch 4167 SHA256 abb84d1bf97067d628b415155c3b2131c907aa8d59f2b3fc81a2ee3665094ad3 SHA512 013bd282c53f9a99b530b5a75907f7cc7b6829a0b20b7f77668325e1e12f2d8257019f68d1ccd147ac69d14d217412a31a3dcb3feaf2b55c39ae80545f956076 WHIRLPOOL 871c4ad0e91bbf30f26035496063876b4dbd43c46639be03d1cb20b6ada88506c63875821a438909edaa711b4e20cc76521dfd51496cd4aeef8b5a534124d329 +DIST xbattleai-1.2.2.tgz 1511991 SHA256 5dc137e33cbb8afb1a2333df1a8bec9c069d83254265826ac33568ae1f502d70 SHA512 41ac0f558b3adc697897903f5c9ed0d411867c405f0452282958083db7637c97a19f0ac9727e5123648a12dd2dcc5a304031efaab6089068b9f542e5db185e18 WHIRLPOOL 3f2679df504e3f2bbb9549cc7a95eaed7fa247162d88729e49cf47436050932efa806b32089c8f0f84e8e997c83c33e3d7d949bf2f5cfd0b2e36b82fcb61c341 +EBUILD xbattleai-1.2.2-r1.ebuild 984 SHA256 29031960b17a0883a587a16f3dd40bf2572c102f76dddbe4908f0c9b3e0bd3cd SHA512 68417284ba5f0732fc680107e6fd41032af51b6a77784a3bbc5e39944189206fe573f4cd80026febb052d1b28fcdd2062291acd9e6860a6fdfcfe5d5e65aaf14 WHIRLPOOL c9734748e989e5ca9228fa42cee6ce614b11a9af1c38141d130730de6f162e7c527fd56c552ad925fee64e67603475920e58088661f7e61ee0c26da5467d33b4 +EBUILD xbattleai-1.2.2-r2.ebuild 986 SHA256 cbf31d16f309968414cfa49152e941fc648b9b55262be3e439d40dcc89bd2824 SHA512 550ac98cf83017990f98e77b6784c64df01a798cfe9460f6a0a2be6bceb410dfd38a08efd614f956a6b517924da9ffd2e71ae2db20533bb3f9b1c9a87d75bfc6 WHIRLPOOL a319d4875c52b98ca4d20207e577820a8ce86e77ece3e04b0a7f9b6f1607db022dbc58aa3aabaf4c34e42b803dfcc4e800b753af637a93aaf3ddbf2a38ebe272 +MISC ChangeLog 2780 SHA256 97920bf0c6b009bd411258ffcc1b2cc3c55dba6d0c0b5d635d7d84408bf8865b SHA512 6402f889cc5fc2fd26635f0f9b698d9cd15155bf6fa1c174fa613afa02de6be9cac58aa4aa8b6f964a22b7d5d8d1bf00e7a5cd24fa137cc24c62722612aaeffd WHIRLPOOL 348876b64496cd9dd349891c3aaa8c0530c8693c04feb5d7353e8de42df3ed7ff6086c8e4bebb8a14890943809db4e5d6a02d5d4f7c0557dc567a15b79c1daf1 +MISC ChangeLog-2015 1105 SHA256 ed6b0ffb854388611112caa274bcfaae7ff435d6e0c4a53e8732e7dbbdde88af SHA512 54e3f942d3a0d51dfc63dd1c60a1a309c8b41de5a4bb54f1da7e518ae8d8d487bc5263dd98ebcb52a80df41756268bb3ec6c37cc16d3a6d1208ac0cee9413e1a WHIRLPOOL 473b8246420498651ddb0da8ddee44be2ede7b50c602740f2f6641ec5f4daf65c3de1285df8e12a6fe7589fbe25aa898cb7879fd26db117d103771295c12c9f9 +MISC metadata.xml 1463 SHA256 66e1da91a1c25d365d5cc7ea42f289aa6d7fd8c54a76ba875314374d854b69c8 SHA512 57aad0c8072474906986ea0d4e73e61b7d94325bd5206a1d1f6f6ef3e4ef9908c76b9e229167f487bbde42c84398462fdb1161b16e47ea9fef76172847131ec8 WHIRLPOOL 43c5e6ba89f4cefd85bfb51247057411964e6518ddf7669dd0288cf59e00a643c039fb257d103370cab5f8a7b39ebab2868687f778aa2fa1a36219178c0b1f1b 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..56d63ac694e4 --- /dev/null +++ b/games-strategy/xbattleai/files/xbattleai-1.2.2-sandbox.patch @@ -0,0 +1,114 @@ +--- a/Makefile.in ++++ b/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..287233f1698d --- /dev/null +++ b/games-strategy/xbattleai/metadata.xml @@ -0,0 +1,30 @@ + + + + +mr_bones_@gentoo.org +Michael Sterrett + + +games@gentoo.org +Gentoo Games Project + + +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. + + 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..536c92a0439d --- /dev/null +++ b/games-strategy/xbattleai/xbattleai-1.2.2-r1.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +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 +} diff --git a/games-strategy/xbattleai/xbattleai-1.2.2-r2.ebuild b/games-strategy/xbattleai/xbattleai-1.2.2-r2.ebuild new file mode 100644 index 000000000000..119e643d3faf --- /dev/null +++ b/games-strategy/xbattleai/xbattleai-1.2.2-r2.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit eutils + +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=" + dev-lang/tcl:0 + dev-lang/tk:0 + x11-libs/libX11 + x11-libs/libXext + !games-strategy/xbattle" +DEPEND="${RDEPEND} + app-text/rman + x11-misc/imake + x11-proto/xproto" + +PATCHES=( + "${FILESDIR}"/${P}-sandbox.patch +) + +src_prepare() { + default + rm -f xbcs/foo.xbc~ || die +} + +src_install() { + DOCS="CONTRIBUTORS README README.AI TODO xbattle.dot" \ + default + mv "${D}/usr/bin/"{,xb_}gauntletCampaign || die +} -- cgit v1.2.3