diff options
author | Mike Frysinger <vapier@gentoo.org> | 2006-11-28 03:35:24 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2006-11-28 03:35:24 +0000 |
commit | 85c44f6815d0ed61ea28fb9aba92dcc7968fc834 (patch) | |
tree | 109e1b353b23e3e07bb1217cd454e48d7e29e4ba /games-arcade | |
parent | Fix logic for srvdir USE-flag, closes bug #156394 (diff) | |
download | gentoo-2-85c44f6815d0ed61ea28fb9aba92dcc7968fc834.tar.gz gentoo-2-85c44f6815d0ed61ea28fb9aba92dcc7968fc834.tar.bz2 gentoo-2-85c44f6815d0ed61ea28fb9aba92dcc7968fc834.zip |
Version bump.
(Portage version: 2.1.2_rc2-r2)
Diffstat (limited to 'games-arcade')
-rw-r--r-- | games-arcade/frozen-bubble/ChangeLog | 8 | ||||
-rw-r--r-- | games-arcade/frozen-bubble/files/digest-frozen-bubble-2.1.0 | 3 | ||||
-rw-r--r-- | games-arcade/frozen-bubble/frozen-bubble-2.1.0.ebuild | 61 |
3 files changed, 71 insertions, 1 deletions
diff --git a/games-arcade/frozen-bubble/ChangeLog b/games-arcade/frozen-bubble/ChangeLog index 3ad61da7a68d..7ecbcd7a089b 100644 --- a/games-arcade/frozen-bubble/ChangeLog +++ b/games-arcade/frozen-bubble/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for games-arcade/frozen-bubble # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-arcade/frozen-bubble/ChangeLog,v 1.24 2006/10/30 00:45:37 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-arcade/frozen-bubble/ChangeLog,v 1.25 2006/11/28 03:35:24 vapier Exp $ + +*frozen-bubble-2.1.0 (28 Nov 2006) + + 28 Nov 2006; Mike Frysinger <vapier@gentoo.org> + +frozen-bubble-2.1.0.ebuild: + Version bump. 30 Oct 2006; Mike Frysinger <vapier@gentoo.org> frozen-bubble-2.0.0.ebuild: diff --git a/games-arcade/frozen-bubble/files/digest-frozen-bubble-2.1.0 b/games-arcade/frozen-bubble/files/digest-frozen-bubble-2.1.0 new file mode 100644 index 000000000000..03877809e3fc --- /dev/null +++ b/games-arcade/frozen-bubble/files/digest-frozen-bubble-2.1.0 @@ -0,0 +1,3 @@ +MD5 f5eb984897e1ccd52a0d8820d8359861 frozen-bubble-2.1.0.tar.bz2 19886184 +RMD160 0d0b9c57aa609df48d1ea294f9f05979c8ceb279 frozen-bubble-2.1.0.tar.bz2 19886184 +SHA256 efb6b72e1d3caa414c3b6591be2208c8c39e25b296cd4af295e5ada063e3bbe3 frozen-bubble-2.1.0.tar.bz2 19886184 diff --git a/games-arcade/frozen-bubble/frozen-bubble-2.1.0.ebuild b/games-arcade/frozen-bubble/frozen-bubble-2.1.0.ebuild new file mode 100644 index 000000000000..f899797aebd8 --- /dev/null +++ b/games-arcade/frozen-bubble/frozen-bubble-2.1.0.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-arcade/frozen-bubble/frozen-bubble-2.1.0.ebuild,v 1.1 2006/11/28 03:35:24 vapier Exp $ + +inherit eutils multilib perl-module games + +DESCRIPTION="A Puzzle Bubble clone written in perl (now with network support)" +HOMEPAGE="http://www.frozen-bubble.org/" +SRC_URI="http://www.frozen-bubble.org/data/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~sparc ~x86" +IUSE="" + +RDEPEND=">=dev-lang/perl-5.6.1 + >=media-libs/sdl-mixer-1.2.3 + media-libs/sdl-pango + dev-perl/sdl-perl + dev-perl/Locale-gettext" +DEPEND="${RDEPEND} + sys-devel/autoconf" + +pkg_setup() { + if ! built_with_use -a media-libs/sdl-image gif png ; then + ewarn "Frozen-bubble uses GIF and PNG image files." + ewarn "You must emerge media-libs/sdl-image with GIF and PNG support." + ewarn "Please USE=\"gif png\" emerge media-libs/sdl-image" + die "Cannot emerge without gif and png USE flags on sdl-image" + fi + if ! built_with_use media-libs/sdl-mixer mikmod ; then + ewarn "You must emerge media-libs/sdl-mixer with mikmod support." + ewarn " USE=mikmod emerge media-libs/sdl-mixer" + die "missing mikmod USE flag for sdl-mixer" + fi + games_pkg_setup +} + +src_unpack() { + unpack ${A} + cd "${S}" + sed -i \ + -e '/^PREFIX /s:=.*:=/usr:' \ + -e "/^BINDIR /s:=.*:=${GAMES_BINDIR}:" \ + -e "/^DATADIR /s:=.*:=${GAMES_DATADIR}:" \ + -e "/^LIBDIR /s:=.*:=${GAMES_LIBDIR}:" \ + -e '/^LOCALEDIR /s:=.*:=/usr/share/locale:' \ + -e "/^MANDIR /s:=.*:=/usr/share/man:" \ + settings.mk || die "sed failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "make install failed" + dosed /usr/games/bin/frozen-bubble + dodoc AUTHORS NEWS README TIPS + newicon icons/frozen-bubble-icon-48x48.png ${PN}.png + make_desktop_entry ${PN} ${PN} ${PN}.png + + fixlocalpod + prepgamesdirs +} |