diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2003-11-13 07:21:37 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2003-11-13 07:21:37 +0000 |
commit | e9ddbab61d8a7fc95eb2e80876abf79931be8382 (patch) | |
tree | 7c529ecc6b8e5bf9ff9f00491db4a8da971f44c8 /games-board/daemonshogi/daemonshogi-0.1.3.ebuild | |
parent | version bump (diff) | |
download | gentoo-2-e9ddbab61d8a7fc95eb2e80876abf79931be8382.tar.gz gentoo-2-e9ddbab61d8a7fc95eb2e80876abf79931be8382.tar.bz2 gentoo-2-e9ddbab61d8a7fc95eb2e80876abf79931be8382.zip |
fix the .po file for gettext-12 (bug 33347); more error checking/messages
Diffstat (limited to 'games-board/daemonshogi/daemonshogi-0.1.3.ebuild')
-rw-r--r-- | games-board/daemonshogi/daemonshogi-0.1.3.ebuild | 25 |
1 files changed, 19 insertions, 6 deletions
diff --git a/games-board/daemonshogi/daemonshogi-0.1.3.ebuild b/games-board/daemonshogi/daemonshogi-0.1.3.ebuild index a880ac5eff5b..cfc7d6d9051c 100644 --- a/games-board/daemonshogi/daemonshogi-0.1.3.ebuild +++ b/games-board/daemonshogi/daemonshogi-0.1.3.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-board/daemonshogi/daemonshogi-0.1.3.ebuild,v 1.1 2003/09/10 17:46:27 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-board/daemonshogi/daemonshogi-0.1.3.ebuild,v 1.2 2003/11/13 07:21:35 mr_bones_ Exp $ inherit games @@ -8,21 +8,34 @@ DESCRIPTION="A GTK+ based, simple shogi (Japanese chess) program" HOMEPAGE="http://www.users.yun.co.jp/~tokita/daemonshogi/" SRC_URI="http://www.users.yun.co.jp/~tokita/daemonshogi/${P}.tar.gz" +KEYWORDS="x86 ppc sparc" LICENSE="GPL-2 LGPL-2" SLOT="0" -KEYWORDS="x86 ppc sparc" + IUSE="nls" -DEPEND="gnome-base/gnome-libs" +DEPEND="gnome-base/gnome-libs + >=sys-apps/sed-4" RDEPEND="nls? ( >=sys-devel/gettext-0.10.38 )" +src_unpack() { + unpack ${A} + cd ${S} + + # fix the .po file for gettext-12 (bug 33347) + sed -i \ + -e 's/ENCODING/8bit/' \ + -e 's/CHARSET/EUC-JP/' po/ja.po || \ + die "sed po/ja.po failed" +} + src_compile() { egamesconf `use_enable nls` || die - emake || die + emake || die "emake failed" } src_install() { - egamesinstall || die - dodoc ChangeLog README* NEWS + egamesinstall || die + dodoc ChangeLog README* NEWS || die "dodoc failed" prepgamesdirs } |