diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2007-03-14 16:52:04 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2007-03-14 16:52:04 +0000 |
commit | 3526e54ca50b0310d32c57bf2ab6a9f4dafd6d3e (patch) | |
tree | 3ff4a0d1aefe674687165efffdc8f462c46c8de0 /games-misc | |
parent | Version bump. (diff) | |
download | gentoo-2-3526e54ca50b0310d32c57bf2ab6a9f4dafd6d3e.tar.gz gentoo-2-3526e54ca50b0310d32c57bf2ab6a9f4dafd6d3e.tar.bz2 gentoo-2-3526e54ca50b0310d32c57bf2ab6a9f4dafd6d3e.zip |
unicode support with patch from Pedro Alvarez via bug #149169
(Portage version: 2.1.2.2)
Diffstat (limited to 'games-misc')
-rw-r--r-- | games-misc/fortune-mod-cs/ChangeLog | 8 | ||||
-rw-r--r-- | games-misc/fortune-mod-cs/fortune-mod-cs-1.6.9.ebuild | 12 |
2 files changed, 15 insertions, 5 deletions
diff --git a/games-misc/fortune-mod-cs/ChangeLog b/games-misc/fortune-mod-cs/ChangeLog index 69ea909a171c..a827d16ad7f9 100644 --- a/games-misc/fortune-mod-cs/ChangeLog +++ b/games-misc/fortune-mod-cs/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for games-misc/fortune-mod-cs -# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-misc/fortune-mod-cs/ChangeLog,v 1.6 2006/07/19 19:44:00 flameeyes Exp $ +# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-misc/fortune-mod-cs/ChangeLog,v 1.7 2007/03/14 16:52:04 mr_bones_ Exp $ + + 14 Mar 2007; Michael Sterrett <mr_bones_@gentoo.org> + fortune-mod-cs-1.6.9.ebuild: + unicode support with patch from Pedro Alvarez via bug #149169 19 Jul 2006; Diego Pettenò <flameeyes@gentoo.org> fortune-mod-cs-1.6.9.ebuild: diff --git a/games-misc/fortune-mod-cs/fortune-mod-cs-1.6.9.ebuild b/games-misc/fortune-mod-cs/fortune-mod-cs-1.6.9.ebuild index bdc43c873a9c..f596e09d85b6 100644 --- a/games-misc/fortune-mod-cs/fortune-mod-cs-1.6.9.ebuild +++ b/games-misc/fortune-mod-cs/fortune-mod-cs-1.6.9.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2006 Gentoo Foundation +# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-misc/fortune-mod-cs/fortune-mod-cs-1.6.9.ebuild,v 1.7 2006/07/19 19:44:00 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-misc/fortune-mod-cs/fortune-mod-cs-1.6.9.ebuild,v 1.8 2007/03/14 16:52:04 mr_bones_ Exp $ DESCRIPTION="Database of the Czech and Slovak cookies for the fortune(6) program" HOMEPAGE="http://ftp.fi.muni.cz/pub/linux/people/zdenek_pytela/" @@ -9,9 +9,11 @@ SRC_URI="http://ftp.fi.muni.cz/pub/linux/people/zdenek_pytela/${P/-mod/}.tar.bz2 LICENSE="GPL-2" SLOT="0" KEYWORDS="alpha amd64 arm hppa ia64 m68k mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd" -IUSE="" +IUSE="unicode" RDEPEND="games-misc/fortune-mod" +DEPEND="${RDEPEND} + unicode? ( virtual/libiconv )" S=${WORKDIR}/${P/-mod/} @@ -24,6 +26,10 @@ src_unpack() { src_compile() { local f for f in [[:lower:]]* ; do + if use unicode ; then + iconv --from-code iso-8859-2 --to-code utf8 -o${f}.utf8 ${f} + mv ${f}.utf8 ${f} + fi strfile -s ${f} || die "strfile ${f} failed" done } |