diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2004-04-13 09:51:29 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2004-04-13 09:51:29 +0000 |
commit | 4d9d16f05aa27f7e9b2b29200ed2e8ff22c6dd76 (patch) | |
tree | f88de156efec5e0f090424c22452fc3de9b904bd /games-board/xscrabble | |
parent | games eclass already inherits eutils (Manifest recommit) (diff) | |
download | gentoo-2-4d9d16f05aa27f7e9b2b29200ed2e8ff22c6dd76.tar.gz gentoo-2-4d9d16f05aa27f7e9b2b29200ed2e8ff22c6dd76.tar.bz2 gentoo-2-4d9d16f05aa27f7e9b2b29200ed2e8ff22c6dd76.zip |
games eclass already inherits eutils; depend on sed >= 4; error check sed; use flag tidy
Diffstat (limited to 'games-board/xscrabble')
-rw-r--r-- | games-board/xscrabble/ChangeLog | 8 | ||||
-rw-r--r-- | games-board/xscrabble/xscrabble-2.10.ebuild | 18 |
2 files changed, 17 insertions, 9 deletions
diff --git a/games-board/xscrabble/ChangeLog b/games-board/xscrabble/ChangeLog index 9362527c5a22..8be23cf68ce2 100644 --- a/games-board/xscrabble/ChangeLog +++ b/games-board/xscrabble/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for games-board/xscrabble -# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-board/xscrabble/ChangeLog,v 1.2 2003/09/10 20:22:06 vapier Exp $ +# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-board/xscrabble/ChangeLog,v 1.3 2004/04/13 09:51:28 mr_bones_ Exp $ + + 13 Apr 2004; Michael Sterrett <mr_bones_@gentoo.org> xscrabble-2.10.ebuild: + games eclass already inherits eutils; depend on sed >= 4; error check sed; use + flag tidy *xscrabble-2.10 (15 Jul 2003) diff --git a/games-board/xscrabble/xscrabble-2.10.ebuild b/games-board/xscrabble/xscrabble-2.10.ebuild index e61dc798a63b..a7f2ca8a99df 100644 --- a/games-board/xscrabble/xscrabble-2.10.ebuild +++ b/games-board/xscrabble/xscrabble-2.10.ebuild @@ -1,8 +1,8 @@ # Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-board/xscrabble/xscrabble-2.10.ebuild,v 1.2 2004/01/31 05:48:27 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-board/xscrabble/xscrabble-2.10.ebuild,v 1.3 2004/04/13 09:51:29 mr_bones_ Exp $ -inherit games eutils +inherit games DESCRIPTION="An X11 clone of the well-known Scrabble" HOMEPAGE="http://freshmeat.net/projects/xscrabble/?topic_id=80" @@ -15,13 +15,15 @@ SLOT="0" KEYWORDS="x86 amd64" IUSE="nls" -DEPEND="virtual/x11" +RDEPEND="virtual/x11" +DEPEND="${RDEPEND} + >=sys-apps/sed-4" src_unpack() { unpack ${P}.tgz cp ${DISTDIR}/xscrabble_en.tgz . - [ `use nls` ] && cp ${DISTDIR}/xscrabble_fr.tgz . + use nls && cp ${DISTDIR}/xscrabble_fr.tgz . cd ${S} epatch ${FILESDIR}/${PV}-path-fixes.patch @@ -32,12 +34,14 @@ src_compile() { } src_install() { - export DESTDIR=${D} + export DESTDIR="${D}" ./build install || die - [ `use nls` ] && { ./build lang fr || die; } + use nls && { ./build lang fr || die; } ./build lang en || die for f in ${D}/usr/X11R6/lib/X11/app-defaults/* ; do - sed -i "s:/usr/games/lib/scrabble/:${GAMES_DATADIR}/${PN}/:" ${f} + sed -i \ + -e "s:/usr/games/lib/scrabble/:${GAMES_DATADIR}/${PN}/:" ${f} \ + || die "sed ${f} failed" done dodoc CHANGES README prepgamesdirs |