summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-misc/fortune-mod-slackware/fortune-mod-slackware-1.15.ebuild')
-rw-r--r--games-misc/fortune-mod-slackware/fortune-mod-slackware-1.15.ebuild39
1 files changed, 39 insertions, 0 deletions
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 00000000000..c6529174f75
--- /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 *
+}