diff options
Diffstat (limited to 'games-arcade/ceferino/ceferino-0.97.8.ebuild')
-rw-r--r-- | games-arcade/ceferino/ceferino-0.97.8.ebuild | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/games-arcade/ceferino/ceferino-0.97.8.ebuild b/games-arcade/ceferino/ceferino-0.97.8.ebuild new file mode 100644 index 000000000000..21615df9a159 --- /dev/null +++ b/games-arcade/ceferino/ceferino-0.97.8.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit eutils games + +DESCRIPTION="Super-Pang clone (destroy bouncing balloons with your grapnel)" +HOMEPAGE="http://www.loosersjuegos.com.ar/juegos/ceferino" +SRC_URI="http://www.loosersjuegos.com.ar/juegos/ceferino/descargas/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ~ppc x86" +IUSE="nls" + +RDEPEND=">=media-libs/libsdl-1.2 + >=media-libs/sdl-image-1.2 + >=media-libs/sdl-mixer-1.2 + nls? ( virtual/libintl )" +DEPEND="${RDEPEND} + nls? ( sys-devel/gettext )" + +src_prepare() { + epatch "${FILESDIR}"/${P}-gcc44.patch + sed -i \ + -e '/^\(gnu\)\?localedir /s:= .*:= /usr/share/locale:' \ + po/Makefile.in.in \ + || die "sed failed" + sed -i \ + -e '/^INCLUDES/s:\$(datadir)/locale:/usr/share/locale:' \ + src/Makefile.in \ + || die "sed failed" +} + +src_configure() { + egamesconf $(use_enable nls) +} + +src_install() { + default + newicon data/ima/icono.png ${PN}.png + make_desktop_entry ceferino "Don Ceferino Hazaña" + prepgamesdirs +} + +pkg_postinst() { + games_pkg_postinst + if ! has_version "media-libs/sdl-mixer[mod]" ; then + ewarn + ewarn "To hear music, you will have to rebuild media-libs/sdl-mixer" + ewarn "with the \"mod\" USE flag turned on." + ewarn + fi +} |