From: Frank Brehm Date: Thu, 12 Aug 2010 05:53:46 +0000 (+0000) Subject: ebuild games-misc/fortune-mod-fvl dazu, Korrektur an fortune-mod-de/fortune-mod-de X-Git-Url: https://git.uhu-banane.net/?a=commitdiff_plain;h=9157919d03c693595a89f924f9c93ff5c83b0dee;p=portage.git ebuild games-misc/fortune-mod-fvl dazu, Korrektur an fortune-mod-de/fortune-mod-de git-svn-id: http://svn.brehm-online.com/svn/portage@92 18afd0d2-9f2f-0410-a0ac-b8d70fd81a6b --- diff --git a/games-misc/fortune-mod-de/Manifest b/games-misc/fortune-mod-de/Manifest index 0d3df91..1ad1162 100644 --- a/games-misc/fortune-mod-de/Manifest +++ b/games-misc/fortune-mod-de/Manifest @@ -1,2 +1,3 @@ DIST fortunes-de_0.25.orig.tar.gz 1036718 RMD160 66bfa797166bd554e8af6aca95f35e782ab5b399 SHA1 47ed1f3be3c30568debe6b97272a9181acb817ef SHA256 38eb10f59915af6517b73da3b95902c7d56edb41bfcad06ce249a446e3622ab4 -EBUILD fortune-mod-de-0.25.ebuild 3448 RMD160 9a2e109aff8229b60980271fee138b68c9d6e347 SHA1 008bf79d138ad1b48464c1e991b609fecabaf19f SHA256 117c87ab305c1d2821ca4db7f07186e397cf60e333f01944a1cf24c3e363c36a +EBUILD fortune-mod-de-0.25.ebuild 3349 RMD160 1a3f56c75c1c646d108f79f05a2fc616fc5b74f1 SHA1 b233ed237256a60c61c8d95786d6726c97036de2 SHA256 494440301a4376309af7ce4e0d171eefd8df863753fe0ca7aa5e198e2b24b806 +MISC metadata.xml 159 RMD160 9ce79fb2f245a86f0fd9896ef34c65b6dc2a97bf SHA1 e8d4e28f664e8bd524cb04b5077852adc2f57d90 SHA256 a222ada7640e6dfb21d27151813829e91a72a6878d809dfddaa41581455f6b69 diff --git a/games-misc/fortune-mod-de/fortune-mod-de-0.25.ebuild b/games-misc/fortune-mod-de/fortune-mod-de-0.25.ebuild index 836f7db..1376814 100644 --- a/games-misc/fortune-mod-de/fortune-mod-de-0.25.ebuild +++ b/games-misc/fortune-mod-de/fortune-mod-de-0.25.ebuild @@ -19,12 +19,6 @@ DEPEND="${RDEPEND} S=${WORKDIR}/fortunes-de-${PV} -#src_unpack() { -# unpack ${A} -# cd "${S}" -# rm -f install.sh -#} - src_compile() { cd ${S} @@ -39,8 +33,6 @@ src_compile() { # convert to UTF-8 iconv --from-code latin1 --to-code utf8 -o"${dat}.utf8" "${dat}" mv "${dat}.utf8" "${dat}" - # Create file with extension *.u8 to give fortune binary a hint to this encoding -# ln -s "${base}" "${dat}".u8 fi strfile -s "${dat}" } @@ -132,8 +124,9 @@ src_install() { dosed "s/iso-8859-1/utf-8/g" usr/bin/spruch cd ${S} + # Create file with extension *.u8 to give fortune binary a hint to this encoding for f in $( ls -1 dat | grep -v ".dat$" ) ; do - einfo "Linking '${f}' ..." + echo "Linking '${f}' ..." dosym ${f} /usr/share/fortune/de/${f}.u8 done fi diff --git a/games-misc/fortune-mod-de/metadata.xml b/games-misc/fortune-mod-de/metadata.xml new file mode 100644 index 0000000..cad5a2a --- /dev/null +++ b/games-misc/fortune-mod-de/metadata.xml @@ -0,0 +1,5 @@ + + + + games + diff --git a/games-misc/fortune-mod-fvl/ChangeLog b/games-misc/fortune-mod-fvl/ChangeLog new file mode 100644 index 0000000..78d59ff --- /dev/null +++ b/games-misc/fortune-mod-fvl/ChangeLog @@ -0,0 +1,54 @@ +# ChangeLog for games-misc/fortune-mod-fvl +# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-misc/fortune-mod-fvl/ChangeLog,v 1.12 2006/07/19 19:48:35 flameeyes Exp $ + + 12 Augusr 2010; Frank Brehm + fortune-mod-fvl-20030120-r1.ebuild: + Revision bump + Using use flag 'unicode' + + 19 Jul 2006; Diego Pettenò + fortune-mod-fvl-20030120.ebuild: + Add ~x86-fbsd keyword + + 08 Jul 2006; Markus Rothe + fortune-mod-fvl-20030120.ebuild: + Stable on ppc64 + + 24 May 2006; Michael Hanselmann + fortune-mod-fvl-20030120.ebuild: + Stable on x86. + + 23 Dec 2005; Michael Hanselmann + fortune-mod-fvl-20030120.ebuild: + Stable on sparc. + + 16 Sep 2005; Ciaran McCreesh ChangeLog: + Converted to UTF-8, fixed encoding screwups + + 31 Jul 2005; Markus Rothe + fortune-mod-fvl-20030120.ebuild: + Added ~ppc64 (bug #100217) + + 29 Dec 2004; Joseph Jezak + fortune-mod-fvl-20030120.ebuild: + Marked ppc stable. + + 07 Nov 2004; Michael Hanselmann + fortune-mod-fvl-20030120.ebuild: + Added to ~sparc. + + 19 Oct 2004; Bryan Østergaard + fortune-mod-fvl-20030120.ebuild: + Alpha keyword, bug 67731. + + 16 Oct 2004; Guy Martin fortune-mod-fvl-20030120.ebuild: + Stable on hppa. + +*fortune-mod-fvl-20030120 (07 Oct 2004) + + 07 Oct 2004; Michael Hanselmann + +fortune-mod-fvl-20030120.ebuild: + Initial import. Thanks to René Nussbaumer for + providing the ebuild. + diff --git a/games-misc/fortune-mod-fvl/Manifest b/games-misc/fortune-mod-fvl/Manifest new file mode 100644 index 0000000..0864802 --- /dev/null +++ b/games-misc/fortune-mod-fvl/Manifest @@ -0,0 +1,4 @@ +DIST fortune-mod-fvl-20030120.tar.gz 66081 RMD160 bfd6285aab06f200a376f9502cf699f3c3948c3a SHA1 80775d642ff7bcdc26ccee564ac637917b99dad5 SHA256 fbbfc56d33d5bb177c0d051ecdfd90736f5306a2855c02fd53fb69ed95e5ebe6 +EBUILD fortune-mod-fvl-20030120-r1.ebuild 1190 RMD160 eb3fe6d8f432c80d3d9a094c36f18807adeb1606 SHA1 08c6e89464d26f99e705ac92559aceafbcd43795 SHA256 70e8eaf6e253f981d228ec4da527bb258d0fb8914f95fbf01f290c993eeca6f2 +MISC ChangeLog 1685 RMD160 77f7781b98e740fd73a83d1c52aab0f92d52c47f SHA1 f93244ae6be25a64d81d10d8cda9b99e1e75cdf1 SHA256 43bee48ad51d6ba6290efeac3c3d834ef74b962218c8913bd6bed624e7691217 +MISC metadata.xml 159 RMD160 9ce79fb2f245a86f0fd9896ef34c65b6dc2a97bf SHA1 e8d4e28f664e8bd524cb04b5077852adc2f57d90 SHA256 a222ada7640e6dfb21d27151813829e91a72a6878d809dfddaa41581455f6b69 diff --git a/games-misc/fortune-mod-fvl/fortune-mod-fvl-20030120-r1.ebuild b/games-misc/fortune-mod-fvl/fortune-mod-fvl-20030120-r1.ebuild new file mode 100644 index 0000000..b7e829a --- /dev/null +++ b/games-misc/fortune-mod-fvl/fortune-mod-fvl-20030120-r1.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-misc/fortune-mod-fvl/fortune-mod-fvl-20030120.ebuild,v 1.11 2006/07/19 19:48:35 flameeyes Exp $ + +DESCRIPTION="Quotes from Felix von Leitner (fefe)" +HOMEPAGE="http://fortune-mod-fvl.sourceforge.net/" +SRC_URI="mirror://sourceforge/fortune-mod-fvl/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="alpha amd64 arm hppa ia64 m68k mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd" +IUSE="unicode" + +RDEPEND="games-misc/fortune-mod" +DEPEND="${RDEPEND} + unicode? ( virtual/libiconv )" + +src_compile() { + cd ${S} + if use unicode ; then + for f in fvl fvl_vendor; do + iconv --from-code latin1 --to-code utf8 -o${f}.utf8 ${f} + mv ${f}.utf8 ${f} + done + fi + for f in fvl fvl_vendor; do + rm -f ${f}.dat + strfile -s ${f} + done +} + +src_install() { + insinto /usr/share/fortune/de + doins fvl fvl.dat fvl_vendor fvl_vendor.dat || die + dodoc ChangeLog README + if use unicode ; then + cd ${S} + # Create file with extension *.u8 to give fortune binary a hint to this encoding + for f in fvl fvl_vendor; do + dosym ${f} /usr/share/fortune/de/${f}.u8 + done + fi +} diff --git a/games-misc/fortune-mod-fvl/metadata.xml b/games-misc/fortune-mod-fvl/metadata.xml new file mode 100644 index 0000000..cad5a2a --- /dev/null +++ b/games-misc/fortune-mod-fvl/metadata.xml @@ -0,0 +1,5 @@ + + + + games +