summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2008-09-01 19:41:45 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2008-09-01 19:41:45 +0000
commit3e4e4cf2b65480fddfea7f244d6bc05ce7fa00e5 (patch)
tree26ec39757507809fa114903a3f3f76a9a94e0645 /games-strategy
parentalpha/ia64/sparc/x86 stable wrt #236287 (diff)
downloadhistorical-3e4e4cf2b65480fddfea7f244d6bc05ce7fa00e5.tar.gz
historical-3e4e4cf2b65480fddfea7f244d6bc05ce7fa00e5.tar.bz2
historical-3e4e4cf2b65480fddfea7f244d6bc05ce7fa00e5.zip
old
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'games-strategy')
-rw-r--r--games-strategy/boswars/boswars-2.4.1.ebuild55
-rw-r--r--games-strategy/boswars/files/boswars-2.4.1-gentoo.patch29
-rw-r--r--games-strategy/hedgewars/hedgewars-0.9.5.ebuild49
3 files changed, 0 insertions, 133 deletions
diff --git a/games-strategy/boswars/boswars-2.4.1.ebuild b/games-strategy/boswars/boswars-2.4.1.ebuild
deleted file mode 100644
index 46de3860e448..000000000000
--- a/games-strategy/boswars/boswars-2.4.1.ebuild
+++ /dev/null
@@ -1,55 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-strategy/boswars/boswars-2.4.1.ebuild,v 1.3 2008/02/29 19:50:18 carlo Exp $
-
-inherit eutils games
-
-DESCRIPTION="Futuristic real-time strategy game"
-HOMEPAGE="http://www.boswars.org/"
-SRC_URI="http://www.boswars.org/dist/releases/${P}-src.tar.gz
- mirror://gentoo/bos.png"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86"
-IUSE=""
-
-RDEPEND="dev-lang/lua
- media-libs/libsdl
- media-libs/libpng
- media-libs/libvorbis
- media-libs/libtheora
- media-libs/libogg
- virtual/opengl
- x11-libs/libX11"
-DEPEND="${RDEPEND}
- dev-util/scons"
-
-S=${WORKDIR}/${P}-src
-
-src_unpack() {
- unpack ${A/bos.png}
- cd "${S}"
- rm -f doc/{README-SDL.txt,guichan-copyright.txt}
- epatch "${FILESDIR}"/${P}-gentoo.patch
- sed -i \
- -e "s:@GENTOO_DATADIR@:${GAMES_DATADIR}/${PN}:" \
- engine/include/stratagus.h \
- || die "sed failed"
-}
-
-src_compile() {
- scons || die "scons failed"
-}
-
-src_install() {
- dogamesbin ${PN} || die "dogamesbin failed"
- insinto "${GAMES_DATADIR}"/${PN}
- doins -r campaigns graphics languages maps scripts sounds units video \
- || die "doins failed"
- doicon "${DISTDIR}"/bos.png
- make_desktop_entry ${PN} "Bos Wars" bos
- dodoc CHANGELOG COPYRIGHT.txt README.txt
- dohtml -r doc/*
- prepgamesdirs
-}
diff --git a/games-strategy/boswars/files/boswars-2.4.1-gentoo.patch b/games-strategy/boswars/files/boswars-2.4.1-gentoo.patch
deleted file mode 100644
index 1c7f35da0760..000000000000
--- a/games-strategy/boswars/files/boswars-2.4.1-gentoo.patch
+++ /dev/null
@@ -1,29 +0,0 @@
---- engine/include/stratagus.h.old 2007-08-04 21:54:17.000000000 +0200
-+++ engine/include/stratagus.h 2007-08-04 21:55:20.000000000 +0200
-@@ -188,7 +188,7 @@
- extern char NameLine[];
-
- #ifndef STRATAGUS_LIB_PATH
--#define STRATAGUS_LIB_PATH "." /// Where to find the data files
-+#define STRATAGUS_LIB_PATH "@GENTOO_DATADIR@" /// Where to find the data files
- #endif
-
- #ifndef STRATAGUS_HOME_PATH
---- SConstruct.orig 2007-08-10 20:00:53.000000000 -0400
-+++ SConstruct 2007-08-10 20:11:07.000000000 -0400
-@@ -183,14 +183,8 @@
- return 0
-
- lualibfound = 0
-- if conf.CheckFunc('luaopen_base'):
-+ if conf.CheckLibWithHeader('lua', 'lualib.h', 'c'):
- return 1
-- if conf.CheckLibWithHeader('lualib', 'lualib.h', 'c'):
-- lualibfound = 1
-- elif conf.CheckLibWithHeader('lualib50', 'lualib.h', 'c'):
-- lualibfound = 1
-- elif conf.CheckLibWithHeader('lualib5.0', 'lualib.h', 'c'):
-- lualibfound = 1
- # the lua library should be after lualib
- env["LIBS"].remove(found)
- env.Append(LIBS = found)
diff --git a/games-strategy/hedgewars/hedgewars-0.9.5.ebuild b/games-strategy/hedgewars/hedgewars-0.9.5.ebuild
deleted file mode 100644
index 67178c069999..000000000000
--- a/games-strategy/hedgewars/hedgewars-0.9.5.ebuild
+++ /dev/null
@@ -1,49 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-strategy/hedgewars/hedgewars-0.9.5.ebuild,v 1.1 2008/07/11 18:15:05 mr_bones_ Exp $
-
-EAPI=1
-inherit eutils games
-
-MY_P=${PN}-src-${PV}
-DESCRIPTION="Free Worms-like turn based strategy game"
-HOMEPAGE="http://hedgewars.org/"
-SRC_URI="http://hedgewars.org/download/${MY_P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-RDEPEND="|| (
- ( x11-libs/qt-gui:4 x11-libs/qt-svg:4 )
- x11-libs/qt:4
- )
- media-libs/libsdl
- media-libs/sdl-ttf
- media-libs/sdl-mixer
- media-libs/sdl-image
- media-libs/sdl-net"
-DEPEND="${RDEPEND}
- >=dev-util/cmake-2.4.4
- dev-lang/fpc"
-
-S=${WORKDIR}/${MY_P}
-
-src_compile() {
- cmake \
- -DCMAKE_CXX_FLAGS="${CXXFLAGS}" \
- -DCMAKE_INSTALL_PREFIX="${GAMES_PREFIX}" \
- -DDATA_INSTALL_DIR="${GAMES_DATADIR}" \
- . || die "cmake failed"
- emake || die "emake failed"
-}
-
-src_install() {
- emake DESTDIR="${D}" install || die "emake install failed"
- newicon QTfrontend/res/hh25x25.png ${PN}.png
- make_desktop_entry ${PN} Hedgewars
- dodoc ChangeLog.txt README
- doman man/${PN}.6
- prepgamesdirs
-}