summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-action/tumikifighters/tumikifighters-0.2.ebuild')
-rw-r--r--games-action/tumikifighters/tumikifighters-0.2.ebuild68
1 files changed, 0 insertions, 68 deletions
diff --git a/games-action/tumikifighters/tumikifighters-0.2.ebuild b/games-action/tumikifighters/tumikifighters-0.2.ebuild
deleted file mode 100644
index 7aa9a85..0000000
--- a/games-action/tumikifighters/tumikifighters-0.2.ebuild
+++ /dev/null
@@ -1,68 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI="2"
-
-inherit d-games
-
-MY_PN=tf
-MY_PD=tumiki-fighters
-MY_PV=${PV//./_}
-
-DESCRIPTION="Stick more enemies and become much stronger. Sticky 2D shooter, 'TUMIKI Fighters'. "
-HOMEPAGE="http://www.asahi-net.or.jp/~cs8k-cyu/windows/tf_e.html"
-SRC_URI="http://www.asahi-net.or.jp/~cs8k-cyu/windows/${MY_PN}${MY_PV}.zip
- mirror://debian/pool/main/t/${MY_PD}/${MY_PD}_${PV}.dfsg1-3.diff.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~ppc ~x86"
-IUSE=""
-
-RDEPEND="media-libs/libsdl
- media-libs/mesa
- media-libs/sdl-mixer
- dev-libs/libbulletml"
-DEPEND="${RDEPEND}"
-
-S=${WORKDIR}/${MY_PN}
-
-src_prepare(){
- # using frostworks patches with debian's cleanups and minor patches
- epatch "${WORKDIR}"/${MY_PD}_${PV}.dfsg1-3.diff
- sed -i -e "s:${MY_PD}-${PV}.dfsg1/::g" -i "${S}"/${MY_PD}-${PV}.dfsg1/debian/patches/makefile.patch
- sed -i -e "s:${MY_PD}:${PN}:g" -i "${S}"/${MY_PD}-${PV}.dfsg1/debian/patches/makefile.patch
- epatch "${S}"/${MY_PD}-${PV}.dfsg1/debian/patches/imports.patch
- epatch "${S}"/${MY_PD}-${PV}.dfsg1/debian/patches/fixes.patch
- epatch "${S}"/${MY_PD}-${PV}.dfsg1/debian/patches/windowed.patch
- epatch "${S}"/${MY_PD}-${PV}.dfsg1/debian/patches/dotfile.patch
- epatch "${S}"/${MY_PD}-${PV}.dfsg1/debian/patches/makefile.patch
- epatch "${S}"/${MY_PD}-${PV}.dfsg1/debian/patches/gdc-0.24-semantics-for-version.patch
- epatch "${S}"/${MY_PD}-${PV}.dfsg1/debian/patches/window-resizing.patch
- sed -i \
- -e 's:"\(sounds/[^"]*\)":"'${GAMES_DATADIR}'/'${PN}'/\1":g' -i src/abagames/util/sdl/sound.d \
- -e 's:"\(barrage[^"]*\)":"'${GAMES_DATADIR}'/'${PN}'/\1":g' -i src/abagames/tf/barragemanager.d \
- -e 's:"\(enemy[^"]*\)":"'${GAMES_DATADIR}'/'${PN}'/\1":g' -i src/abagames/tf/enemyspec.d \
- -e 's:"\(field[^"]*\)":"'${GAMES_DATADIR}'/'${PN}'/\1":g' -i src/abagames/tf/field.d \
- -e 's:"\(stage[^"]*\)":"'${GAMES_DATADIR}'/'${PN}'/\1":g' -i src/abagames/tf/stagemanager.d \
- -e 's:"\(tumiki[^"]*\)":"'${GAMES_DATADIR}'/'${PN}'/\1":g' -i src/abagames/tf/tumikiset.d \
- || die "sed failed"
-}
-
-src_install() {
- dogamesbin ${PN}
-
- local datadir="${GAMES_DATADIR}"/${PN}
- dodir ${datadir}
- insinto "${GAMES_DATADIR}"/${PN}
- doins -r barrage enemy field sounds stage tumiki || die
- newicon "${S}"/${MY_PD}-${PV}.dfsg1/debian/${MY_PD}.xpm ${PN}.xpm
- make_desktop_entry ${PN} ${PN}
- dodoc readme*
- prepgamesdirs
-}
-
-pkg_postinst() {
- games_pkg_postinst
-}