summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2008-08-31 05:15:26 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2008-08-31 05:15:26 +0000
commit64cffb5b2834362f938ec92d5ce8894391da370e (patch)
treefae2eeab8dab96686a0544a980fb410be8001e49 /games-strategy
parentremove unused numarray use flag (diff)
downloadgentoo-2-64cffb5b2834362f938ec92d5ce8894391da370e.tar.gz
gentoo-2-64cffb5b2834362f938ec92d5ce8894391da370e.tar.bz2
gentoo-2-64cffb5b2834362f938ec92d5ce8894391da370e.zip
old
(Portage version: 2.1.4.4)
Diffstat (limited to 'games-strategy')
-rw-r--r--games-strategy/galaxyhack/files/galaxyhack-1.69-boost.patch11
-rw-r--r--games-strategy/galaxyhack/files/galaxyhack-1.69-destdirs.patch24
-rw-r--r--games-strategy/galaxyhack/galaxyhack-1.69.ebuild64
3 files changed, 0 insertions, 99 deletions
diff --git a/games-strategy/galaxyhack/files/galaxyhack-1.69-boost.patch b/games-strategy/galaxyhack/files/galaxyhack-1.69-boost.patch
deleted file mode 100644
index c7fd49135dee..000000000000
--- a/games-strategy/galaxyhack/files/galaxyhack-1.69-boost.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/SetupBattle.cpp
-+++ src/SetupBattle.cpp
-@@ -18,7 +18,7 @@
- #include "PreBattle.h"
-
- #include <sstream>
--#include <boost/filesystem/exception.hpp>
-+#include <boost/filesystem.hpp>
-
- using std::stringstream;
- using std::getline;
diff --git a/games-strategy/galaxyhack/files/galaxyhack-1.69-destdirs.patch b/games-strategy/galaxyhack/files/galaxyhack-1.69-destdirs.patch
deleted file mode 100644
index c20529e410fa..000000000000
--- a/games-strategy/galaxyhack/files/galaxyhack-1.69-destdirs.patch
+++ /dev/null
@@ -1,24 +0,0 @@
---- Makefile.old 2006-07-28 00:02:20.000000000 +0200
-+++ Makefile 2006-07-28 00:02:59.000000000 +0200
-@@ -6,8 +6,8 @@
- # James Gregory and Everton da Silva Marques <evertonsm@yahoo.com.br>
- #
-
--INSTALL_DIR=/usr/local/share
--INSTALL_BIN_DIR=/usr/local/bin
-+INSTALL_DIR="${GAMES_DATADIR}"
-+INSTALL_BIN_DIR="${GAMES_BINDIR}"
-
- CXX = g++
- CXXFLAGS = $(shell sdl-config --cflags) -O3
---- Main.cpp.old 2006-07-28 00:04:46.000000000 +0200
-+++ Main.cpp 2006-07-28 00:08:28.000000000 +0200
-@@ -184,7 +184,7 @@
- #ifndef WIN32
- string settingsPath = userHomePath + "settings.dat";
- if (!DoesFileExist(settingsPath))
-- settingsPath = "settings.dat";
-+ settingsPath = "@GAMES_DATADIR@/galaxyhack/settings.dat";
- #else
- string settingsPath = "settings.dat";
- #endif
diff --git a/games-strategy/galaxyhack/galaxyhack-1.69.ebuild b/games-strategy/galaxyhack/galaxyhack-1.69.ebuild
deleted file mode 100644
index c78580ff3093..000000000000
--- a/games-strategy/galaxyhack/galaxyhack-1.69.ebuild
+++ /dev/null
@@ -1,64 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-strategy/galaxyhack/galaxyhack-1.69.ebuild,v 1.3 2007/06/13 23:30:54 nyhm Exp $
-
-inherit eutils games
-
-DESCRIPTION="Multiplayer AI script based strategy game."
-HOMEPAGE="http://galaxyhack.sourceforge.net/"
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2
- mirror://gentoo/${PN}.png"
-
-LICENSE="GPL-2 galaxyhack"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-DEPEND="media-libs/libsdl
- media-libs/sdl-image
- media-libs/sdl-mixer
- dev-libs/boost"
-
-S=${WORKDIR}/${PN}/src
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
- edos2unix Makefile
- epatch \
- "${FILESDIR}"/${P}-destdirs.patch \
- "${FILESDIR}"/${P}-boost.patch
- sed -i "s:@GAMES_DATADIR@:${GAMES_DATADIR}:" \
- Main.cpp \
- || die "sed Main.cpp failed"
- sed -i "/Base data path/s:pwd:${GAMES_DATADIR}/${PN}:" \
- ../settings.dat \
- || die "sed settings.dat failed"
- sed -i \
- -e "/^CXXFLAGS/s:-O3:${CXXFLAGS}:" \
- -e '/^LDFLAGS/s:=:+=:' \
- Makefile \
- || die "sed Makefile failed"
-}
-
-src_install() {
- dogamesbin "${PN}" || die "dogamesbin failed"
- cd ..
- insinto "${GAMES_DATADIR}"/${PN}
- doins -r fleets gamedata graphics music standardpictures \
- settings.dat || die "doins failed"
- dodoc readme.txt
- doicon "${DISTDIR}"/${PN}.png
- make_desktop_entry ${PN} GalaxyHack
- prepgamesdirs
-}
-
-pkg_postinst() {
- games_pkg_postinst
- elog "Settings will default to those found in"
- elog "${GAMES_DATADIR}/galaxyhack/settings.dat"
- elog "Per user settings can be specified by creating"
- elog "~/.galaxyhack/settings.dat"
- elog "Additional user submitted fleets can be downloaded from"
- elog "http://galaxyhack.sourceforge.net/viewfleets.php"
-}