diff options
Diffstat (limited to 'games-arcade/tomatoes')
-rw-r--r-- | games-arcade/tomatoes/ChangeLog | 5 | ||||
-rw-r--r-- | games-arcade/tomatoes/files/digest-tomatoes-1.55 | 2 | ||||
-rw-r--r-- | games-arcade/tomatoes/tomatoes-1.55.ebuild | 71 |
3 files changed, 4 insertions, 74 deletions
diff --git a/games-arcade/tomatoes/ChangeLog b/games-arcade/tomatoes/ChangeLog index a97a8fffe7cf..8b68a919a573 100644 --- a/games-arcade/tomatoes/ChangeLog +++ b/games-arcade/tomatoes/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for games-arcade/tomatoes # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-arcade/tomatoes/ChangeLog,v 1.10 2006/04/13 20:25:10 wolf31o2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-arcade/tomatoes/ChangeLog,v 1.11 2006/04/13 20:26:42 wolf31o2 Exp $ + + 13 Apr 2006; Chris Gianelloni <wolf31o2@gentoo.org> -tomatoes-1.55.ebuild: + Cleaning up older ebuilds. 13 Apr 2006; Chris Gianelloni <wolf31o2@gentoo.org> tomatoes-1.55.ebuild, tomatoes-1.55-r1.ebuild: diff --git a/games-arcade/tomatoes/files/digest-tomatoes-1.55 b/games-arcade/tomatoes/files/digest-tomatoes-1.55 deleted file mode 100644 index 40f1222d079e..000000000000 --- a/games-arcade/tomatoes/files/digest-tomatoes-1.55 +++ /dev/null @@ -1,2 +0,0 @@ -MD5 b0fa201bfb55d1cb402c52ab7e743086 tomatoes-linux-src-1.55.tar.bz2 62947 -MD5 a6a7ff71bb1098fd0a4098fd3d846339 tomatoes-linux-1.5.tar.bz2 8807421 diff --git a/games-arcade/tomatoes/tomatoes-1.55.ebuild b/games-arcade/tomatoes/tomatoes-1.55.ebuild deleted file mode 100644 index ef9697a364ae..000000000000 --- a/games-arcade/tomatoes/tomatoes-1.55.ebuild +++ /dev/null @@ -1,71 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-arcade/tomatoes/tomatoes-1.55.ebuild,v 1.8 2006/04/13 20:25:10 wolf31o2 Exp $ - -inherit eutils games - -DATA_PV=1.5 -DESCRIPTION="How many tomatoes can you smash in ten short minutes?" -HOMEPAGE="http://tomatoes.sourceforge.net/about.html" -SRC_URI="mirror://sourceforge/tomatoes/tomatoes-linux-src-${PV}.tar.bz2 - mirror://sourceforge/tomatoes/tomatoes-linux-${DATA_PV}.tar.bz2" - -LICENSE="ZLIB" -SLOT="0" -KEYWORDS="amd64 ppc x86" -IUSE="" - -DEPEND="virtual/opengl - virtual/glu - >=media-libs/libsdl-1.2.7 - >=media-libs/sdl-image-1.2.2 - media-libs/sdl-mixer" - -pkg_setup() { - games_pkg_setup - if ! built_with_use media-libs/sdl-mixer mikmod ; then - eerror "Tomatoes doesn't work properly if sdl-mixer" - eerror "is built with USE=-mikmod" - die "Please emerge sdl-mixer with USE=mikmod" - fi -} - -src_unpack() { - unpack ${A} - cd "${S}" - mv ../tomatoes-1.5/* . || die "mv failed" - mv icon.png ${PN}.png - - sed -i \ - -e '/^CC/d' \ - -e '/^MARCH/d' \ - -e "/^CFLAGS/s/=.*$/= ${CFLAGS} \$(SDL_FLAGS)/" \ - -e "/^MPKDIR = /s:./:${GAMES_DATADIR}/${PN}/:" \ - -e "/^MUSICDIR = /s:./music/:${GAMES_DATADIR}/${PN}/music/:" \ - -e "/^HISCOREDIR = /s:./:${GAMES_STATEDIR}/${PN}/:" \ - -e "/^CONFIGDIR = /s:./:${GAMES_SYSCONFDIR}/${PN}/:" \ - -e "/^OVERRIDEDIR = /s:./data/:${GAMES_DATADIR}/${PN}/data/:" \ - makefile \ - || die "sed failed" -} - -src_install() { - dogamesbin tomatoes || die "dogamesbin failed" - dodir "${GAMES_DATADIR}/${PN}" "${GAMES_STATEDIR}/${PN}" - dodoc README README-src - - cp -r tomatoes.mpk music/ "${D}${GAMES_DATADIR}/${PN}" \ - || die "failed to copy game data" - - doicon ${PN}.png - make_desktop_entry tomatoes "I Have No Tomatoes" - - touch "${D}${GAMES_STATEDIR}/${PN}/hiscore.lst" || die "touch failed" - fperms 660 "${GAMES_STATEDIR}/${PN}/hiscore.lst" - - insinto "${GAMES_SYSCONFDIR}/${PN}/" - insopts -m0640 - doins config.cfg || die "failed to copy game config" - - prepgamesdirs -} |