diff options
Diffstat (limited to 'games-action/abuse_sdl/abuse_sdl-0.7.0-r2.ebuild')
-rw-r--r-- | games-action/abuse_sdl/abuse_sdl-0.7.0-r2.ebuild | 63 |
1 files changed, 0 insertions, 63 deletions
diff --git a/games-action/abuse_sdl/abuse_sdl-0.7.0-r2.ebuild b/games-action/abuse_sdl/abuse_sdl-0.7.0-r2.ebuild deleted file mode 100644 index 92ca2a3f50a4..000000000000 --- a/games-action/abuse_sdl/abuse_sdl-0.7.0-r2.ebuild +++ /dev/null @@ -1,63 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-action/abuse_sdl/abuse_sdl-0.7.0-r2.ebuild,v 1.12 2007/03/12 13:12:29 genone Exp $ - -inherit eutils games - -DESCRIPTION="port of Abuse by Crack Dot Com" -HOMEPAGE="http://www.labyrinth.net.au/~trandor/abuse/" -SRC_URI="http://www.labyrinth.net.au/~trandor/abuse/files/${P}.tar.bz2 - http://www.labyrinth.net.au/~trandor/abuse/files/abuse_datafiles.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="ppc sparc x86" -IUSE="" - -RDEPEND=">=media-libs/libsdl-1.1.6" -DEPEND="${RDEPEND} - x11-libs/libXt - virtual/opengl" - -DATA="${WORKDIR}/datafiles" - -src_unpack() { - cd ${WORKDIR} - unpack ${P}.tar.bz2 - - mkdir ${DATA} - cd ${DATA} - unpack abuse_datafiles.tar.gz - - # hard-coded path in the default config writer. - cd ${S} - sed -i \ - -e "s:/usr/local/share/games/abuse:${GAMES_DATADIR}/abuse:" \ - src/sdlport/setup.cpp || die "sed src/sdlport/setup.cpp failed" -} - -src_compile() { - egamesconf --datadir="${GAMES_DATADIR_BASE}" || die - emake || die "emake failed" -} - -src_install() { - make DESTDIR=${D} install || die "make install failed" - dodoc AUTHORS ChangeLog README TODO - - cd ${DATA} - dodir ${GAMES_DATADIR}/abuse - cp -R * ${D}/${GAMES_DATADIR}/abuse - - #fix for #10573 + #11475 ... stupid hippy bug - cd ${D}/${GAMES_DATADIR}/abuse - epatch ${FILESDIR}/stupid-fix.patch - - prepgamesdirs -} - -pkg_postinst() { - games_pkg_postinst - elog "NOTE: If you had previous version of abuse installed" - elog "you may need to remove ~/.abuse for the game to work correctly." -} |