summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2009-11-07 17:00:48 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2009-11-07 17:00:48 +0000
commit3b5dbc87d6d65978b8f54f115df39093be4b0545 (patch)
tree899b2c98afb19afec1008096633114452874a7db /games-puzzle/ltris
parentKeywording for ppc. (diff)
downloadgentoo-2-3b5dbc87d6d65978b8f54f115df39093be4b0545.tar.gz
gentoo-2-3b5dbc87d6d65978b8f54f115df39093be4b0545.tar.bz2
gentoo-2-3b5dbc87d6d65978b8f54f115df39093be4b0545.zip
version bump
(Portage version: 2.1.6.13/cvs/Linux i686)
Diffstat (limited to 'games-puzzle/ltris')
-rw-r--r--games-puzzle/ltris/ChangeLog9
-rw-r--r--games-puzzle/ltris/ltris-1.0.13.ebuild49
2 files changed, 56 insertions, 2 deletions
diff --git a/games-puzzle/ltris/ChangeLog b/games-puzzle/ltris/ChangeLog
index 04857e2f9731..a937fd68afcf 100644
--- a/games-puzzle/ltris/ChangeLog
+++ b/games-puzzle/ltris/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for games-puzzle/ltris
-# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-puzzle/ltris/ChangeLog,v 1.24 2008/06/25 19:20:39 nixnut Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-puzzle/ltris/ChangeLog,v 1.25 2009/11/07 17:00:48 mr_bones_ Exp $
+
+*ltris-1.0.13 (07 Nov 2009)
+
+ 07 Nov 2009; Michael Sterrett <mr_bones_@gentoo.org> +ltris-1.0.13.ebuild:
+ version bump
25 Jun 2008; nixnut <nixnut@gentoo.org> ltris-1.0.12.ebuild:
Stable on ppc wrt bug 229231
diff --git a/games-puzzle/ltris/ltris-1.0.13.ebuild b/games-puzzle/ltris/ltris-1.0.13.ebuild
new file mode 100644
index 000000000000..3848dc0238ea
--- /dev/null
+++ b/games-puzzle/ltris/ltris-1.0.13.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-puzzle/ltris/ltris-1.0.13.ebuild,v 1.1 2009/11/07 17:00:48 mr_bones_ Exp $
+
+EAPI=2
+inherit autotools eutils games
+
+DESCRIPTION="very polished Tetris clone"
+HOMEPAGE="http://lgames.sourceforge.net/"
+SRC_URI="mirror://sourceforge/lgames/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+IUSE="nls"
+
+RDEPEND="media-libs/libsdl[video]
+ media-libs/sdl-mixer
+ nls? ( virtual/libintl )"
+DEPEND="${RDEPEND}
+ nls? ( sys-devel/gettext )"
+
+src_prepare() {
+ if use nls ; then
+ sed -i \
+ -e '/^localedir/s:$(datadir):/usr/share:' \
+ po/Makefile.in.in \
+ || die "sed failed"
+ sed -i \
+ -e '/^localedir/s:$datadir:/usr/share:' \
+ configure.in \
+ || die "sed failed"
+ AT_M4DIR=m4 eautoreconf
+ fi
+}
+
+src_configure() {
+ egamesconf \
+ --disable-dependency-tracking \
+ $(use_enable nls)
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ dodoc AUTHORS ChangeLog README TODO
+ newicon icons/ltris48.xpm ${PN}.xpm
+ make_desktop_entry ltris LTris
+ prepgamesdirs
+}