summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /games-misc/fortune-mod-cs
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'games-misc/fortune-mod-cs')
-rw-r--r--games-misc/fortune-mod-cs/Manifest1
-rw-r--r--games-misc/fortune-mod-cs/fortune-mod-cs-1.6.9.ebuild39
-rw-r--r--games-misc/fortune-mod-cs/metadata.xml5
3 files changed, 45 insertions, 0 deletions
diff --git a/games-misc/fortune-mod-cs/Manifest b/games-misc/fortune-mod-cs/Manifest
new file mode 100644
index 000000000000..14edfee24a6a
--- /dev/null
+++ b/games-misc/fortune-mod-cs/Manifest
@@ -0,0 +1 @@
+DIST fortune-cs-1.6.9.tar.bz2 390766 SHA256 5a73b66071635b1213e61c18f68eeca70e16aa5c18bdcfdf33f580722e46ea7d SHA512 4df546eb450edc1de6bb80f788e29fa4aad6050008c28ed12c4afd630533416f3367c09b43ae098329160a19bebfb28ec56ebb730358689d260709a27317b20c WHIRLPOOL b69dbbf4c1516584bc75a4a378f434ed2da37a4bd0a34749029297b35882a2240a6a8521dce3148d7feeda98a8620854709febce3deef7772aa59d3ed73b420a
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
new file mode 100644
index 000000000000..e40d12bbdcd1
--- /dev/null
+++ b/games-misc/fortune-mod-cs/fortune-mod-cs-1.6.9.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI=5
+DESCRIPTION="Database of the Czech and Slovak cookies for the fortune(6) program"
+HOMEPAGE="http://ftp.fi.muni.cz/pub/linux/people/zdenek_pytela/"
+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 ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
+IUSE="unicode"
+
+RDEPEND="games-misc/fortune-mod"
+DEPEND="${RDEPEND}
+ unicode? ( virtual/libiconv )"
+
+S=${WORKDIR}/${P/-mod/}
+
+src_prepare() {
+ rm -f LICENSE install.sh fortune-cs.* *xpm
+}
+
+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
+}
+
+src_install() {
+ insinto /usr/share/fortune/cs
+ doins [[:lower:]]*
+ dodoc [[:upper:]]*
+}
diff --git a/games-misc/fortune-mod-cs/metadata.xml b/games-misc/fortune-mod-cs/metadata.xml
new file mode 100644
index 000000000000..d3c2cc926f0b
--- /dev/null
+++ b/games-misc/fortune-mod-cs/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>games</herd>
+</pkgmetadata>