diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2005-05-15 21:17:06 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2005-05-15 21:17:06 +0000 |
commit | c54d0b47fdfae3a685f6b82114995f16f23cf965 (patch) | |
tree | 605a19b736a5f1a73764f7c7374820cbb1b6b8c5 /games-kids | |
parent | Stable on x86. (diff) | |
download | gentoo-2-c54d0b47fdfae3a685f6b82114995f16f23cf965.tar.gz gentoo-2-c54d0b47fdfae3a685f6b82114995f16f23cf965.tar.bz2 gentoo-2-c54d0b47fdfae3a685f6b82114995f16f23cf965.zip |
use toolchain-funcs; tidy
(Portage version: 2.0.51.19)
Diffstat (limited to 'games-kids')
-rw-r--r-- | games-kids/gtans/ChangeLog | 7 | ||||
-rw-r--r-- | games-kids/gtans/gtans-1.2.ebuild | 22 |
2 files changed, 15 insertions, 14 deletions
diff --git a/games-kids/gtans/ChangeLog b/games-kids/gtans/ChangeLog index 66398ed862d0..fc24267d793c 100644 --- a/games-kids/gtans/ChangeLog +++ b/games-kids/gtans/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for games-kids/gtans -# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-kids/gtans/ChangeLog,v 1.3 2004/11/05 04:50:35 josejx Exp $ +# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-kids/gtans/ChangeLog,v 1.4 2005/05/15 21:17:06 mr_bones_ Exp $ + + 15 May 2005; Michael Sterrett <mr_bones_@gentoo.org> gtans-1.2.ebuild: + use toolchain-funcs; tidy 05 Nov 2004; Joseph Jezak <josejx@gentoo.org> gtans-1.2.ebuild: Added ~ppc. diff --git a/games-kids/gtans/gtans-1.2.ebuild b/games-kids/gtans/gtans-1.2.ebuild index 927a8c3efedd..c664cde7b12f 100644 --- a/games-kids/gtans/gtans-1.2.ebuild +++ b/games-kids/gtans/gtans-1.2.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2004 Gentoo Foundation +# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-kids/gtans/gtans-1.2.ebuild,v 1.6 2004/11/05 04:50:35 josejx Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-kids/gtans/gtans-1.2.ebuild,v 1.7 2005/05/15 21:17:06 mr_bones_ Exp $ -inherit games gcc +inherit toolchain-funcs games DESCRIPTION="The Tangram is a chinese puzzle of shapes" HOMEPAGE="http://gtans.sourceforge.net/" @@ -10,36 +10,34 @@ SRC_URI="mirror://sourceforge/gtans/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="x86 amd64 ~ppc" +KEYWORDS="amd64 ~ppc x86" IUSE="nls" -RDEPEND="virtual/x11 +DEPEND="virtual/x11 >=x11-libs/gtk+-1.2.1 dev-libs/glib nls? ( sys-devel/gettext )" -DEPEND="${RDEPEND} - >=sys-apps/sed-4" src_unpack() { unpack ${A} - cd ${S} + cd "${S}" if ! use nls ; then sed -i \ -e "/\(TGTXT\| po\)/ s/^/#/" \ - -e "/^CC/ s:=.*:= $(gcc-getCC):" \ + -e "/^CC/ s:=.*:= $(tc-getCC):" \ -e "/misc/ s/PREFIX.*/install/" \ -e "/^CFLG[ ]*=/ s:=.*:= ${CFLAGS}:" makefile \ - || die "sed makefile failed" + || die "sed failed" fi sed -i \ -e "s:/share::" \ -e "/^PREFIX/ s:usr:usr/share:" misc/Makefile \ - || die "sed misc/Makefile failed" + || die "sed failed" } src_install() { - make DESTDIR=${D} install || die "make install failed" + make DESTDIR="${D}" install || die "make install failed" dodoc AUTHORS HISTORY prepgamesdirs } |