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-slackware
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-slackware')
-rw-r--r--games-misc/fortune-mod-slackware/Manifest1
-rw-r--r--games-misc/fortune-mod-slackware/fortune-mod-slackware-1.15.ebuild39
-rw-r--r--games-misc/fortune-mod-slackware/metadata.xml5
3 files changed, 45 insertions, 0 deletions
diff --git a/games-misc/fortune-mod-slackware/Manifest b/games-misc/fortune-mod-slackware/Manifest
new file mode 100644
index 000000000000..673304a7ccb8
--- /dev/null
+++ b/games-misc/fortune-mod-slackware/Manifest
@@ -0,0 +1 @@
+DIST slack-fortunes-all-1.15.tgz 122880 SHA256 37dcfcf5c536b3aecc8f40363d36fec0fd188d31917980075b27d1790a6afff9 SHA512 18c756b2d81d1e2f0f031c3f799c872b5e73ccd70b6df976644fcd657bd181d794b1a977a49554fe806aa595046c10f33ebea1dc70fccf5e58b8df15f3db7c3e WHIRLPOOL 797017427f611872a39d70bebd1ebdae6f5b24933c246b17c252bd4a6ff54a63919fc798b20da087a2392a3ecb880424c1775a052ea216d67e0fa614460bfce6
diff --git a/games-misc/fortune-mod-slackware/fortune-mod-slackware-1.15.ebuild b/games-misc/fortune-mod-slackware/fortune-mod-slackware-1.15.ebuild
new file mode 100644
index 000000000000..c6529174f75f
--- /dev/null
+++ b/games-misc/fortune-mod-slackware/fortune-mod-slackware-1.15.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI=5
+# this ebuild now uses the offensive flag since AOLS
+# is not exactly 'G' rated :)
+
+MY_PN=slack-fortunes-all
+DESCRIPTION="This fortune mod is a collection of quotes seen on AOLS (Slackware)"
+HOMEPAGE="http://fauxascii.com/linux/mod_quotes.html"
+SRC_URI="http://fauxascii.com/linux/data/${MY_PN}-${PV}.tgz"
+
+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="offensive"
+
+RDEPEND="games-misc/fortune-mod"
+
+S=${WORKDIR}
+
+pkg_setup() {
+ if ! use offensive ; then
+ elog "These fortunes have offensive content. Enable offensive USE Flag"
+ elog "ex: USE=\"offensive\" emerge ${PN}"
+ elog " or add to package.use file: games-misc/fortune-mod-slackware offensive"
+ die "Setting the offensive use flag is required for this package"
+ fi
+}
+
+src_prepare() {
+ # get rid of md5 checks and extraneous files and backups
+ rm -f index.* *.md5 *~
+}
+
+src_install() {
+ insinto /usr/share/fortune
+ doins *
+}
diff --git a/games-misc/fortune-mod-slackware/metadata.xml b/games-misc/fortune-mod-slackware/metadata.xml
new file mode 100644
index 000000000000..d3c2cc926f0b
--- /dev/null
+++ b/games-misc/fortune-mod-slackware/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>