diff options
Diffstat (limited to 'games-arcade/pacmanarena/pacmanarena-0.15.ebuild')
-rw-r--r-- | games-arcade/pacmanarena/pacmanarena-0.15.ebuild | 50 |
1 files changed, 24 insertions, 26 deletions
diff --git a/games-arcade/pacmanarena/pacmanarena-0.15.ebuild b/games-arcade/pacmanarena/pacmanarena-0.15.ebuild index 80b9fefdea73..6b933d5ae4d1 100644 --- a/games-arcade/pacmanarena/pacmanarena-0.15.ebuild +++ b/games-arcade/pacmanarena/pacmanarena-0.15.ebuild @@ -1,25 +1,25 @@ -# Copyright 1999-2006 Gentoo Foundation +# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-arcade/pacmanarena/pacmanarena-0.15.ebuild,v 1.12 2006/12/01 20:32:47 wolf31o2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-arcade/pacmanarena/pacmanarena-0.15.ebuild,v 1.13 2007/02/14 10:46:34 nyhm Exp $ -inherit games +inherit eutils games DESCRIPTION="a Pacman clone in full 3D with a few surprises. Rockets, bombs and explosions abound." -HOMEPAGE="http://sourceforge.net/projects/pacmanarena/" -SRC_URI="mirror://sourceforge/pacmanarena/pacman-arena-${PV}.tar.bz2 - mirror://sourceforge/pacmanarena/pacman-data-0.0.zip" +HOMEPAGE="http://pacmanarena.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/pacman-arena-${PV}.tar.bz2 + mirror://sourceforge/${PN}/pacman-data-0.0.zip" LICENSE="GPL-2" SLOT="0" KEYWORDS="alpha amd64 x86" -IUSE="vorbis" +IUSE="" RDEPEND="virtual/opengl - >=media-libs/sdl-mixer-1.2.4 - >=media-libs/sdl-net-1.2.4 - vorbis? ( media-libs/libvorbis )" + virtual/glu + media-libs/libsdl + media-libs/sdl-mixer + media-libs/sdl-net" DEPEND="${RDEPEND} - x11-libs/libXt app-arch/unzip" S=${WORKDIR}/pacman @@ -31,23 +31,21 @@ src_unpack() { sed -i \ -e "/^CFLAGS/ s:pacman:${PN}:" \ - Makefile.in || die "sed file.h failed" + -e '1i CC=@CC@' \ + Makefile.in \ + || die "sed Makefile.in failed" + sed -i \ + -e '/CFLAGS/s:-g::' \ + configure \ + || die "sed configure failed" } src_install() { - newgamesbin pacman pacmanarena || die "newgamesbin failed" - dodir ${GAMES_DATADIR}/${PN} - cp -r gfx/ sfx/ ${D}${GAMES_DATADIR}/${PN} || die "cp failed" - dodoc README || die "dodoc failed" + newgamesbin pacman ${PN} || die "newgamesbin failed" + insinto "${GAMES_DATADIR}"/${PN} + doins -r gfx sfx || die "doins failed" + newicon gfx/pacman_arena1.tga ${PN}.tga + make_desktop_entry ${PN} "Pacman Arena" /usr/share/pixmaps/${PN}.tga + dodoc README prepgamesdirs } - -pkg_postinst() { - games_pkg_postinst - if ! use vorbis ; then - echo - ewarn "You need vorbis in your USE var and sdl components build" - ewarn "with vorbis to have sound." - echo - fi -} |