summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-simulation/realtimebattle/realtimebattle-1.0.8.ebuild')
-rwxr-xr-xgames-simulation/realtimebattle/realtimebattle-1.0.8.ebuild45
1 files changed, 0 insertions, 45 deletions
diff --git a/games-simulation/realtimebattle/realtimebattle-1.0.8.ebuild b/games-simulation/realtimebattle/realtimebattle-1.0.8.ebuild
deleted file mode 100755
index c00f9d5..0000000
--- a/games-simulation/realtimebattle/realtimebattle-1.0.8.ebuild
+++ /dev/null
@@ -1,45 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-inherit eutils
-
-MY_P1E="RealTimeBattle-${PV}-Ext"
-
-DESCRIPTION="A programming game in which robots controlled by programs fight each other."
-HOMEPAGE="http://realtimebattle.sourceforge.net/"
-SRC_URI="mirror://sourceforge/${PN}/${MY_P1E}.tar.gz"
-
-LICENSE="GPL-2"
-KEYWORDS="x86"
-IUSE="perl nls java debug doc"
-
-DEPEND=">=x11-libs/gtk+-2.0.3
- perl? ( >=dev-lang/perl-5.6.1 )
- nls? ( sys-devel/gettext )
- java? ( virtual/jre )"
-RDEPEND="${DEPEND}"
-
-src_unpack() {
- unpack ${A}
- MY_P="${MY_P1E}"
- #S="${WORKDIR}/${MY_P}" it does not run :(
- cd ${WORKDIR} &&
- mv ${MY_P} ${P}
-}
-
-src_compile() {
- use nls || myconf="--disable-nls"
- econf $(use_enable debug) ${myconf} || die "Configure failed"
- emake || die "Compile failed"
-}
-
-src_install(){
- make DESTDIR="${D}" install || die "Install failed"
- mkdir -p ${D}/usr/share/games ${D}/usr/games/bin
- mv ${D}/usr/bin/* ${D}/usr/games/bin/
- use doc || rm -Rf ${D}/usr/games/RealTimeBattle/Documentation
- mv ${D}/usr/games/RealTimeBattle ${D}/usr/share/games/
- rm -R ${D}/usr/bin
-}
-