-DIST fortunes-de_0.25.orig.tar.gz 1036718 RMD160 66bfa797166bd554e8af6aca95f35e782ab5b399 SHA1 47ed1f3be3c30568debe6b97272a9181acb817ef SHA256 38eb10f59915af6517b73da3b95902c7d56edb41bfcad06ce249a446e3622ab4
-EBUILD fortune-mod-de-0.25.ebuild 3349 RMD160 1a3f56c75c1c646d108f79f05a2fc616fc5b74f1 SHA1 b233ed237256a60c61c8d95786d6726c97036de2 SHA256 494440301a4376309af7ce4e0d171eefd8df863753fe0ca7aa5e198e2b24b806
-MISC metadata.xml 384 RMD160 15dfd1e0f25ff00043c2c38dbb94f481d493caba SHA1 cc06d759a658ea8aa83c2f2857dd678edab10cb3 SHA256 6d50e4a16e5a69fff97791fefbd10e81ee279f3399ec0033fda84012fb3a1f9c
+DIST fortunes-de_0.31.orig.tar.gz 1058884 SHA256 1cdab11479ff5723e385345a5b20109b0a2ad2e275afa6cbcbbce029ecfbb91a SHA512 0aa437656fd60d8ae9c96215df0b806b61ee6769e0fd0a613e4dbce1b09d02ea55b9e77052f3b89f32064b78c65f8abcaa416f047237f77bab4a4c0b950a03e1 WHIRLPOOL 151ffd88d79e1ecc547672f52b1271908b7e52151c1a63eb2cb4f649ee15df808a3bf13368b45bd73502163d6d59d8d906bcc2048d87ea5da675511b0da18ce7
+EBUILD fortune-mod-de-0.31.ebuild 3349 SHA256 494440301a4376309af7ce4e0d171eefd8df863753fe0ca7aa5e198e2b24b806 SHA512 e0d72128227c5fb1636dfb21ba15533d7bc3cd3e673fc8f3b79b4fd70626f7dbcd92787e278251ad18914beaef7ad0528bf2a4424f3042a76c4ba19c1110b8c2 WHIRLPOOL 9e38b07fd460f39efd0e87f47b7469b9847109a10efdad7fd93013a82a7b73229cd561666043ca3ba004c2511305c0bdccad64af6670a5b8af45ba3ba81ff3a9
+MISC metadata.xml 384 SHA256 6d50e4a16e5a69fff97791fefbd10e81ee279f3399ec0033fda84012fb3a1f9c SHA512 b524987a3181d5150db6ae98736bc72256c2700346544a786ec100aa2ceec2eae0746e774a4bad8d7b071fb9f88337f419632e072f12891bda95a1f23ce13202 WHIRLPOOL 56ce07be2e15b49cd041fafa66a091d1c216443e5f90f7411d57629116d51880eb399abc5039fbb76412ce28002ee08a585a19c2eae3adae056e1c99959f23ae
+++ /dev/null
-# 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 $
-
-S=${WORKDIR}/fortunes-de-${PV}
-
-DESCRIPTION="German Quotes for fortune"
-HOMEPAGE="http://packages.debian.org/source/lenny/fortunes-de/"
-SRC_URI="http://ftp.de.debian.org/debian/pool/main/f/fortunes-de/fortunes-de_${PV}.orig.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 )"
-
-S=${WORKDIR}/fortunes-de-${PV}
-
-src_compile() {
-
- cd ${S}
-
- str_it() {
-
- base="$( basename $1 )"
- dat="dat/${base}"
- echo " ${base}"
- cp -a -f "$1" "${dat}"
- if use unicode ; then
- # convert to UTF-8
- iconv --from-code latin1 --to-code utf8 -o"${dat}.utf8" "${dat}"
- mv "${dat}.utf8" "${dat}"
- fi
- strfile -s "${dat}"
- }
-
- mkdir dat tmp
- for DIR in dat tmp ; do
- if [ ! -d ${DIR} ] ; then
- mkdir "${DIR}"
- fi
- done
-
- echo "Erstelle Fortune-Datenfiles ..."
-
- ### Databases
- FORTUNES=`find data -maxdepth 1 -type f | sed "s?data/??"`
- FORTUNESMORE=`find data-more -maxdepth 1 -type f | sed "s?data-more/??"`
- DIRS=`find data -maxdepth 1 -type d | sed "s?data/??" | sed "/data/d"`
-
- ### Rezepte
- REZEPTE=`find rezepte -maxdepth 1 -type d | sed "s?rezepte/??" | sed "/rezepte/d"`
- REZEPTTMP=rezept.tmp.$$
-
- # nicht veränderte Datenfiles
- for spruch in $FORTUNES; do
- str_it data/$spruch
- done
-
- # Ungeprüfte und unsortierte Datenfiles
- for spruch in $FORTUNESMORE; do
- str_it data-more/$spruch
- done
-
- # Datenfiles, die einzeln besser pflegbar sind, aber zu einem
- # Fortune-File zusammengefaßt werden
- for dir in $DIRS; do
- cat $( find data/$dir -type f | sort ) > tmp/$dir
- str_it tmp/$dir
- rm -f tmp/$dir
- done
-
- # zu formatierende Daten
- cd predata
- # komische Namen
- sed "s/.*/Wie man sein Kind nicht nennen sollte: \\
- & \\
-%/" prenamen | sed "\$d" > ../tmp/namen
- # "Warmduscher"
- sed "s/.*/Hallo &!\\
-%/" prewarmduscher | sed "\$d" > ../tmp/warmduscher
- cd ..
- str_it tmp/namen
- str_it tmp/warmduscher
-
- # Rezepte
- for typ in $REZEPTE ; do
- rm -f ${REZEPTTMP}
- for rezept in $( ls rezepte/$typ | sort ); do
- cat rezepte/$typ/$rezept >> ${REZEPTTMP}
- echo "%" >> ${REZEPTTMP}
- done
- sed "\$d" ${REZEPTTMP} > tmp/$typ
- str_it tmp/$typ
- rm -f ${REZEPTTMP}
- done
-
- # Script 'spruch' anpassen
- cat bin/spruch.sh | \
- sed "s?/usr/local/share/games/fortunes?/usr/share/fortune?" | \
- sed "s?\(FORTUNEPATH=\)/usr/local/games/?\1/usr/bin/?" | \
- sed "s?/etc/locale.alias?/usr/share/locale/locale.alias?g" | \
- sed "s?dpkg-reconfigure fortunes-de?emerge --oneshot ${CATEGORY}/${PN}:${SLOT}?" \
- > bin/spruch
-
- chmod 755 bin/spruch
-
-}
-
-src_install() {
-
- insinto /usr/share/fortune/de
- doins dat/* || die
- dobin bin/spruch
- dodoc README AUTHORS NEWS LIESMICH GPL-Deutsch
- doman man/spruch.6
- doman -i18n=de man/de/spruch.6
-
- if use unicode ; then
-
- 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
- echo "Linking '${f}' ..."
- dosym ${f} /usr/share/fortune/de/${f}.u8
- done
- fi
-}
--- /dev/null
+# 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 $
+
+S=${WORKDIR}/fortunes-de-${PV}
+
+DESCRIPTION="German Quotes for fortune"
+HOMEPAGE="http://packages.debian.org/source/lenny/fortunes-de/"
+SRC_URI="http://ftp.de.debian.org/debian/pool/main/f/fortunes-de/fortunes-de_${PV}.orig.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 )"
+
+S=${WORKDIR}/fortunes-de-${PV}
+
+src_compile() {
+
+ cd ${S}
+
+ str_it() {
+
+ base="$( basename $1 )"
+ dat="dat/${base}"
+ echo " ${base}"
+ cp -a -f "$1" "${dat}"
+ if use unicode ; then
+ # convert to UTF-8
+ iconv --from-code latin1 --to-code utf8 -o"${dat}.utf8" "${dat}"
+ mv "${dat}.utf8" "${dat}"
+ fi
+ strfile -s "${dat}"
+ }
+
+ mkdir dat tmp
+ for DIR in dat tmp ; do
+ if [ ! -d ${DIR} ] ; then
+ mkdir "${DIR}"
+ fi
+ done
+
+ echo "Erstelle Fortune-Datenfiles ..."
+
+ ### Databases
+ FORTUNES=`find data -maxdepth 1 -type f | sed "s?data/??"`
+ FORTUNESMORE=`find data-more -maxdepth 1 -type f | sed "s?data-more/??"`
+ DIRS=`find data -maxdepth 1 -type d | sed "s?data/??" | sed "/data/d"`
+
+ ### Rezepte
+ REZEPTE=`find rezepte -maxdepth 1 -type d | sed "s?rezepte/??" | sed "/rezepte/d"`
+ REZEPTTMP=rezept.tmp.$$
+
+ # nicht veränderte Datenfiles
+ for spruch in $FORTUNES; do
+ str_it data/$spruch
+ done
+
+ # Ungeprüfte und unsortierte Datenfiles
+ for spruch in $FORTUNESMORE; do
+ str_it data-more/$spruch
+ done
+
+ # Datenfiles, die einzeln besser pflegbar sind, aber zu einem
+ # Fortune-File zusammengefaßt werden
+ for dir in $DIRS; do
+ cat $( find data/$dir -type f | sort ) > tmp/$dir
+ str_it tmp/$dir
+ rm -f tmp/$dir
+ done
+
+ # zu formatierende Daten
+ cd predata
+ # komische Namen
+ sed "s/.*/Wie man sein Kind nicht nennen sollte: \\
+ & \\
+%/" prenamen | sed "\$d" > ../tmp/namen
+ # "Warmduscher"
+ sed "s/.*/Hallo &!\\
+%/" prewarmduscher | sed "\$d" > ../tmp/warmduscher
+ cd ..
+ str_it tmp/namen
+ str_it tmp/warmduscher
+
+ # Rezepte
+ for typ in $REZEPTE ; do
+ rm -f ${REZEPTTMP}
+ for rezept in $( ls rezepte/$typ | sort ); do
+ cat rezepte/$typ/$rezept >> ${REZEPTTMP}
+ echo "%" >> ${REZEPTTMP}
+ done
+ sed "\$d" ${REZEPTTMP} > tmp/$typ
+ str_it tmp/$typ
+ rm -f ${REZEPTTMP}
+ done
+
+ # Script 'spruch' anpassen
+ cat bin/spruch.sh | \
+ sed "s?/usr/local/share/games/fortunes?/usr/share/fortune?" | \
+ sed "s?\(FORTUNEPATH=\)/usr/local/games/?\1/usr/bin/?" | \
+ sed "s?/etc/locale.alias?/usr/share/locale/locale.alias?g" | \
+ sed "s?dpkg-reconfigure fortunes-de?emerge --oneshot ${CATEGORY}/${PN}:${SLOT}?" \
+ > bin/spruch
+
+ chmod 755 bin/spruch
+
+}
+
+src_install() {
+
+ insinto /usr/share/fortune/de
+ doins dat/* || die
+ dobin bin/spruch
+ dodoc README AUTHORS NEWS LIESMICH GPL-Deutsch
+ doman man/spruch.6
+ doman -i18n=de man/de/spruch.6
+
+ if use unicode ; then
+
+ 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
+ echo "Linking '${f}' ..."
+ dosym ${f} /usr/share/fortune/de/${f}.u8
+ done
+ fi
+}