diff options
author | 2008-06-22 21:34:35 +0000 | |
---|---|---|
committer | 2008-06-22 21:34:35 +0000 | |
commit | a961a3d65f2db49e95762de5f07aa2a238eeb63c (patch) | |
tree | 8d8d234c4b785ba5b404ef170bd0b2ebb6d7ea1c /games-puzzle/pingus | |
parent | old (diff) | |
download | historical-a961a3d65f2db49e95762de5f07aa2a238eeb63c.tar.gz historical-a961a3d65f2db49e95762de5f07aa2a238eeb63c.tar.bz2 historical-a961a3d65f2db49e95762de5f07aa2a238eeb63c.zip |
old
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'games-puzzle/pingus')
-rw-r--r-- | games-puzzle/pingus/files/pingus-0.7.1-paths.patch | 34 | ||||
-rw-r--r-- | games-puzzle/pingus/pingus-0.7.1.ebuild | 50 |
2 files changed, 0 insertions, 84 deletions
diff --git a/games-puzzle/pingus/files/pingus-0.7.1-paths.patch b/games-puzzle/pingus/files/pingus-0.7.1-paths.patch deleted file mode 100644 index 6adf00beaee8..000000000000 --- a/games-puzzle/pingus/files/pingus-0.7.1-paths.patch +++ /dev/null @@ -1,34 +0,0 @@ ---- install.sh -+++ install.sh -@@ -14,8 +14,8 @@ - exit 1 - fi - -- BINDIR="$1/bin/" -- DATADIR="$1/share/pingus/" -+ BINDIR="${1}GENTOO_BINDIR" -+ DATADIR="${1}GENTOO_DATADIR" - - echo "Installing Pingus in: $1" - ---- SConstruct -+++ SConstruct -@@ -406,7 +406,6 @@ - - config_h = open('config.h', 'w') - config_h.write('#define VERSION "0.7.1"\n') -- config_h.write('#define ENABLE_BINRELOC 1\n') - config_h.write('#define ICONV_CONST\n') # FIXME: make a check for this - for (v,k) in config_h_defines: - config_h.write('#define %s %s\n' % (v, k)) ---- src/pingus_main.cpp -+++ src/pingus_main.cpp -@@ -583,7 +583,7 @@ - path_manager.add_path("data"); // assume game is run from source dir, without any magic - free(exe_path); - #else -- path_manager.add_path("data"); // assume game is run from source dir -+ path_manager.add_path("GENTOO_DATADIR/data"); - #endif - - if (!path_manager.find_path("data/core.res")) diff --git a/games-puzzle/pingus/pingus-0.7.1.ebuild b/games-puzzle/pingus/pingus-0.7.1.ebuild deleted file mode 100644 index 9af031b95bd7..000000000000 --- a/games-puzzle/pingus/pingus-0.7.1.ebuild +++ /dev/null @@ -1,50 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-puzzle/pingus/pingus-0.7.1.ebuild,v 1.3 2007/09/27 15:29:38 angelos Exp $ - -inherit eutils toolchain-funcs games - -DESCRIPTION="free Lemmings clone" -HOMEPAGE="http://pingus.seul.org/" -SRC_URI="http://pingus.seul.org/files/${P}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~ppc ~x86" -IUSE="" - -RDEPEND="media-libs/libsdl - media-libs/sdl-image - media-libs/sdl-mixer - media-libs/libpng - dev-libs/boost" -DEPEND="${RDEPEND} - >=dev-util/scons-0.97" - -src_unpack() { - unpack ${A} - cd "${S}" - epatch "${FILESDIR}"/${P}-paths.patch - sed -i \ - -e "s:GENTOO_BINDIR:${GAMES_BINDIR}:" \ - -e "s:GENTOO_DATADIR:${GAMES_DATADIR}/${PN}:" \ - install.sh src/pingus_main.cpp \ - || die "sed failed" -} - -src_compile() { - scons configure \ - CXX="$(tc-getCXX)" \ - CCFLAGS="${CXXFLAGS}" \ - LINKFLAGS="${LDFLAGS}" \ - || die "scons configure failed" - scons || die "scons failed" -} - -src_install() { - ./install.sh "${D}" || die "install.sh failed" - newicon data/images/pingus/player0/boarder.png ${PN}.png - make_desktop_entry ${PN} Pingus - dodoc AUTHORS NEWS README TODO - prepgamesdirs -} |