summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-misc')
-rw-r--r--games-misc/OilWar/Manifest2
-rw-r--r--games-misc/OilWar/OilWar-1.2.1-r1.ebuild56
-rw-r--r--games-misc/OilWar/metadata.xml5
-rw-r--r--games-misc/asr-manpages/Manifest2
-rw-r--r--games-misc/asr-manpages/asr-manpages-1.3_rc6.ebuild30
-rw-r--r--games-misc/asr-manpages/metadata.xml5
-rw-r--r--games-misc/bsd-games-non-free/Manifest1
-rw-r--r--games-misc/bsd-games-non-free/bsd-games-non-free-2.17.ebuild70
-rw-r--r--games-misc/bsd-games-non-free/files/config.params-gentoo39
-rw-r--r--games-misc/bsd-games-non-free/metadata.xml5
-rw-r--r--games-misc/bsd-games/Manifest2
-rw-r--r--games-misc/bsd-games/bsd-games-2.17-r5.ebuild133
-rw-r--r--games-misc/bsd-games/files/bsd-games-2.17-64bit.patch43
-rw-r--r--games-misc/bsd-games/files/bsd-games-2.17-64bitutmp.patch21
-rw-r--r--games-misc/bsd-games/files/bsd-games-2.17-bg.patch22
-rw-r--r--games-misc/bsd-games/files/bsd-games-2.17-gcc4.patch34
-rw-r--r--games-misc/bsd-games/files/bsd-games-2.17-gcc43.patch16
-rw-r--r--games-misc/bsd-games/files/bsd-games-2.17-glibc2.10.patch185
-rw-r--r--games-misc/bsd-games/files/bsd-games-2.17-headers.patch16
-rw-r--r--games-misc/bsd-games/files/config.params-gentoo39
-rw-r--r--games-misc/bsd-games/metadata.xml5
-rw-r--r--games-misc/bsod/Manifest1
-rw-r--r--games-misc/bsod/bsod-0.1.ebuild31
-rw-r--r--games-misc/bsod/files/bsod-0.1-Makefile.patch21
-rw-r--r--games-misc/bsod/metadata.xml5
-rw-r--r--games-misc/c++robots/Manifest1
-rw-r--r--games-misc/c++robots/c++robots-0.ebuild33
-rw-r--r--games-misc/c++robots/files/proper-coding.patch51
-rw-r--r--games-misc/c++robots/metadata.xml5
-rw-r--r--games-misc/cowsay/Manifest1
-rw-r--r--games-misc/cowsay/cowsay-3.03-r2.ebuild42
-rw-r--r--games-misc/cowsay/files/cowsay-3.03-mech.patch18
-rw-r--r--games-misc/cowsay/files/cowsay-3.03-tongue.patch10
-rw-r--r--games-misc/cowsay/files/cowsay-3.03-utf8.patch17
-rw-r--r--games-misc/cowsay/metadata.xml5
-rw-r--r--games-misc/doge/Manifest1
-rw-r--r--games-misc/doge/doge-3.5.0.ebuild23
-rw-r--r--games-misc/doge/metadata.xml15
-rw-r--r--games-misc/dont-starve/Manifest2
-rw-r--r--games-misc/dont-starve/dont-starve-2.ebuild62
-rw-r--r--games-misc/dont-starve/metadata.xml5
-rw-r--r--games-misc/exult-sound/Manifest4
-rw-r--r--games-misc/exult-sound/exult-sound-0.ebuild39
-rw-r--r--games-misc/exult-sound/metadata.xml8
-rw-r--r--games-misc/fortune-mod-all/fortune-mod-all-1.ebuild48
-rw-r--r--games-misc/fortune-mod-all/metadata.xml5
-rw-r--r--games-misc/fortune-mod-at-linux/Manifest1
-rw-r--r--games-misc/fortune-mod-at-linux/fortune-mod-at-linux-20030120.ebuild33
-rw-r--r--games-misc/fortune-mod-at-linux/metadata.xml8
-rw-r--r--games-misc/fortune-mod-bofh-excuses/Manifest1
-rw-r--r--games-misc/fortune-mod-bofh-excuses/fortune-mod-bofh-excuses-1.2.ebuild21
-rw-r--r--games-misc/fortune-mod-bofh-excuses/metadata.xml5
-rw-r--r--games-misc/fortune-mod-calvin/Manifest1
-rw-r--r--games-misc/fortune-mod-calvin/fortune-mod-calvin-0.1.1.ebuild19
-rw-r--r--games-misc/fortune-mod-calvin/metadata.xml5
-rw-r--r--games-misc/fortune-mod-chucknorris/Manifest1
-rw-r--r--games-misc/fortune-mod-chucknorris/fortune-mod-chucknorris-0.1.ebuild21
-rw-r--r--games-misc/fortune-mod-chucknorris/metadata.xml5
-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
-rw-r--r--games-misc/fortune-mod-debilneho/Manifest1
-rw-r--r--games-misc/fortune-mod-debilneho/fortune-mod-debilneho-0.1.ebuild22
-rw-r--r--games-misc/fortune-mod-debilneho/metadata.xml5
-rw-r--r--games-misc/fortune-mod-discworld/Manifest1
-rw-r--r--games-misc/fortune-mod-discworld/fortune-mod-discworld-0.1.ebuild23
-rw-r--r--games-misc/fortune-mod-discworld/metadata.xml5
-rw-r--r--games-misc/fortune-mod-dubya/Manifest1
-rw-r--r--games-misc/fortune-mod-dubya/fortune-mod-dubya-20050118.ebuild21
-rw-r--r--games-misc/fortune-mod-dubya/metadata.xml10
-rw-r--r--games-misc/fortune-mod-dune/Manifest1
-rw-r--r--games-misc/fortune-mod-dune/fortune-mod-dune-2.0.1.ebuild22
-rw-r--r--games-misc/fortune-mod-dune/metadata.xml5
-rw-r--r--games-misc/fortune-mod-familyguy/Manifest1
-rw-r--r--games-misc/fortune-mod-familyguy/fortune-mod-familyguy-0.2.ebuild19
-rw-r--r--games-misc/fortune-mod-familyguy/metadata.xml5
-rw-r--r--games-misc/fortune-mod-firefly/Manifest1
-rw-r--r--games-misc/fortune-mod-firefly/fortune-mod-firefly-2.1.1.ebuild21
-rw-r--r--games-misc/fortune-mod-firefly/metadata.xml5
-rw-r--r--games-misc/fortune-mod-flashrider/Manifest5
-rw-r--r--games-misc/fortune-mod-flashrider/fortune-mod-flashrider-0.25.ebuild28
-rw-r--r--games-misc/fortune-mod-flashrider/fortune-mod-flashrider-0.80.ebuild31
-rw-r--r--games-misc/fortune-mod-flashrider/fortune-mod-flashrider-0.90.ebuild32
-rw-r--r--games-misc/fortune-mod-flashrider/fortune-mod-flashrider-1.00.ebuild32
-rw-r--r--games-misc/fortune-mod-flashrider/fortune-mod-flashrider-1.10.ebuild32
-rw-r--r--games-misc/fortune-mod-flashrider/metadata.xml9
-rw-r--r--games-misc/fortune-mod-futurama/Manifest1
-rw-r--r--games-misc/fortune-mod-futurama/fortune-mod-futurama-0.2.ebuild19
-rw-r--r--games-misc/fortune-mod-futurama/metadata.xml5
-rw-r--r--games-misc/fortune-mod-fvl/Manifest1
-rw-r--r--games-misc/fortune-mod-fvl/fortune-mod-fvl-20030120.ebuild19
-rw-r--r--games-misc/fortune-mod-fvl/metadata.xml8
-rw-r--r--games-misc/fortune-mod-gentoo-dev/Manifest2
-rw-r--r--games-misc/fortune-mod-gentoo-dev/fortune-mod-gentoo-dev-20061115.ebuild26
-rw-r--r--games-misc/fortune-mod-gentoo-dev/fortune-mod-gentoo-dev-20090306.ebuild28
-rw-r--r--games-misc/fortune-mod-gentoo-dev/metadata.xml12
-rw-r--r--games-misc/fortune-mod-gentoo-forums/Manifest2
-rw-r--r--games-misc/fortune-mod-gentoo-forums/fortune-mod-gentoo-forums-20041207.ebuild29
-rw-r--r--games-misc/fortune-mod-gentoo-forums/metadata.xml5
-rw-r--r--games-misc/fortune-mod-gentoo-ru/Manifest2
-rw-r--r--games-misc/fortune-mod-gentoo-ru/fortune-mod-gentoo-ru-0.25.ebuild30
-rw-r--r--games-misc/fortune-mod-gentoo-ru/fortune-mod-gentoo-ru-0.26.ebuild30
-rw-r--r--games-misc/fortune-mod-gentoo-ru/fortune-mod-gentoo-ru-9999.ebuild35
-rw-r--r--games-misc/fortune-mod-gentoo-ru/metadata.xml16
-rw-r--r--games-misc/fortune-mod-hitchhiker/Manifest1
-rw-r--r--games-misc/fortune-mod-hitchhiker/fortune-mod-hitchhiker-0.1.ebuild23
-rw-r--r--games-misc/fortune-mod-hitchhiker/metadata.xml5
-rw-r--r--games-misc/fortune-mod-homer/Manifest1
-rw-r--r--games-misc/fortune-mod-homer/fortune-mod-homer-0.1.ebuild21
-rw-r--r--games-misc/fortune-mod-homer/metadata.xml5
-rw-r--r--games-misc/fortune-mod-humorixfortunes/Manifest1
-rw-r--r--games-misc/fortune-mod-humorixfortunes/fortune-mod-humorixfortunes-1.4-r1.ebuild23
-rw-r--r--games-misc/fortune-mod-humorixfortunes/metadata.xml5
-rw-r--r--games-misc/fortune-mod-it/Manifest1
-rw-r--r--games-misc/fortune-mod-it/fortune-mod-it-1.99.ebuild33
-rw-r--r--games-misc/fortune-mod-it/metadata.xml5
-rw-r--r--games-misc/fortune-mod-kernelcookies/Manifest1
-rw-r--r--games-misc/fortune-mod-kernelcookies/files/9-offensive.patch140
-rw-r--r--games-misc/fortune-mod-kernelcookies/fortune-mod-kernelcookies-9.ebuild33
-rw-r--r--games-misc/fortune-mod-kernelcookies/metadata.xml5
-rw-r--r--games-misc/fortune-mod-mormon/Manifest1
-rw-r--r--games-misc/fortune-mod-mormon/fortune-mod-mormon-1.1.0.ebuild26
-rw-r--r--games-misc/fortune-mod-mormon/metadata.xml9
-rw-r--r--games-misc/fortune-mod-norbert-tretkowski/Manifest1
-rw-r--r--games-misc/fortune-mod-norbert-tretkowski/fortune-mod-norbert-tretkowski-20030120.ebuild22
-rw-r--r--games-misc/fortune-mod-norbert-tretkowski/metadata.xml8
-rw-r--r--games-misc/fortune-mod-osfortune/Manifest1
-rw-r--r--games-misc/fortune-mod-osfortune/files/spelling.patch100
-rw-r--r--games-misc/fortune-mod-osfortune/fortune-mod-osfortune-1.ebuild29
-rw-r--r--games-misc/fortune-mod-osfortune/metadata.xml5
-rw-r--r--games-misc/fortune-mod-powerpuff/Manifest1
-rw-r--r--games-misc/fortune-mod-powerpuff/fortune-mod-powerpuff-0.3.ebuild22
-rw-r--r--games-misc/fortune-mod-powerpuff/metadata.xml5
-rw-r--r--games-misc/fortune-mod-pqf/Manifest1
-rw-r--r--games-misc/fortune-mod-pqf/fortune-mod-pqf-6.0.ebuild32
-rw-r--r--games-misc/fortune-mod-pqf/metadata.xml5
-rw-r--r--games-misc/fortune-mod-rss/Manifest1
-rw-r--r--games-misc/fortune-mod-rss/fortune-mod-rss-20030120.ebuild19
-rw-r--r--games-misc/fortune-mod-rss/metadata.xml8
-rw-r--r--games-misc/fortune-mod-scriptures/Manifest1
-rw-r--r--games-misc/fortune-mod-scriptures/fortune-mod-scriptures-1.1.0.ebuild22
-rw-r--r--games-misc/fortune-mod-scriptures/metadata.xml9
-rw-r--r--games-misc/fortune-mod-simpsons-chalkboard/Manifest1
-rw-r--r--games-misc/fortune-mod-simpsons-chalkboard/fortune-mod-simpsons-chalkboard-0.1.ebuild23
-rw-r--r--games-misc/fortune-mod-simpsons-chalkboard/metadata.xml5
-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
-rw-r--r--games-misc/fortune-mod-smac/Manifest1
-rw-r--r--games-misc/fortune-mod-smac/fortune-mod-smac-0.1.ebuild19
-rw-r--r--games-misc/fortune-mod-smac/metadata.xml5
-rw-r--r--games-misc/fortune-mod-sp-fortunes/Manifest1
-rw-r--r--games-misc/fortune-mod-sp-fortunes/fortune-mod-sp-fortunes-0.2.ebuild24
-rw-r--r--games-misc/fortune-mod-sp-fortunes/metadata.xml5
-rw-r--r--games-misc/fortune-mod-starwars/Manifest1
-rw-r--r--games-misc/fortune-mod-starwars/fortune-mod-starwars-0.1.ebuild23
-rw-r--r--games-misc/fortune-mod-starwars/metadata.xml5
-rw-r--r--games-misc/fortune-mod-strangelove/Manifest1
-rw-r--r--games-misc/fortune-mod-strangelove/fortune-mod-strangelove-20041203.ebuild21
-rw-r--r--games-misc/fortune-mod-strangelove/metadata.xml5
-rw-r--r--games-misc/fortune-mod-tao/Manifest1
-rw-r--r--games-misc/fortune-mod-tao/fortune-mod-tao-1.ebuild22
-rw-r--r--games-misc/fortune-mod-tao/metadata.xml5
-rw-r--r--games-misc/fortune-mod-taow/Manifest1
-rw-r--r--games-misc/fortune-mod-taow/fortune-mod-taow-1.0.ebuild22
-rw-r--r--games-misc/fortune-mod-taow/metadata.xml5
-rw-r--r--games-misc/fortune-mod-thomas-ogrisegg/Manifest1
-rw-r--r--games-misc/fortune-mod-thomas-ogrisegg/fortune-mod-thomas-ogrisegg-20030120.ebuild22
-rw-r--r--games-misc/fortune-mod-thomas-ogrisegg/metadata.xml8
-rw-r--r--games-misc/fortune-mod-woody-allen-it/Manifest1
-rw-r--r--games-misc/fortune-mod-woody-allen-it/fortune-mod-woody-allen-it-0.1.ebuild21
-rw-r--r--games-misc/fortune-mod-woody-allen-it/metadata.xml5
-rw-r--r--games-misc/fortune-mod-zx-error/Manifest1
-rw-r--r--games-misc/fortune-mod-zx-error/fortune-mod-zx-error-1.0.ebuild24
-rw-r--r--games-misc/fortune-mod-zx-error/metadata.xml5
-rw-r--r--games-misc/fortune-mod/Manifest1
-rw-r--r--games-misc/fortune-mod/files/01_all_fortune_all-fix.patch21
-rw-r--r--games-misc/fortune-mod/files/fortune-mod-1.99.1-gentoo.patch99
-rw-r--r--games-misc/fortune-mod/fortune-mod-1.99.1-r2.ebuild58
-rw-r--r--games-misc/fortune-mod/metadata.xml5
-rw-r--r--games-misc/funny-manpages/Manifest2
-rw-r--r--games-misc/funny-manpages/funny-manpages-1.3_rc5-r1.ebuild33
-rw-r--r--games-misc/funny-manpages/metadata.xml5
-rw-r--r--games-misc/gBhed/Manifest1
-rw-r--r--games-misc/gBhed/gBhed-0.17.ebuild43
-rw-r--r--games-misc/gBhed/metadata.xml5
-rw-r--r--games-misc/games-envd/games-envd-0.ebuild56
-rw-r--r--games-misc/games-envd/metadata.xml5
-rw-r--r--games-misc/ggencoder/Manifest1
-rw-r--r--games-misc/ggencoder/ggencoder-0.91a.ebuild28
-rw-r--r--games-misc/ggencoder/metadata.xml5
-rw-r--r--games-misc/gtklife/Manifest1
-rw-r--r--games-misc/gtklife/files/gtklife-5.1-link.patch20
-rw-r--r--games-misc/gtklife/gtklife-5.1.ebuild45
-rw-r--r--games-misc/gtklife/metadata.xml5
-rw-r--r--games-misc/katawa-shoujo/Manifest3
-rw-r--r--games-misc/katawa-shoujo/katawa-shoujo-1.3.ebuild87
-rw-r--r--games-misc/katawa-shoujo/metadata.xml31
-rw-r--r--games-misc/little-inferno/Manifest1
-rw-r--r--games-misc/little-inferno/little-inferno-20130509.ebuild76
-rw-r--r--games-misc/little-inferno/metadata.xml8
-rw-r--r--games-misc/lolcat/Manifest1
-rw-r--r--games-misc/lolcat/files/lolcat-42.1.0-paint.patch11
-rw-r--r--games-misc/lolcat/lolcat-42.1.0.ebuild27
-rw-r--r--games-misc/lolcat/metadata.xml8
-rw-r--r--games-misc/lucidlife/Manifest1
-rw-r--r--games-misc/lucidlife/files/lucidlife-0.9.2-gnome-vfs.patch70
-rw-r--r--games-misc/lucidlife/files/lucidlife-0.9.2-underlink.patch11
-rw-r--r--games-misc/lucidlife/lucidlife-0.9.2.ebuild39
-rw-r--r--games-misc/lucidlife/metadata.xml10
-rw-r--r--games-misc/metadata.xml39
-rw-r--r--games-misc/nyancat/Manifest1
-rw-r--r--games-misc/nyancat/metadata.xml8
-rw-r--r--games-misc/nyancat/nyancat-1.2.1.ebuild25
-rw-r--r--games-misc/opengfx/Manifest2
-rw-r--r--games-misc/opengfx/files/opengfx-0.5.1-gcc48.patch16
-rw-r--r--games-misc/opengfx/files/opengfx-0.5.2-Makefile.patch45
-rw-r--r--games-misc/opengfx/metadata.xml5
-rw-r--r--games-misc/opengfx/opengfx-0.5.1.ebuild42
-rw-r--r--games-misc/opengfx/opengfx-0.5.2.ebuild38
-rw-r--r--games-misc/openmsx/Manifest1
-rw-r--r--games-misc/openmsx/metadata.xml5
-rw-r--r--games-misc/openmsx/openmsx-0.3.1-r1.ebuild36
-rw-r--r--games-misc/opensfx/Manifest1
-rw-r--r--games-misc/opensfx/metadata.xml5
-rw-r--r--games-misc/opensfx/opensfx-0.2.3.ebuild27
-rw-r--r--games-misc/papers-please/Manifest1
-rw-r--r--games-misc/papers-please/metadata.xml5
-rw-r--r--games-misc/papers-please/papers-please-1.1.65.ebuild71
-rw-r--r--games-misc/qlife/Manifest1
-rw-r--r--games-misc/qlife/metadata.xml5
-rw-r--r--games-misc/qlife/qlife-1.1.ebuild33
-rw-r--r--games-misc/rfksay/Manifest1
-rw-r--r--games-misc/rfksay/metadata.xml5
-rw-r--r--games-misc/rfksay/rfksay-0.1.ebuild25
-rw-r--r--games-misc/robotfindskitten/Manifest1
-rw-r--r--games-misc/robotfindskitten/metadata.xml8
-rw-r--r--games-misc/robotfindskitten/robotfindskitten-1.7320508.406.ebuild24
-rw-r--r--games-misc/sdljoytest/Manifest1
-rw-r--r--games-misc/sdljoytest/metadata.xml8
-rw-r--r--games-misc/sdljoytest/sdljoytest-11102003.ebuild42
-rw-r--r--games-misc/sex/Manifest1
-rw-r--r--games-misc/sex/metadata.xml5
-rw-r--r--games-misc/sex/sex-1.0.ebuild29
-rw-r--r--games-misc/sound-of-sorting/Manifest2
-rw-r--r--games-misc/sound-of-sorting/metadata.xml8
-rw-r--r--games-misc/sound-of-sorting/sound-of-sorting-0.6.3.ebuild20
-rw-r--r--games-misc/sound-of-sorting/sound-of-sorting-0.6.5.ebuild20
-rw-r--r--games-misc/typespeed/Manifest1
-rw-r--r--games-misc/typespeed/metadata.xml8
-rw-r--r--games-misc/typespeed/typespeed-0.6.5.ebuild48
-rw-r--r--games-misc/wtf/Manifest1
-rw-r--r--games-misc/wtf/files/wtf-20090924-prefix.patch11
-rw-r--r--games-misc/wtf/metadata.xml5
-rw-r--r--games-misc/wtf/wtf-20090924.ebuild35
-rw-r--r--games-misc/wumpus/Manifest3
-rw-r--r--games-misc/wumpus/metadata.xml5
-rw-r--r--games-misc/wumpus/wumpus-1.4.ebuild46
-rw-r--r--games-misc/xcowsay/Manifest1
-rw-r--r--games-misc/xcowsay/files/xcowsay-1.2-no-dbus.patch14
-rw-r--r--games-misc/xcowsay/metadata.xml14
-rw-r--r--games-misc/xcowsay/xcowsay-1.3.ebuild36
-rw-r--r--games-misc/xcruiser/Manifest1
-rw-r--r--games-misc/xcruiser/metadata.xml8
-rw-r--r--games-misc/xcruiser/xcruiser-0.30.ebuild33
-rw-r--r--games-misc/xpenguins/Manifest2
-rw-r--r--games-misc/xpenguins/metadata.xml5
-rw-r--r--games-misc/xpenguins/xpenguins-2.2-r1.ebuild27
-rw-r--r--games-misc/yadex/Manifest1
-rw-r--r--games-misc/yadex/files/yadex-1.7.0-NULL-is-not-zero.patch11
-rw-r--r--games-misc/yadex/files/yadex-1.7.0-elif.patch11
-rw-r--r--games-misc/yadex/metadata.xml5
-rw-r--r--games-misc/yadex/yadex-1.7.0.ebuild52
273 files changed, 4737 insertions, 0 deletions
diff --git a/games-misc/OilWar/Manifest b/games-misc/OilWar/Manifest
new file mode 100644
index 000000000000..04babe1ef95f
--- /dev/null
+++ b/games-misc/OilWar/Manifest
@@ -0,0 +1,2 @@
+DIST OilWar-1.2.1.tar.gz 515013 SHA256 e16ffd11439dfc857daaa98cf8a266b24794a4fbb1e84c1558794ffb622b5c63 SHA512 303581caf1cb59a4623b136595e0c1af6f682ae4c059a8848b481b42dee622083d436edb86ca9073edcf4c573f8a73b284dddea89cb8013943ef4ec81b3e17a1 WHIRLPOOL 5447c0af48b55e939b188e6351b63b3f3050fe3f7529026604194c95c84fcb2a254e33b39b55dd44391af81c62305aeac5864204104f8612813078d31be04db1
+DIST OilWar.png 2961 SHA256 f1e77e048b979b493fb9e3c48fc6a8d643836f121775f3cc4d64321260377e1a SHA512 75bd4c18791593f0bb81b51d87f6f033e2ebebe6de3653276b14e852d3625f01a61fb34257eb3d15ebf265908563f2820793b84196138b39c9329839e8fefe2d WHIRLPOOL 9bf04463dba9e043fb3c6d0dce69cc73796bba52cb06b820a304860d13294954018f6dd290ca4d760cf834bd0fefc0bdcc78f9748e9e154d68a2e083aecd1786
diff --git a/games-misc/OilWar/OilWar-1.2.1-r1.ebuild b/games-misc/OilWar/OilWar-1.2.1-r1.ebuild
new file mode 100644
index 000000000000..967c03c953c7
--- /dev/null
+++ b/games-misc/OilWar/OilWar-1.2.1-r1.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit eutils gnome2-utils games
+
+DESCRIPTION="Evil army is attacking your country and tries to steal your oil"
+HOMEPAGE="http://linux.softpedia.com/get/GAMES-ENTERTAINMENT/RTS/OilWar-15354.shtml"
+SRC_URI="mirror://gentoo/${P}.tar.gz
+ mirror://gentoo/${PN}.png"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc x86"
+IUSE=""
+
+DEPEND="media-libs/libsdl[video]
+ media-libs/sdl-image[png]
+ media-libs/sdl-mixer"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ sed -i \
+ -e '/^CXXCOMPILE/s:$(CPPFLAGS):$(SDL_CFLAGS):' \
+ -e '/^datafiledir/s:/games/:/:' \
+ -e '/install-data-am:/s:\\::' \
+ -e '/install-data-local$/d' \
+ Makefile.in || die
+}
+
+src_configure() {
+ egamesconf --enable-sound
+}
+
+src_install() {
+ default
+ doicon "${DISTDIR}"/${PN}.png
+ make_desktop_entry oilwar ${PN}
+ fperms 664 "${GAMES_STATEDIR}/oilwar.scores"
+ prepgamesdirs
+}
+
+pkg_preinst() {
+ games_pkg_preinst
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ games_pkg_postinst
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+}
diff --git a/games-misc/OilWar/metadata.xml b/games-misc/OilWar/metadata.xml
new file mode 100644
index 000000000000..d3c2cc926f0b
--- /dev/null
+++ b/games-misc/OilWar/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>
diff --git a/games-misc/asr-manpages/Manifest b/games-misc/asr-manpages/Manifest
new file mode 100644
index 000000000000..5d934dcae6db
--- /dev/null
+++ b/games-misc/asr-manpages/Manifest
@@ -0,0 +1,2 @@
+DIST asr-manpages_1.3-6.diff.gz 3558 SHA256 7d61485f61255ce23301f17eee74f8afc302f4482b8a64bfb1342ae4d39206fb SHA512 3b9d75b36c8417e5fdef7e4f3f17321bb482dc9c0cb6ce936a6ca8e2acf5254a39281925763f125898d1888dac4de457094e0b3fdcb5fd6eac5e4c6ce803b6aa WHIRLPOOL 01d69d1f19e9edc2ee6466ed5a519648f1b30f59cfc61a5fcc8a28e8c7bf2fa28b4bd5c00cb0abf4f688dfa6a1c3bdc8ebbeeb46e972a976a75d9e8fcb671071
+DIST asr-manpages_1.3.orig.tar.gz 14711 SHA256 5c60c53eb9ebe5e6a26ca2bd1c920a2332ea2a6db3fd64b14ccc4537e955f354 SHA512 abfc6a9306c128802f0d85faeb27981199e1348d22f9d0afd8f95f59c9c9b0c5eb2c0f028ea0cb10be1fe497146223c93ae787ff90160a9e0809a1965de826af WHIRLPOOL fa9fddf52aeaa413f23074caa9de8a6a3a9aebb788b76312ebd29f43d06f10bf90ca92fd3413acc3c2026380c5a605120782514ac01ad8e1d08bccbd68f0849e
diff --git a/games-misc/asr-manpages/asr-manpages-1.3_rc6.ebuild b/games-misc/asr-manpages/asr-manpages-1.3_rc6.ebuild
new file mode 100644
index 000000000000..48e5f22454b3
--- /dev/null
+++ b/games-misc/asr-manpages/asr-manpages-1.3_rc6.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI=5
+inherit eutils
+
+MY_R="6"
+MY_P="${PN}_${PV/_rc6/}"
+DESCRIPTION="set of humorous manual pages developed on alt.sysadmin.recovery"
+HOMEPAGE="http://debian.org/"
+SRC_URI="mirror://debian/pool/main/a/asr-manpages/${MY_P}.orig.tar.gz
+ mirror://debian/pool/main/a/asr-manpages/${MY_P}-${MY_R}.diff.gz"
+
+LICENSE="freedist" #465704
+SLOT="0"
+KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86"
+IUSE=""
+
+RDEPEND="virtual/man"
+
+S=${WORKDIR}/${MY_P/_/-}.orig
+
+src_prepare() {
+ epatch ../"${MY_P}-${MY_R}.diff"
+ rm -rf debian
+}
+
+src_install() {
+ doman *
+}
diff --git a/games-misc/asr-manpages/metadata.xml b/games-misc/asr-manpages/metadata.xml
new file mode 100644
index 000000000000..d3c2cc926f0b
--- /dev/null
+++ b/games-misc/asr-manpages/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>
diff --git a/games-misc/bsd-games-non-free/Manifest b/games-misc/bsd-games-non-free/Manifest
new file mode 100644
index 000000000000..4dbeb8cce3b8
--- /dev/null
+++ b/games-misc/bsd-games-non-free/Manifest
@@ -0,0 +1 @@
+DIST bsd-games-non-free-2.17.tar.gz 181134 SHA256 912a9253791ec9748dc49ab6cf7aacf417483c50ee04db57ed6d5dca110cb563 SHA512 6648579edbfb2e028d1b096d25d9c00abfafe4db8fc5e51688e6d03853f457d473b3d10bd1388b425227b6196e0e88fb258c5714896647e74b85db86a3715db0 WHIRLPOOL b8b6b29ffce19b7a34e6d8a606d88a83785128e7aaf33927a9dca5b0931ca527ca5079eb75c78a24a47f0c3f33e1c83adbcbcc1d060da9998e323dc686f407e1
diff --git a/games-misc/bsd-games-non-free/bsd-games-non-free-2.17.ebuild b/games-misc/bsd-games-non-free/bsd-games-non-free-2.17.ebuild
new file mode 100644
index 000000000000..bafa60a0ed42
--- /dev/null
+++ b/games-misc/bsd-games-non-free/bsd-games-non-free-2.17.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit games
+
+DESCRIPTION="collection of games from NetBSD"
+HOMEPAGE="http://www.advogato.org/proj/bsd-games/"
+SRC_URI="ftp://metalab.unc.edu/pub/Linux/games/${P}.tar.gz"
+
+# See /usr/share/doc/${P}/CHANGES.rogue
+LICENSE="|| ( BSD free-noncomm )"
+SLOT="0"
+KEYWORDS="amd64 ppc x86"
+IUSE=""
+
+RDEPEND="sys-libs/ncurses"
+DEPEND="${RDEPEND}
+ sys-devel/bison
+ sys-devel/flex"
+
+# Set GAMES_TO_BUILD variable to whatever you want
+export GAMES_TO_BUILD=${GAMES_TO_BUILD:="rogue"}
+
+src_prepare() {
+ sed -i \
+ -e '/^CC :/d' \
+ -e '/^CXX :/d' \
+ Makeconfig.in \
+ || die "sed failed"
+ cp "${FILESDIR}"/config.params-gentoo config.params || die "cp failed"
+ echo bsd_games_cfg_usrlibdir=\"$(games_get_libdir)\" >> ./config.params
+ echo bsd_games_cfg_build_dirs=\"${GAMES_TO_BUILD}\" >> ./config.params
+}
+
+src_configure() {
+ ./configure || die
+}
+
+src_compile() {
+ emake OPTIMIZE="${CFLAGS}" LDFLAGS="${LDFLAGS}"
+}
+
+build_game() {
+ has ${1} ${GAMES_TO_BUILD}
+}
+
+do_statefile() {
+ touch "${D}/${GAMES_STATEDIR}/${1}"
+ chmod ug+rw "${D}/${GAMES_STATEDIR}/${1}"
+}
+
+src_install() {
+ dodir "${GAMES_BINDIR}" "${GAMES_STATEDIR}" /usr/share/man/man{1,6}
+ make DESTDIR="${D}" install || die "make install failed"
+ rm -rf "${D}"/usr/share/doc/bsd-games || die "Remove failed"
+
+ dodoc AUTHORS BUGS ChangeLog ChangeLog.0 NEWS \
+ PACKAGING README README.non-free SECURITY THANKS TODO YEAR2000 \
+ bsd-games-non-free.lsm
+
+ # state files
+ build_game rogue && do_statefile rogue.scores
+
+ # extra docs
+ build_game rogue && { docinto rogue ; dodoc rogue/{CHANGES,USD.doc/rogue.me}; }
+
+ prepgamesdirs
+}
diff --git a/games-misc/bsd-games-non-free/files/config.params-gentoo b/games-misc/bsd-games-non-free/files/config.params-gentoo
new file mode 100644
index 000000000000..e5f4ed3ff33e
--- /dev/null
+++ b/games-misc/bsd-games-non-free/files/config.params-gentoo
@@ -0,0 +1,39 @@
+
+# This file is read by configure for the Gentoo ebuild
+
+# Don't run configure interactively.
+bsd_games_cfg_non_interactive=y
+
+bsd_games_cfg_install_prefix=${D}
+
+# For gentoo,
+# banner used to be in util-linux. Gentoo might have an ebuild
+# fortune is "app-games/fortune-mod"
+# factor is in "sys-apps/sh-utils"
+# dm is not installed by debian, I don't know why
+bsd_games_cfg_no_build_dirs="dm banner fortune factor"
+
+# Gentoo's games eclass want everything in these places
+bsd_games_cfg_gamesdir=${GAMES_BINDIR}
+bsd_games_cfg_sbindir=${GAMES_BINDIR}
+bsd_games_cfg_sharedir=${GAMES_DATADIR}
+bsd_games_cfg_varlibdir=${GAMES_STATEDIR}
+
+# We'll control all the permissions during install (via games eclass)
+bsd_games_cfg_do_chown=n
+
+# .so or symlink??? (Debian perfers symlinks for manpages)
+bsd_games_cfg_use_dot_so=symlinks
+
+# Gentoo'll handle manpage compressing.
+bsd_games_cfg_gzip_manpages=n
+
+# sys-apps/less is in system (even though more is in /bin)
+bsd_games_cfg_pager=/usr/bin/less
+
+# sys-apps/miscfiles might have too many words for boggle
+bsd_games_cfg_dictionary_src=/usr/share/dict/words
+
+# Acronym file for "wft"
+bsd_games_cfg_wtf_acronymfile=${GAMES_DATADIR}/acronyms
+
diff --git a/games-misc/bsd-games-non-free/metadata.xml b/games-misc/bsd-games-non-free/metadata.xml
new file mode 100644
index 000000000000..d3c2cc926f0b
--- /dev/null
+++ b/games-misc/bsd-games-non-free/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>
diff --git a/games-misc/bsd-games/Manifest b/games-misc/bsd-games/Manifest
new file mode 100644
index 000000000000..ff448efa6644
--- /dev/null
+++ b/games-misc/bsd-games/Manifest
@@ -0,0 +1,2 @@
+DIST bsd-games-2.17.tar.gz 2563311 SHA256 066f924aef6c1c5ea946f588e36f303021f5dfc093944738f025d8edbc6fff60 SHA512 cb2ee60474f164d42e3d47700270bbeeda3c8279d64da409c9cc05e36437ef95b92d0a85543298e97604635fcf3e068f3a5cc812e90b5c61fb8d146cf35bc38f WHIRLPOOL 4a8e4bcbf040997645d1b88ef17a3f0df6414a5ad922ea68045759eeafb09ff473ad3ed1a95304a82a4eace02ebc05c1c3966bfe46a204f22e29d4d945ad2566
+DIST bsdgames_2.17-22.debian.tar.xz 32268 SHA256 dd7457368e5b4cb5b223e91a2919aefae72237fa6ab840f162a779c209163d3e SHA512 902d86557dd3813c31333fe18437d8046ae100814c9c1b340ab1f8266c817545f21e000702b1ca93babb9d632896ea5bada1e146436abfa7916b469681fceed5 WHIRLPOOL e0b7214cafecd471c059d8a097d5df4706b41c2f4dcb0658522d65f7e0ddea7bdfcfdcb86d1b0dab0703b9182d63115b246a7dc3e77a715aaf53d7d59b48e0a6
diff --git a/games-misc/bsd-games/bsd-games-2.17-r5.ebuild b/games-misc/bsd-games/bsd-games-2.17-r5.ebuild
new file mode 100644
index 000000000000..e38b438e1314
--- /dev/null
+++ b/games-misc/bsd-games/bsd-games-2.17-r5.ebuild
@@ -0,0 +1,133 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit eutils toolchain-funcs games
+
+DEB_PATCH_VER=22
+DESCRIPTION="collection of games from NetBSD"
+HOMEPAGE="http://www.advogato.org/proj/bsd-games/"
+SRC_URI="ftp://metalab.unc.edu/pub/Linux/games/${P}.tar.gz
+ mirror://debian/pool/main/b/bsdgames/bsdgames_${PV}-${DEB_PATCH_VER}.debian.tar.xz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="alpha amd64 ppc sparc x86"
+IUSE=""
+
+RDEPEND="!games-misc/wtf
+ !app-misc/banner
+ !games-puzzle/hangman
+ sys-libs/ncurses
+ sys-apps/miscfiles"
+DEPEND="${RDEPEND}
+ sys-devel/flex
+ sys-devel/bison
+ virtual/pkgconfig"
+
+# Set GAMES_TO_BUILD variable to whatever you want
+GAMES_TO_BUILD=${GAMES_TO_BUILD:=adventure arithmetic atc
+backgammon banner battlestar bcd boggle caesar canfield countmail cribbage
+dab dm factor fish gomoku hack hangman hunt mille monop morse
+number phantasia pig pom ppt primes quiz rain random robots sail snake
+tetris trek wargames worm worms wtf}
+
+src_prepare() {
+ local d="${WORKDIR}"/debian/patches
+ EPATCH_SOURCE="${d}" epatch $(<"${d}"/series)
+
+ # Used by gentoo config.params. See bug 531200
+ export GAMES_BINDIR GAMES_DATADIR GAMES_STATEDIR
+
+ epatch \
+ "${FILESDIR}"/${P}-64bitutmp.patch \
+ "${FILESDIR}"/${P}-headers.patch \
+ "${FILESDIR}"/${P}-bg.patch \
+ "${FILESDIR}"/${P}-gcc4.patch
+
+ # Use pkg-config to query Libs: from ncurses.pc (for eg. -ltinfo) wrt #459652
+ sed -i \
+ -e "/ncurses_lib/s:-lncurses:'$($(tc-getPKG_CONFIG) --libs-only-l ncurses)':" \
+ configure || die
+
+ sed -i \
+ -e "s:/usr/games:${GAMES_BINDIR}:" \
+ wargames/wargames || die
+
+ sed -i \
+ -e '/^CC :=/d' \
+ -e '/^CXX :=/d' \
+ -e '/^CFLAGS/s/OPTIMIZE/CFLAGS/' \
+ -e '/^CXXFLAGS/s/OPTIMIZE/CXXFLAGS/' \
+ -e '/^LDFLAGS/s/LDFLAGS := /LDFLAGS := \$(LDFLAGS) /' \
+ Makeconfig.in || die
+
+ cp "${FILESDIR}"/config.params-gentoo config.params || die
+ echo bsd_games_cfg_usrlibdir=\"$(games_get_libdir)\" >> ./config.params || die
+ echo bsd_games_cfg_build_dirs=\"${GAMES_TO_BUILD}\" >> ./config.params || die
+ echo bsd_games_cfg_docdir=\"/usr/share/doc/${PF}\" >> ./config.params || die
+}
+
+src_test() {
+ addwrite /dev/full
+ emake -j1 check
+}
+
+build_game() {
+ has ${1} ${GAMES_TO_BUILD}
+}
+
+do_statefile() {
+ touch "${D}/${GAMES_STATEDIR}/${1}" || die
+ chmod ug+rw "${D}/${GAMES_STATEDIR}/${1}" || die
+}
+
+src_install() {
+ dodir "${GAMES_BINDIR}" "${GAMES_STATEDIR}" /usr/share/man/man{1,6}
+ emake -j1 DESTDIR="${D}" install
+
+ dodoc AUTHORS BUGS ChangeLog ChangeLog.0 \
+ README PACKAGING SECURITY THANKS TODO YEAR2000
+
+ # set some binaries to run as games group (+S)
+ build_game atc && fperms g+s "${GAMES_BINDIR}"/atc
+ build_game battlestar && fperms g+s "${GAMES_BINDIR}"/battlestar
+ build_game canfield && fperms g+s "${GAMES_BINDIR}"/canfield
+ build_game cribbage && fperms g+s "${GAMES_BINDIR}"/cribbage
+ build_game phantasia && fperms g+s "${GAMES_BINDIR}"/phantasia
+ build_game robots && fperms g+s "${GAMES_BINDIR}"/robots
+ build_game sail && fperms g+s "${GAMES_BINDIR}"/sail
+ build_game snake && fperms g+s "${GAMES_BINDIR}"/snake
+ build_game tetris && fperms g+s "${GAMES_BINDIR}"/tetris-bsd
+
+ # state files
+ build_game atc && do_statefile atc_score
+ build_game battlestar && do_statefile battlestar.log
+ build_game canfield && do_statefile cfscores
+ build_game cribbage && do_statefile criblog
+ build_game hack && keepdir "${GAMES_STATEDIR}"/hack
+ build_game robots && do_statefile robots_roll
+ build_game sail && do_statefile saillog
+ build_game snake && do_statefile snake.log && do_statefile snakerawscores
+ build_game tetris && do_statefile tetris-bsd.scores
+
+ # extra docs
+ build_game atc && { docinto atc ; dodoc atc/BUGS; }
+ build_game boggle && { docinto boggle ; dodoc boggle/README; }
+ build_game hack && { docinto hack ; dodoc hack/{OWNER,Original_READ_ME,READ_ME,help}; }
+ build_game hunt && { docinto hunt ; dodoc hunt/README; }
+ build_game phantasia && { docinto phantasia ; dodoc phantasia/{OWNER,README}; }
+
+ # Since factor is usually not installed, and primes.6 is a symlink to
+ # factor.6, make sure that primes.6 is ok ...
+ if build_game primes && [[ ! $(build_game factor) ]] ; then
+ rm -f "${D}"/usr/share/man/man6/{factor,primes}.6
+ newman factor/factor.6 primes.6
+ fi
+
+ prepgamesdirs
+
+ # state dirs
+ chmod -R ug+rw "${D}/${GAMES_STATEDIR}"/* || die
+}
diff --git a/games-misc/bsd-games/files/bsd-games-2.17-64bit.patch b/games-misc/bsd-games/files/bsd-games-2.17-64bit.patch
new file mode 100644
index 000000000000..a56ea8454bc4
--- /dev/null
+++ b/games-misc/bsd-games/files/bsd-games-2.17-64bit.patch
@@ -0,0 +1,43 @@
+David Leverton writes about adventure/crc.c:
+
+The 'adventure' game from the games-misc/bsd-games-2.13 package crashes
+when saving the game on AMD64 (and probably other 64-bit systems, but I
+haven't checked). Find attached to fix this.
+
+http://bugs.gentoo.org/show_bug.cgi?id=77032
+
+
+About utmpentry.c:
+
+the utmpx structure defines the ut_tv member a little differently on
+64bit hosts so that a 32bit and 64bit structure can be shared. So the
+ut_tv is a custom 32bit structure rather than the native 64bit timeval
+structure. Work around is to assign the submembers instead.
+
+http://bugs.gentoo.org/show_bug.cgi?id=102667
+
+--- bsd-games/adventure/crc.c
++++ bsd-games/adventure/crc.c
+@@ -134,7 +134,8 @@
+ if (step >= sizeof(crctab) / sizeof(crctab[0]))
+ step = 0;
+ }
+- crcval = (crcval << 8) ^ crctab[i];
++ /* Mask to 32 bits. */
++ crcval = ((crcval << 8) ^ crctab[i]) & 0xffffffff;
+ }
+- return crcval & 0xffffffff; /* Mask to 32 bits. */
++ return crcval;
+ }
+--- bsd-games/dm/utmpentry.c
++++ bsd-games/dm/utmpentry.c
+@@ -291,7 +291,8 @@
+ e->line[sizeof(e->line) - 1] = '\0';
+ (void)strncpy(e->host, up->ut_host, sizeof(up->ut_host));
+ e->name[sizeof(e->host) - 1] = '\0';
+- e->tv = up->ut_tv;
++ e->tv.tv_sec = up->ut_tv.tv_sec;
++ e->tv.tv_usec = up->ut_tv.tv_usec;
+ adjust_size(e);
+ }
+ #endif
diff --git a/games-misc/bsd-games/files/bsd-games-2.17-64bitutmp.patch b/games-misc/bsd-games/files/bsd-games-2.17-64bitutmp.patch
new file mode 100644
index 000000000000..3be1b3de074b
--- /dev/null
+++ b/games-misc/bsd-games/files/bsd-games-2.17-64bitutmp.patch
@@ -0,0 +1,21 @@
+About utmpentry.c:
+
+the utmpx structure defines the ut_tv member a little differently on
+64bit hosts so that a 32bit and 64bit structure can be shared. So the
+ut_tv is a custom 32bit structure rather than the native 64bit timeval
+structure. Work around is to assign the submembers instead.
+
+http://bugs.gentoo.org/show_bug.cgi?id=102667
+
+--- bsd-games/dm/utmpentry.c
++++ bsd-games/dm/utmpentry.c
+@@ -291,7 +291,8 @@
+ e->line[sizeof(e->line) - 1] = '\0';
+ (void)strncpy(e->host, up->ut_host, sizeof(up->ut_host));
+ e->name[sizeof(e->host) - 1] = '\0';
+- e->tv = up->ut_tv;
++ e->tv.tv_sec = up->ut_tv.tv_sec;
++ e->tv.tv_usec = up->ut_tv.tv_usec;
+ adjust_size(e);
+ }
+ #endif
diff --git a/games-misc/bsd-games/files/bsd-games-2.17-bg.patch b/games-misc/bsd-games/files/bsd-games-2.17-bg.patch
new file mode 100644
index 000000000000..07dc520b77e4
--- /dev/null
+++ b/games-misc/bsd-games/files/bsd-games-2.17-bg.patch
@@ -0,0 +1,22 @@
+--- backgammon/common_source/fancy.c.old 2007-05-16 20:16:46.000000000 +0200
++++ backgammon/common_source/fancy.c 2007-05-16 20:19:00.000000000 +0200
+@@ -58,7 +58,7 @@
+ int lUP; /* length of UP */
+ int CO; /* number of columns */
+ int LI; /* number of lines */
+-int *linect; /* array of lengths of lines on screen (the
++static int linect[25]; /* array of lengths of lines on screen (the
+ * actual screen is not stored) */
+
+ /* two letter codes */
+@@ -728,10 +728,5 @@
+ lND = strlen(ND);
+ if (LI < 24 || CO < 72 || !(CL && UP && ND))
+ return (0);
+- linect = (int *) calloc(LI + 1, sizeof(int));
+- if (linect == NULL) {
+- write(2, "\r\nOut of memory!\r\n", 18);
+- getout(0);
+- }
+ return (1);
+ }
diff --git a/games-misc/bsd-games/files/bsd-games-2.17-gcc4.patch b/games-misc/bsd-games/files/bsd-games-2.17-gcc4.patch
new file mode 100644
index 000000000000..7de07effc25d
--- /dev/null
+++ b/games-misc/bsd-games/files/bsd-games-2.17-gcc4.patch
@@ -0,0 +1,34 @@
+--- trek/getpar.h.orig 2005-08-14 19:45:29.000000000 -0400
++++ trek/getpar.h 2005-08-14 19:46:33.000000000 -0400
+@@ -31,6 +31,9 @@
+ * @(#)getpar.h 8.1 (Berkeley) 5/31/93
+ */
+
++#ifndef __GETPAR_H_
++#define __GETPAR_H_
++
+ typedef void (*cmdfun)(int);
+ struct cvntab /* used for getcodpar() parameter list */
+ {
+@@ -51,3 +54,5 @@
+ int testnl(void);
+ void skiptonl(int);
+ int readdelim(int);
++
++#endif /*__GETPAR_H_*/
+--- trek/trek.h.orig 2005-08-14 19:45:37.000000000 -0400
++++ trek/trek.h 2005-08-14 19:48:17.000000000 -0400
+@@ -31,6 +31,13 @@
+ * @(#)trek.h 8.1 (Berkeley) 5/31/93
+ */
+
++/* For struct cvntab definition, which is now required for
++ * Skitab and Lentab below. gcc 4.0 and later will emit
++ * "array type has incomplete element type" errors otherwise.
++ * -- Jason Bucata (jbucata@tulsaconnect.com), 12-AUG-2005
++ */
++#include "getpar.h"
++
+ /*
+ ** Global Declarations
+ **
diff --git a/games-misc/bsd-games/files/bsd-games-2.17-gcc43.patch b/games-misc/bsd-games/files/bsd-games-2.17-gcc43.patch
new file mode 100644
index 000000000000..8009454e55a9
--- /dev/null
+++ b/games-misc/bsd-games/files/bsd-games-2.17-gcc43.patch
@@ -0,0 +1,16 @@
+--- dab/gamescreen.h.orig
++++ dab/gamescreen.h
+@@ -70,9 +70,9 @@
+ virtual void redraw(void) = 0; // Refresh
+ virtual int getinput(void) = 0; // Get user input
+ virtual void bell(void) = 0; // Beep
+- virtual void score(size_t p, const PLAYER& p) = 0; // Post current score
+- virtual void games(size_t p, const PLAYER& p) = 0; // Post games won
+- virtual void total(size_t p, const PLAYER& p) = 0; // Post total score
++ virtual void score(size_t s, const PLAYER& p) = 0; // Post current score
++ virtual void games(size_t s, const PLAYER& p) = 0; // Post games won
++ virtual void total(size_t s, const PLAYER& p) = 0; // Post total score
+ virtual void ties(const PLAYER& p) = 0; // Post tie games
+ };
+
+
diff --git a/games-misc/bsd-games/files/bsd-games-2.17-glibc2.10.patch b/games-misc/bsd-games/files/bsd-games-2.17-glibc2.10.patch
new file mode 100644
index 000000000000..2efdc57490d8
--- /dev/null
+++ b/games-misc/bsd-games/files/bsd-games-2.17-glibc2.10.patch
@@ -0,0 +1,185 @@
+--- boggle/boggle/bog.c
++++ boggle/boggle/bog.c
+@@ -336,7 +336,7 @@
+ }
+
+ while (1) {
+- if (getline(buf) == NULL) {
++ if (get_line(buf) == NULL) {
+ if (feof(stdin))
+ clearerr(stdin);
+ break;
+--- boggle/boggle/extern.h
++++ boggle/boggle/extern.h
+@@ -43,7 +43,7 @@
+ long dictseek(FILE *, long, int);
+ void findword(void);
+ void flushin(FILE *);
+-char *getline(char *);
++char *get_line(char *);
+ void getword(char *);
+ int help(void);
+ int inputch(void);
+--- boggle/boggle/mach.c
++++ boggle/boggle/mach.c
+@@ -168,7 +168,7 @@
+ * - doesn't accept words longer than MAXWORDLEN or containing caps
+ */
+ char *
+-getline(q)
++get_line(q)
+ char *q;
+ {
+ int ch, done;
+--- cribbage/cribbage.h
++++ cribbage/cribbage.h
+@@ -77,7 +77,7 @@
+ int fifteens(const CARD [], int);
+ void game(void);
+ void gamescore(void);
+-char *getline(void);
++char *get_line(void);
+ int getuchar(void);
+ int incard(CARD *);
+ int infrom(const CARD [], int, const char *);
+--- cribbage/crib.c
++++ cribbage/crib.c
+@@ -221,7 +221,7 @@
+ if (!rflag) { /* player cuts deck */
+ msg(quiet ? "Cut for crib? " :
+ "Cut to see whose crib it is -- low card wins? ");
+- getline();
++ get_line();
+ }
+ i = (rand() >> 4) % CARDS; /* random cut */
+ do { /* comp cuts deck */
+@@ -397,7 +397,7 @@
+ if (!rflag) { /* random cut */
+ msg(quiet ? "Cut the deck? " :
+ "How many cards down do you wish to cut the deck? ");
+- getline();
++ get_line();
+ }
+ i = (rand() >> 4) % (CARDS - pos);
+ turnover = deck[i + pos];
+--- cribbage/io.c
++++ cribbage/io.c
+@@ -245,7 +245,7 @@
+
+ retval = FALSE;
+ rnk = sut = EMPTY;
+- if (!(line = getline()))
++ if (!(line = get_line()))
+ goto gotit;
+ p = p1 = line;
+ while (*p1 != ' ' && *p1 != '\0')
+@@ -346,7 +346,7 @@
+
+ for (sum = 0;;) {
+ msg(prompt);
+- if (!(p = getline()) || *p == '\0') {
++ if (!(p = get_line()) || *p == '\0') {
+ msg(quiet ? "Not a number" :
+ "That doesn't look like a number");
+ continue;
+@@ -528,12 +528,12 @@
+ }
+
+ /*
+- * getline:
++ * get_line:
+ * Reads the next line up to '\n' or EOF. Multiple spaces are
+ * compressed to one space; a space is inserted before a ','
+ */
+ char *
+-getline()
++get_line()
+ {
+ char *sp;
+ int c, oy, ox;
+--- gomoku/bdisp.c
++++ gomoku/bdisp.c
+@@ -241,7 +241,7 @@
+ }
+
+ int
+-getline(buf, size)
++get_line(buf, size)
+ char *buf;
+ int size;
+ {
+--- gomoku/gomoku.h
++++ gomoku/gomoku.h
+@@ -263,7 +263,7 @@
+
+ void bdinit(struct spotstr *);
+ void init_overlap(void);
+-int getline(char *, int);
++int get_line(char *, int);
+ void ask(const char *);
+ void dislog(const char *);
+ void bdump(FILE *);
+--- gomoku/main.c
++++ gomoku/main.c
+@@ -155,7 +155,7 @@
+ if (inputfp == NULL && test == 0) {
+ for (;;) {
+ ask("black or white? ");
+- getline(buf, sizeof(buf));
++ get_line(buf, sizeof(buf));
+ if (buf[0] == 'b' || buf[0] == 'B') {
+ color = BLACK;
+ break;
+@@ -172,7 +172,7 @@
+ }
+ } else {
+ setbuf(stdout, 0);
+- getline(buf, sizeof(buf));
++ get_line(buf, sizeof(buf));
+ if (strcmp(buf, "black") == 0)
+ color = BLACK;
+ else if (strcmp(buf, "white") == 0)
+@@ -244,7 +244,7 @@
+ getinput:
+ if (interactive)
+ ask("move? ");
+- if (!getline(buf, sizeof(buf))) {
++ if (!get_line(buf, sizeof(buf))) {
+ curmove = RESIGN;
+ break;
+ }
+@@ -256,7 +256,7 @@
+ FILE *fp;
+
+ ask("save file name? ");
+- (void)getline(buf, sizeof(buf));
++ (void)get_line(buf, sizeof(buf));
+ if ((fp = fopen(buf, "w")) == NULL) {
+ glog("cannot create save file");
+ goto getinput;
+@@ -309,14 +309,14 @@
+ if (i != RESIGN) {
+ replay:
+ ask("replay? ");
+- if (getline(buf, sizeof(buf)) &&
++ if (get_line(buf, sizeof(buf)) &&
+ (buf[0] == 'y' || buf[0] == 'Y'))
+ goto again;
+ if (strcmp(buf, "save") == 0) {
+ FILE *fp;
+
+ ask("save file name? ");
+- (void)getline(buf, sizeof(buf));
++ (void)get_line(buf, sizeof(buf));
+ if ((fp = fopen(buf, "w")) == NULL) {
+ glog("cannot create save file");
+ goto replay;
+@@ -367,7 +367,7 @@
+ quit();
+ top:
+ ask("cmd? ");
+- if (!getline(fmtbuf, sizeof(fmtbuf)))
++ if (!get_line(fmtbuf, sizeof(fmtbuf)))
+ quit();
+ switch (*fmtbuf) {
+ case '\0':
diff --git a/games-misc/bsd-games/files/bsd-games-2.17-headers.patch b/games-misc/bsd-games/files/bsd-games-2.17-headers.patch
new file mode 100644
index 000000000000..953a5d35765a
--- /dev/null
+++ b/games-misc/bsd-games/files/bsd-games-2.17-headers.patch
@@ -0,0 +1,16 @@
+http://bugs.gentoo.org/128348
+
+--- include/stdio.h
++++ include/stdio.h
+@@ -35,5 +35,11 @@
+ #include_next <stdio.h>
+
+ #ifndef HAVE_fgetln
++#ifdef __cplusplus
++extern "C" {
++#endif
+ extern char *fgetln(FILE *stream, size_t *len);
++#ifdef __cplusplus
++}
++#endif
+ #endif
diff --git a/games-misc/bsd-games/files/config.params-gentoo b/games-misc/bsd-games/files/config.params-gentoo
new file mode 100644
index 000000000000..9d246d1865e9
--- /dev/null
+++ b/games-misc/bsd-games/files/config.params-gentoo
@@ -0,0 +1,39 @@
+
+# This file is read by configure for the Gentoo ebuild
+
+# Don't run configure interactively.
+bsd_games_cfg_non_interactive=y
+
+bsd_games_cfg_install_prefix=${D}
+
+# For gentoo,
+# banner used to be in util-linux. Gentoo might have an ebuild
+# fortune is "app-games/fortune-mod"
+# factor is in "sys-apps/sh-utils"
+# dm is not installed by debian, I don't know why
+bsd_games_cfg_no_build_dirs="dm banner fortune factor"
+
+# Gentoo's games eclass want everything in these places
+bsd_games_cfg_gamesdir=${GAMES_BINDIR}
+bsd_games_cfg_sbindir=${GAMES_BINDIR}
+bsd_games_cfg_sharedir=${GAMES_DATADIR}/${PN}
+bsd_games_cfg_varlibdir=${GAMES_STATEDIR}
+
+# We'll control all the permissions during install (via games eclass)
+bsd_games_cfg_do_chown=n
+
+# .so or symlink??? (Debian perfers symlinks for manpages)
+bsd_games_cfg_use_dot_so=symlinks
+
+# Gentoo'll handle manpage compressing.
+bsd_games_cfg_gzip_manpages=n
+
+# sys-apps/less is in system (even though more is in /bin)
+bsd_games_cfg_pager=/usr/bin/less
+
+# sys-apps/miscfiles might have too many words for boggle
+bsd_games_cfg_dictionary_src=/usr/share/dict/words
+
+# Acronym file for "wft"
+bsd_games_cfg_wtf_acronymfile=${GAMES_DATADIR}/${PN}/acronyms
+
diff --git a/games-misc/bsd-games/metadata.xml b/games-misc/bsd-games/metadata.xml
new file mode 100644
index 000000000000..d3c2cc926f0b
--- /dev/null
+++ b/games-misc/bsd-games/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>
diff --git a/games-misc/bsod/Manifest b/games-misc/bsod/Manifest
new file mode 100644
index 000000000000..54f4d3cb16e5
--- /dev/null
+++ b/games-misc/bsod/Manifest
@@ -0,0 +1 @@
+DIST bsod-0.1.tgz 10128 SHA256 ad6eb83637d1eb655ca7891933916266bd0624e08823490083b960ff15531c43 SHA512 2b3087ee495c83f41c2c582dc1c391ce5b73600244b6183abbcd36a3f88caf16987250d4ad23eb3a556b014669ddd84947e6cddeb8d4c89e12c9bacc545299c8 WHIRLPOOL 3317001c0502d50166aac13e252b1f0413f7af71e5cf2cd84c055629421fb9ae153016421b43477e5eb3acba3c9b3243d2a670630b1b6388d46828378e4197e5
diff --git a/games-misc/bsod/bsod-0.1.ebuild b/games-misc/bsod/bsod-0.1.ebuild
new file mode 100644
index 000000000000..52b00dc403f1
--- /dev/null
+++ b/games-misc/bsod/bsod-0.1.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit eutils toolchain-funcs games
+
+DESCRIPTION="This program will let you UNIX user experience the authentic microsoft windows experience"
+HOMEPAGE="http://www.vanheusden.com/bsod/"
+SRC_URI="http://www.vanheusden.com/${PN}/${P}.tgz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 x86"
+
+RDEPEND="sys-libs/ncurses"
+DEPEND="
+ ${RDEPEND}
+ virtual/pkgconfig"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-Makefile.patch
+ tc-export PKG_CONFIG
+}
+
+src_install() {
+ dogamesbin ${PN}
+ dodoc Changes
+
+ prepgamesdirs
+}
diff --git a/games-misc/bsod/files/bsod-0.1-Makefile.patch b/games-misc/bsod/files/bsod-0.1-Makefile.patch
new file mode 100644
index 000000000000..b7699c80403b
--- /dev/null
+++ b/games-misc/bsod/files/bsod-0.1-Makefile.patch
@@ -0,0 +1,21 @@
+--- a/Makefile
++++ b/Makefile
+@@ -1,15 +1,15 @@
+ VERSION=0.1
+
+ DEBUG=-g -pedantic #-pg #-fprofile-arcs
+-LDFLAGS=-lncurses $(DEBUG)
+-CFLAGS+=-O2 -Wall -DVERSION=\"$(VERSION)\" $(DEBUG)
++LDLIBS=$(shell ${PKG_CONFIG} --libs ncurses)
++CFLAGS+=-Wall -DVERSION=\"$(VERSION)\"
+
+ OBJS=bsod.o
+
+ all: bsod
+
+ bsod: $(OBJS)
+- $(CC) -Wall $(OBJS) $(LDFLAGS) -o bsod
++ $(CC) $(LDFLAGS) $(CFLAGS) $(OBJS) $(LDLIBS) -o bsod
+
+ install: bsod
+ cp bsod $(DESTDIR)/usr/local/bin
diff --git a/games-misc/bsod/metadata.xml b/games-misc/bsod/metadata.xml
new file mode 100644
index 000000000000..d3c2cc926f0b
--- /dev/null
+++ b/games-misc/bsod/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>
diff --git a/games-misc/c++robots/Manifest b/games-misc/c++robots/Manifest
new file mode 100644
index 000000000000..30d5dd3e9613
--- /dev/null
+++ b/games-misc/c++robots/Manifest
@@ -0,0 +1 @@
+DIST c++robots.tar.gz 10896 SHA256 8102fb0da308e6118676d54642cd6f652fcfa145384a7e830ca7103aaf02f3f5 SHA512 410a08c920f8e54abe74b085d67607bcc381e768c0127cf98eabab894a106d5d1466a1cac4146924b53c29ccffddd5eb77c9383c42b6fe6e48c7e89691e691f3 WHIRLPOOL 24483a323e2c7bbdc3e116635f1433ffd133e9886631373b7a660456078dde33a46c9479757cbc02d66c9aaa98811946eea5b791625fd0a340bd33ad9bdd8d04
diff --git a/games-misc/c++robots/c++robots-0.ebuild b/games-misc/c++robots/c++robots-0.ebuild
new file mode 100644
index 000000000000..a243b7276085
--- /dev/null
+++ b/games-misc/c++robots/c++robots-0.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+inherit eutils games
+
+DESCRIPTION="ongoing 'King of the Hill' (KotH) tournament"
+HOMEPAGE="http://www.gamerz.net/c++robots/"
+SRC_URI="http://www.gamerz.net/c++robots/c++robots.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="x86 ppc"
+IUSE="static"
+
+S=${WORKDIR}/${PN}
+
+src_prepare() {
+ epatch "${FILESDIR}/proper-coding.patch"
+}
+
+src_compile() {
+ local myldflags="${LDFLAGS}"
+ use static && myldflags="${myldflags} -static"
+ emake CFLAGS="${CFLAGS}" LDFLAGS="${myldflags}"
+}
+
+src_install() {
+ dogamesbin combat cylon target tracker
+ dodoc README
+ prepgamesdirs
+}
diff --git a/games-misc/c++robots/files/proper-coding.patch b/games-misc/c++robots/files/proper-coding.patch
new file mode 100644
index 000000000000..f54af0389079
--- /dev/null
+++ b/games-misc/c++robots/files/proper-coding.patch
@@ -0,0 +1,51 @@
+--- Makefile.orig 2003-01-01 23:36:19.000000000 -0500
++++ Makefile 2003-01-01 23:39:32.000000000 -0500
+@@ -1,8 +1,9 @@
+ CFLAGS=-g
++LDFLAGS=
+ PROGRAMS=combat
+ ROBOTS=cylon tracker target
+
+-CC=g++ -g
++CC=g++
+
+ all: $(PROGRAMS) $(ROBOTS)
+
+@@ -10,29 +11,29 @@
+ rm -f $(PROGRAMS) $(ROBOTS) *.o core
+
+ combat: combat.o
+- $(CC) $(CFLAGS) -o $@ combat.o -lm
++ $(CC) -o $@ $(LDFLAGS) combat.o -lm
+
+ combat.o: combat.c
+ $(CC) $(CFLAGS) -c combat.c
+
+ robots.o: robots.C robots.h
+- g++ -c robots.C
++ $(CC) $(CFLAGS) -c robots.C
+
+ cylon: cylon.o robots.o
+- g++ -static -o $@ cylon.o robots.o
++ $(CC) -o $@ $(LDFLAGS) cylon.o robots.o
+
+ cylon.o: cylon.c robots.h
+- g++ -c cylon.c
++ $(CC) $(CFLAGS) -c cylon.c
+
+ tracker: tracker.o robots.o
+- g++ -static -o $@ tracker.o robots.o
++ $(CC) -o $@ $(LDFLAGS) tracker.o robots.o
+
+ tracker.o: tracker.c robots.h
+- g++ -c tracker.c
++ $(CC) $(CFLAGS) -c tracker.c
+
+ target: target.o robots.o
+- g++ -static -o $@ target.o robots.o
++ $(CC) -o $@ $(LDFLAGS) target.o robots.o
+
+ target.o: target.c robots.h
+- g++ -c target.c
++ $(CC) $(CFLAGS) -c target.c
+
diff --git a/games-misc/c++robots/metadata.xml b/games-misc/c++robots/metadata.xml
new file mode 100644
index 000000000000..d3c2cc926f0b
--- /dev/null
+++ b/games-misc/c++robots/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>
diff --git a/games-misc/cowsay/Manifest b/games-misc/cowsay/Manifest
new file mode 100644
index 000000000000..d9324add2bd9
--- /dev/null
+++ b/games-misc/cowsay/Manifest
@@ -0,0 +1 @@
+DIST cowsay-3.03.tar.gz 15189 SHA256 0b8672a7ac2b51183780db72618b42af8ec1ce02f6c05fe612510b650540b2af SHA512 8e91d0c929c2e0743106c08643029a943d0684343ff44ad8ff172636a8f47fd25ee8bc4d108ccfe308c756d2871b956cceef0c406800615ed0dc1e1e24648219 WHIRLPOOL 08b1f7818c073390dd4061e955888d5344b8d091b1a7ec12eeeb9d584b084e3a3e630fa03a6da3c80721f59e5d8ba10cffc677b892304fc900136fed110e7e87
diff --git a/games-misc/cowsay/cowsay-3.03-r2.ebuild b/games-misc/cowsay/cowsay-3.03-r2.ebuild
new file mode 100644
index 000000000000..5e10c29a36ad
--- /dev/null
+++ b/games-misc/cowsay/cowsay-3.03-r2.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit eutils
+
+DESCRIPTION="configurable talking ASCII cow (and other characters)"
+HOMEPAGE="http://www.nog.net/~tony/warez/cowsay.shtml"
+SRC_URI="http://www.nog.net/~tony/warez/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="alpha amd64 hppa ~ia64 ~mips ppc ppc64 sparc x86 ~x86-fbsd ~x64-solaris"
+IUSE=""
+
+RDEPEND=">=dev-lang/perl-5"
+
+src_prepare() {
+ sed -i \
+ -e "1 c\#!${EPREFIX}/usr/bin/perl"\
+ -e 's/\$version/\$VERSION/g'\
+ -e "s:%PREFIX%/share/cows:${EPREFIX}/usr/share/${P}/cows:" \
+ -e '/getopts/ i\$Getopt::Std::STANDARD_HELP_VERSION=1;' cowsay \
+ || die "sed cowsay failed"
+ sed -i \
+ -e "s|%PREFIX%/share/cows|${EPREFIX}/usr/share/${P}/cows|" cowsay.1 \
+ || die "sed cowsay.1 failed"
+ epatch \
+ "${FILESDIR}/${P}"-tongue.patch \
+ "${FILESDIR}/${P}"-mech.patch \
+ "${FILESDIR}/${P}"-utf8.patch
+}
+
+src_install() {
+ dobin cowsay
+ doman cowsay.1
+ dosym cowsay /usr/bin/cowthink
+ dosym cowsay.1 /usr/share/man/man1/cowthink.1
+ dodir /usr/share/${P}/cows
+ cp -r cows "${ED}"/usr/share/${P}/ || die "cp failed"
+}
diff --git a/games-misc/cowsay/files/cowsay-3.03-mech.patch b/games-misc/cowsay/files/cowsay-3.03-mech.patch
new file mode 100644
index 000000000000..10478ed6651d
--- /dev/null
+++ b/games-misc/cowsay/files/cowsay-3.03-mech.patch
@@ -0,0 +1,18 @@
+--- cows/mech-and-cow 2009-06-21 03:09:36.000000000 +0300
++++ cows/mech-and-cow.cow 2010-08-22 01:04:02.670000262 +0300
+@@ -1,3 +1,5 @@
++$the_cow = <<EOC;
++${thouts}
+ ,-----.
+ | |
+ ,--| |-.
+@@ -14,8 +16,4 @@
+ (__)\ )\/\ /' / | `i
+ ||----w | ___,;`----'.___L_,-'`\__
+ || || i_____;----\.____i""\____\
+-
+-
+-
+-
+-
++EOC
diff --git a/games-misc/cowsay/files/cowsay-3.03-tongue.patch b/games-misc/cowsay/files/cowsay-3.03-tongue.patch
new file mode 100644
index 000000000000..517e96709c23
--- /dev/null
+++ b/games-misc/cowsay/files/cowsay-3.03-tongue.patch
@@ -0,0 +1,10 @@
+--- cows/head-in.cow.old 2007-05-09 20:28:08.000000000 +0200
++++ cows/head-in.cow 2007-05-09 20:29:32.000000000 +0200
+@@ -7,6 +7,6 @@
+ ^__^ /
+ ($eyes)\\_______/ _________
+ (__)\\ )=( ____|_ \\_____
+- $tongue ||----w | \\ \\ \\_____ |
++ $tongue ||----w | \\ \\ \\_____ |
+ || || || ||
+ EOC
diff --git a/games-misc/cowsay/files/cowsay-3.03-utf8.patch b/games-misc/cowsay/files/cowsay-3.03-utf8.patch
new file mode 100644
index 000000000000..6aed9c149e3d
--- /dev/null
+++ b/games-misc/cowsay/files/cowsay-3.03-utf8.patch
@@ -0,0 +1,17 @@
+diff -Naur cowsay-3.03.orig//cowsay cowsay-3.03/cowsay
+--- cowsay-3.03.orig//cowsay 2011-04-21 16:36:03.581377699 +0200
++++ cowsay-3.03/cowsay 2011-04-21 16:37:07.968430100 +0200
+@@ -12,6 +12,13 @@
+ use Getopt::Std;
+ use Cwd;
+
++if (${^UTF8LOCALE}) {
++ binmode STDIN, ':utf8';
++ binmode STDOUT, ':utf8';
++ require Encode;
++ eval { $_ = Encode::decode_utf8($_,1) } for @ARGV;
++}
++
+ $VERSION = "3.03";
+ $progname = basename($0);
+ $eyes = "oo";
diff --git a/games-misc/cowsay/metadata.xml b/games-misc/cowsay/metadata.xml
new file mode 100644
index 000000000000..d3c2cc926f0b
--- /dev/null
+++ b/games-misc/cowsay/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>
diff --git a/games-misc/doge/Manifest b/games-misc/doge/Manifest
new file mode 100644
index 000000000000..dda8ca0fbe56
--- /dev/null
+++ b/games-misc/doge/Manifest
@@ -0,0 +1 @@
+DIST doge-3.5.0.tar.gz 16145 SHA256 b29b8afe0bcf5e7dd807fb840f86aa7f0dfd946ee92a3425c6cade450da08d53 SHA512 8e8f27077261626b27d0ce36c827b399345f2e96f157bfdf1b5437c75cf40b285533631ce5ec847b4b99bf87037faf85fb4aa4ab93604f54fbdfba03aa8e5609 WHIRLPOOL 35df9a508769934ce9d3dd63073919a8a4815bcbe32c9d90288d8c45d603ec03607a455aed24446324a14d74d119536a719b5f3f8c0a7d3de40d8401548ffc98
diff --git a/games-misc/doge/doge-3.5.0.ebuild b/games-misc/doge/doge-3.5.0.ebuild
new file mode 100644
index 000000000000..7e56fc3940b3
--- /dev/null
+++ b/games-misc/doge/doge-3.5.0.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+PYTHON_COMPAT=( python{2_7,3_3,3_4} )
+
+inherit distutils-r1
+
+DESCRIPTION="wow very terminal doge"
+HOMEPAGE="https://github.com/thiderman/doge https://pypi.python.org/pypi/doge/"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND=""
+RDEPEND="${DEPEND}
+ sys-process/procps
+"
diff --git a/games-misc/doge/metadata.xml b/games-misc/doge/metadata.xml
new file mode 100644
index 000000000000..daa3495b1426
--- /dev/null
+++ b/games-misc/doge/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>vikraman@gentoo.org</email>
+ <name>Vikraman Choudhury</name>
+ </maintainer>
+ <longdescription lang="en">
+ doge is a simple motd script based on the slightly stupid but very funny doge meme. It prints random grammatically incorrect statements that are sometimes based on things from your computer.
+ </longdescription>
+ <upstream>
+ <remote-id type="pypi">doge</remote-id>
+ <remote-id type="github">thiderman/doge</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/games-misc/dont-starve/Manifest b/games-misc/dont-starve/Manifest
new file mode 100644
index 000000000000..6291cef40b65
--- /dev/null
+++ b/games-misc/dont-starve/Manifest
@@ -0,0 +1,2 @@
+DIST dontstarve_x32_july21.tar.gz 174752315 SHA256 b1eb38a7cb7179b8db7d81c5070737a4acbaf1a9473912cb1bcb5c2ec784304b SHA512 d508989e6c2fe0fceb4706250c8f222acdf5a52492fa2dafa8baab25f98a029658631789cce5164f43c6e5ed529f2cf490fea321635e4077f54f09907071e921 WHIRLPOOL 18f8ee5a44c2984db86ae60bd99fc61ad87cc99890629a36c5d15a046bbd557854c1f9591b936b8bf9fc9d2248132439b8e236ded60e359a599d8cdac0770677
+DIST dontstarve_x64_july21.tar.gz 175302157 SHA256 3a3297ca6bada9c55bafe568085e75a9790f796aa7711726346d571ac40e25e6 SHA512 ef10acd493544f064fcd12868a47e650cd09f66318d57eaa994c4866c808ede4504f9e55933be66f7fad7783e72c91043c4b884970e7b80f8ea45f814828c752 WHIRLPOOL fe19306b8e220f6680d1ffaf089eb8a643f789a0e165979cf0d1f93e111f7c1e6675ffb4340496fe5ca35c263bce5af87b467cf5c2fe35d1ad64755ae311b469
diff --git a/games-misc/dont-starve/dont-starve-2.ebuild b/games-misc/dont-starve/dont-starve-2.ebuild
new file mode 100644
index 000000000000..4ddb159013b5
--- /dev/null
+++ b/games-misc/dont-starve/dont-starve-2.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit eutils games
+
+DESCRIPTION="Wilderness survival game full of science and magic"
+HOMEPAGE="http://www.dontstarvegame.com/"
+SRC_URI="amd64? ( dontstarve_x64_july21.tar.gz )
+ x86? ( dontstarve_x32_july21.tar.gz )"
+
+LICENSE="all-rights-reserved"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE=""
+RESTRICT="fetch bindist splitdebug"
+
+MYGAMEDIR=${GAMES_PREFIX_OPT}/${PN}
+QA_PREBUILT="${MYGAMEDIR#/}/bin/dontstarve"
+if [[ $ARCH == amd64 ]] ; then
+ QA_PREBUILT="${QA_PREBUILT}
+ ${MYGAMEDIR#/}/bin/lib64/*"
+elif [[ ${ARCH} == x86 ]] ; then
+ QA_PREBUILT="${QA_PREBUILT}
+ ${MYGAMEDIR#/}/bin/lib32/*"
+fi
+
+RDEPEND="net-misc/curl
+ virtual/opengl"
+
+S=${WORKDIR}/dontstarve
+
+pkg_nofetch() {
+ einfo
+ einfo "Please buy & download \"${SRC_URI}\" from:"
+ einfo " ${HOMEPAGE}"
+ einfo "and move/link it to \"${DISTDIR}\""
+ einfo
+}
+
+src_install() {
+ local libdir=lib$(usex amd64 "64" "32")
+
+ insinto "${MYGAMEDIR}"
+ doins -r data mods
+
+ exeinto "${MYGAMEDIR}"/bin
+ doexe bin/dontstarve
+ exeinto "${MYGAMEDIR}"/bin/${libdir}
+ doexe bin/${libdir}/libfmod*
+ # unbundling libsdl2 breaks the menu, so you cannot start the game
+ doexe bin/${libdir}/libSDL2*
+
+ games_make_wrapper ${PN} "./dontstarve" "${MYGAMEDIR}/bin" "${MYGAMEDIR}/bin/${libdir}"
+ make_desktop_entry ${PN}
+
+ doicon dontstarve.xpm
+
+ prepgamesdirs
+}
diff --git a/games-misc/dont-starve/metadata.xml b/games-misc/dont-starve/metadata.xml
new file mode 100644
index 000000000000..cad5a2aa1773
--- /dev/null
+++ b/games-misc/dont-starve/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>
diff --git a/games-misc/exult-sound/Manifest b/games-misc/exult-sound/Manifest
new file mode 100644
index 000000000000..f6ed95082ba1
--- /dev/null
+++ b/games-misc/exult-sound/Manifest
@@ -0,0 +1,4 @@
+DIST U7MusicOGG_1of2.zip 12614413 SHA256 ccf748b346345986b08355ae3bf21c72e3bfffe30ecf9f70fe10fdc8c573a503 SHA512 aadcb085cc97b5330622c4acbd9d00912af7a87371b38e5d984882686ac1624dba1a70a21e66943d8e4de1c5583ab58a32ed851e50d7ecc861d7051383fb21c0 WHIRLPOOL 331c4e4a30dd1918dd2997b52f7fe9fb0c2f033b2a62dae3af46d818b72ed2135877cd7053eddb5c359b156fbebf1ebfd561060037a7c5e298a317af2e745656
+DIST U7MusicOGG_2of2.zip 11382878 SHA256 58627a090f3f75cc4f5731053d5a2b02c6ba0edff1db0551bcd565d04089baaa SHA512 c3157faad5e02531732cd8e7ceb2a81cdb3a5b3eeaf48c73c0e753fc99c0ad438bc49f290d202f59851072aca50d22594f5c4782606d0f70d91d747cea9de924 WHIRLPOOL e73ea2246bb809b0d9b405de60b5cef62a206d85c8311dd3f064d7d56cef632ea07532da0c827dcf2ef908e86ffbab11821f7d1da0cf35693bfb5cd272d84b72
+DIST jmsfx.zip 4778572 SHA256 6932a70e999a203fb478edc6c009ad331709b9d1a760316244b82b60f93b41b2 SHA512 0822a8008ad3b9e2e6824dc6666968b8aa5f475b35dae31cf3d35d36422d68570cef440572bde07d4b4b580520b34581ab0700f7bded0bc66ae5d6020feb1662 WHIRLPOOL a36d1fef2e8a72c76c84b6843cc46e465d4ac192b22daeed19c8ab999f91603e16fb489e2602764b3b9c35bfc126125ca9de343a28da8043b7f9cdaeedda5ea2
+DIST jmsfxsi.zip 6194646 SHA256 be842ae046453ff969bd68516638cf9b66fc0395013c0b0350688f9dcb0e7f42 SHA512 1712d7d264f06d84ba38e864174d2e40a77a4270c94b2a5bccbf31dc41e187d6eeb013ebbfbc171bb6314df103a3ad5dd06daeb8ede0b5aead6cd1443680abdf WHIRLPOOL 3188937cfc454277152c3cb99a0435e7b709c41864a22ec649ce4b6798ce014b124c7fdafb07f489208e25497922dff3d766cffd9b1eba3703720852d3a5c28a
diff --git a/games-misc/exult-sound/exult-sound-0.ebuild b/games-misc/exult-sound/exult-sound-0.ebuild
new file mode 100644
index 000000000000..ff0db08804ab
--- /dev/null
+++ b/games-misc/exult-sound/exult-sound-0.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit games
+
+DESCRIPTION="sound data for games-engines/exult"
+HOMEPAGE="http://exult.sourceforge.net/"
+SRC_URI="mirror://sourceforge/exult/U7MusicOGG_1of2.zip
+ mirror://sourceforge/exult/U7MusicOGG_2of2.zip
+ mirror://sourceforge/exult/jmsfx.zip
+ mirror://sourceforge/exult/jmsfxsi.zip"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE=""
+
+DEPEND="!<games-engines/exult-9999"
+
+S=${WORKDIR}
+
+src_unpack() {
+ mkdir music && cd music || die
+ unpack U7MusicOGG_{1,2}of2.zip
+ cd "${WORKDIR}" || die
+ mkdir flx && cd flx || die
+ unpack jmsfx{,si}.zip
+}
+
+src_install() {
+ insinto "${GAMES_DATADIR}/exult/music"
+ doins "${WORKDIR}/music/"*ogg
+ insinto "${GAMES_DATADIR}/exult/"
+ doins "${WORKDIR}/flx/"*.flx
+ newdoc "${WORKDIR}/music/readme.txt" music-readme.txt
+ prepgamesdirs
+}
diff --git a/games-misc/exult-sound/metadata.xml b/games-misc/exult-sound/metadata.xml
new file mode 100644
index 000000000000..1c9acdb0dae6
--- /dev/null
+++ b/games-misc/exult-sound/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>games</herd>
+ <upstream>
+ <remote-id type="sourceforge">exult</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/games-misc/fortune-mod-all/fortune-mod-all-1.ebuild b/games-misc/fortune-mod-all/fortune-mod-all-1.ebuild
new file mode 100644
index 000000000000..50d6822b3b34
--- /dev/null
+++ b/games-misc/fortune-mod-all/fortune-mod-all-1.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+DESCRIPTION="Meta package for all fortune-mod packages"
+HOMEPAGE="http://www.gentoo.org/"
+
+LICENSE="metapackage"
+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="linguas_cs linguas_de linguas_it linguas_sk offensive"
+
+RDEPEND="games-misc/fortune-mod
+ linguas_cs? ( games-misc/fortune-mod-cs )
+ linguas_de? (
+ games-misc/fortune-mod-at-linux
+ games-misc/fortune-mod-norbert-tretkowski
+ games-misc/fortune-mod-thomas-ogrisegg
+ games-misc/fortune-mod-fvl
+ games-misc/fortune-mod-rss
+ )
+ linguas_it? ( games-misc/fortune-mod-it )
+ linguas_sk? ( games-misc/fortune-mod-debilneho )
+ games-misc/fortune-mod-bofh-excuses
+ games-misc/fortune-mod-calvin
+ games-misc/fortune-mod-chucknorris
+ games-misc/fortune-mod-dubya
+ games-misc/fortune-mod-familyguy
+ games-misc/fortune-mod-firefly
+ games-misc/fortune-mod-futurama
+ games-misc/fortune-mod-gentoo-dev
+ games-misc/fortune-mod-gentoo-forums
+ games-misc/fortune-mod-hitchhiker
+ games-misc/fortune-mod-homer
+ games-misc/fortune-mod-humorixfortunes
+ games-misc/fortune-mod-kernelcookies
+ games-misc/fortune-mod-osfortune
+ games-misc/fortune-mod-powerpuff
+ games-misc/fortune-mod-pqf
+ games-misc/fortune-mod-simpsons-chalkboard
+ offensive? ( games-misc/fortune-mod-slackware[offensive] )
+ games-misc/fortune-mod-smac
+ games-misc/fortune-mod-sp-fortunes
+ games-misc/fortune-mod-starwars
+ games-misc/fortune-mod-strangelove
+ games-misc/fortune-mod-tao
+ games-misc/fortune-mod-zx-error"
diff --git a/games-misc/fortune-mod-all/metadata.xml b/games-misc/fortune-mod-all/metadata.xml
new file mode 100644
index 000000000000..d3c2cc926f0b
--- /dev/null
+++ b/games-misc/fortune-mod-all/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>
diff --git a/games-misc/fortune-mod-at-linux/Manifest b/games-misc/fortune-mod-at-linux/Manifest
new file mode 100644
index 000000000000..5e943bd2e6f5
--- /dev/null
+++ b/games-misc/fortune-mod-at-linux/Manifest
@@ -0,0 +1 @@
+DIST fortune-mod-at.linux-20030120.tar.gz 81012 SHA256 67d686a1f16059b709c0721304512b089efcaee1450be14ebd432c69a0651c7b SHA512 804b785194db2f4727e3196d46b317d6b644bd4d05a4f3286617a2b2e3dff2c9a7c9fb88a0f2a6556d66fd0f975fee8564df236085a7864172c6a6b63c33bec4 WHIRLPOOL 3cac0ae081811b520e32d833f577ecc8cb181a1af151a10ca7855489ab1fbf0e0cde4179dbaa2823894c5ce7a278ce81cce36e95d3aac2e8d084951b1aa1cc95
diff --git a/games-misc/fortune-mod-at-linux/fortune-mod-at-linux-20030120.ebuild b/games-misc/fortune-mod-at-linux/fortune-mod-at-linux-20030120.ebuild
new file mode 100644
index 000000000000..6f244a0f6925
--- /dev/null
+++ b/games-misc/fortune-mod-at-linux/fortune-mod-at-linux-20030120.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI=5
+MY_P="fortune-mod-at.linux-${PV}"
+DESCRIPTION="Quotes from at.linux"
+HOMEPAGE="http://fortune-mod-fvl.sourceforge.net/"
+SRC_URI="mirror://sourceforge/fortune-mod-fvl/${MY_P}.tar.gz"
+
+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}/${MY_P}
+
+src_compile() {
+ # bug #322111
+ if use unicode ; then
+ iconv --from-code=ISO-8859-1 --to-code=UTF-8 at.linux > at.linux-utf8
+ mv at.linux-utf8 at.linux
+ strfile -s at.linux
+ fi
+}
+
+src_install() {
+ insinto /usr/share/fortune
+ doins at.linux at.linux.dat
+}
diff --git a/games-misc/fortune-mod-at-linux/metadata.xml b/games-misc/fortune-mod-at-linux/metadata.xml
new file mode 100644
index 000000000000..875353e4569b
--- /dev/null
+++ b/games-misc/fortune-mod-at-linux/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>games</herd>
+ <upstream>
+ <remote-id type="sourceforge">fortune-mod-fvl</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/games-misc/fortune-mod-bofh-excuses/Manifest b/games-misc/fortune-mod-bofh-excuses/Manifest
new file mode 100644
index 000000000000..45e2c6ed9db3
--- /dev/null
+++ b/games-misc/fortune-mod-bofh-excuses/Manifest
@@ -0,0 +1 @@
+DIST fortune-bofh-excuses-1.2.tar.gz 12753 SHA256 37f7bc54bd591c71ff8df2233e9856f22d0b1357799fa7775aca2d96d2f8d4ba SHA512 71e9f664a1ceaf20455bc2c49e5efe0a953d188cbcd11e5a536fee73a01623659fbcc379baa4d8b7ac4a6970402c085a508f0e37b7fe182869c7ca9ffc2fce99 WHIRLPOOL 45749cede1c9ebcb2c135ba361fb43cef9cb467fafd8c40e2073858b4aaf06307c588439a16108b7ee1e7181df3ed83f7dede92cc661d64818d90acaa9a28ee4
diff --git a/games-misc/fortune-mod-bofh-excuses/fortune-mod-bofh-excuses-1.2.ebuild b/games-misc/fortune-mod-bofh-excuses/fortune-mod-bofh-excuses-1.2.ebuild
new file mode 100644
index 000000000000..ecadfe4ce9e3
--- /dev/null
+++ b/games-misc/fortune-mod-bofh-excuses/fortune-mod-bofh-excuses-1.2.ebuild
@@ -0,0 +1,21 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI=5
+DESCRIPTION="Excuses from Bastard Operator from Hell"
+HOMEPAGE="http://www.stlim.net/staticpages/index.php?page=20020814005536450"
+SRC_URI="http://www.stlim.net/downloads/fortune-bofh-excuses-${PV}.tar.gz"
+
+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=""
+
+RDEPEND="games-misc/fortune-mod"
+
+S=${WORKDIR}/${PN/mod-/}
+
+src_install() {
+ insinto /usr/share/fortune
+ doins bofh-excuses.dat bofh-excuses
+}
diff --git a/games-misc/fortune-mod-bofh-excuses/metadata.xml b/games-misc/fortune-mod-bofh-excuses/metadata.xml
new file mode 100644
index 000000000000..d3c2cc926f0b
--- /dev/null
+++ b/games-misc/fortune-mod-bofh-excuses/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>
diff --git a/games-misc/fortune-mod-calvin/Manifest b/games-misc/fortune-mod-calvin/Manifest
new file mode 100644
index 000000000000..6bb11b886aac
--- /dev/null
+++ b/games-misc/fortune-mod-calvin/Manifest
@@ -0,0 +1 @@
+DIST fortune-mod-calvin-0.1.1.tar.gz 6787 SHA256 7a914611b70a191743cff22a6eef763409d77d67852ba4563e61f0d7db2c04d9 SHA512 047e9694aca702b93661ac252ca8599d6b3778116907fce93ad2b9eca79e9af497b9f2dc188223d19eff8109691cbf66248cea259786c5504446eee3cd3b8245 WHIRLPOOL aca0273b1744c7f95f99ccd0c3bca49d852cb22cc10c275d97c4002916390762f7066a00c8c8a776a76c8a8a9460d1b73e6109eaf7d50628556ce78b8b2a9c06
diff --git a/games-misc/fortune-mod-calvin/fortune-mod-calvin-0.1.1.ebuild b/games-misc/fortune-mod-calvin/fortune-mod-calvin-0.1.1.ebuild
new file mode 100644
index 000000000000..39b728c37bea
--- /dev/null
+++ b/games-misc/fortune-mod-calvin/fortune-mod-calvin-0.1.1.ebuild
@@ -0,0 +1,19 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI=5
+DESCRIPTION="Quotes from Calvin and Hobbes Comic Books"
+HOMEPAGE="http://www.netmeister.org/misc.html"
+SRC_URI="http://www.netmeister.org/apps/${P}.tar.gz"
+
+LICENSE="fairuse"
+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=""
+
+RDEPEND="games-misc/fortune-mod"
+
+src_install() {
+ insinto /usr/share/fortune
+ doins calvin calvin.dat
+}
diff --git a/games-misc/fortune-mod-calvin/metadata.xml b/games-misc/fortune-mod-calvin/metadata.xml
new file mode 100644
index 000000000000..d3c2cc926f0b
--- /dev/null
+++ b/games-misc/fortune-mod-calvin/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>
diff --git a/games-misc/fortune-mod-chucknorris/Manifest b/games-misc/fortune-mod-chucknorris/Manifest
new file mode 100644
index 000000000000..9f8b5fa99885
--- /dev/null
+++ b/games-misc/fortune-mod-chucknorris/Manifest
@@ -0,0 +1 @@
+DIST chucknorris.tar.gz 23035 SHA256 c6407f9869e75fce90d0211045f7e485126332ab4790ecb9de4d0722218466ca SHA512 efcee2c1ce5ee747cbdf3cfb0b52958ca76309cbf509627b602cbc56403e67396c879ea46c084b3d82788404829e48990a534eda9e8f3640d39dc894318ca7c2 WHIRLPOOL 84f392df46441416a823b861cfdc08e8eef005e7b8c6460c05822d4aab778cc6177e92828983f006228b8db2444a1c05cc60d616e1dd656055c8e162b6821c87
diff --git a/games-misc/fortune-mod-chucknorris/fortune-mod-chucknorris-0.1.ebuild b/games-misc/fortune-mod-chucknorris/fortune-mod-chucknorris-0.1.ebuild
new file mode 100644
index 000000000000..1bc79655f28e
--- /dev/null
+++ b/games-misc/fortune-mod-chucknorris/fortune-mod-chucknorris-0.1.ebuild
@@ -0,0 +1,21 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI=5
+DESCRIPTION="Chuck Norris Facts"
+HOMEPAGE="http://www.k-lug.org/~kessler/projects.html"
+SRC_URI="http://www.k-lug.org/~kessler/chucknorris.tar.gz"
+
+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=""
+
+RDEPEND="games-misc/fortune-mod"
+
+S=${WORKDIR}/${PN/mod-/}
+
+src_install() {
+ insinto /usr/share/fortune
+ doins chucknorris chucknorris.dat
+}
diff --git a/games-misc/fortune-mod-chucknorris/metadata.xml b/games-misc/fortune-mod-chucknorris/metadata.xml
new file mode 100644
index 000000000000..d3c2cc926f0b
--- /dev/null
+++ b/games-misc/fortune-mod-chucknorris/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>
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>
diff --git a/games-misc/fortune-mod-debilneho/Manifest b/games-misc/fortune-mod-debilneho/Manifest
new file mode 100644
index 000000000000..2ec5d5fc2ef5
--- /dev/null
+++ b/games-misc/fortune-mod-debilneho/Manifest
@@ -0,0 +1 @@
+DIST fortune-debilneho.tar.bz2 16982 SHA256 65bd5d71530447f093f5637e6baff06861621dd73ac141efbaf0e30888220ae8 SHA512 88ff97a50f512d4e0f52c93546939d1ef168e86d6e92996e6b3674ce5ef03581d20cdcea497869975c0b77a2a1936b142903c248f7c5cab69fd322f207801696 WHIRLPOOL c1e84176785eb1a4035082abdaaa4fa53c48dbe19c47e3540427b5fce7e446128fd9c34a7b516ec50f2b6c491ab63dd4907e04ac0bd023cbae8133a2ecae604c
diff --git a/games-misc/fortune-mod-debilneho/fortune-mod-debilneho-0.1.ebuild b/games-misc/fortune-mod-debilneho/fortune-mod-debilneho-0.1.ebuild
new file mode 100644
index 000000000000..af26624476b7
--- /dev/null
+++ b/games-misc/fortune-mod-debilneho/fortune-mod-debilneho-0.1.ebuild
@@ -0,0 +1,22 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI=5
+MY_PN=${PN/mod-/}
+DESCRIPTION="Quotation's by several people (mostly from Slovakia)"
+HOMEPAGE="http://megac.info"
+SRC_URI="http://megac.info/fortune-debilneho.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=""
+
+RDEPEND="games-misc/fortune-mod"
+
+S=${WORKDIR}/${MY_PN}
+
+src_install() {
+ insinto /usr/share/fortune
+ doins debilneho debilneho.dat
+}
diff --git a/games-misc/fortune-mod-debilneho/metadata.xml b/games-misc/fortune-mod-debilneho/metadata.xml
new file mode 100644
index 000000000000..d3c2cc926f0b
--- /dev/null
+++ b/games-misc/fortune-mod-debilneho/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>
diff --git a/games-misc/fortune-mod-discworld/Manifest b/games-misc/fortune-mod-discworld/Manifest
new file mode 100644
index 000000000000..e91fbcd79de4
--- /dev/null
+++ b/games-misc/fortune-mod-discworld/Manifest
@@ -0,0 +1 @@
+DIST fortune-discworld.tgz 81396 SHA256 1dbb4e081e9181dc092376b25e48d19eb69f7824e12b47dec3f55791ca32dd52 SHA512 62a8995cc197557942e69cb4a31ef05de7b37130194753333715f476f0da9db455482dfe31803018e4d2febaf7ecf3a5785f616203354388dbc7bc9cfbb8ab95 WHIRLPOOL 104c7ad391aabc00cca66e675bd3e10bce04a04e0d1067f6796035392bdca991ffca1e5998bcaa88b622b41ce3fdd78e010147c09bbbb5390a7ddf71a1a93f52
diff --git a/games-misc/fortune-mod-discworld/fortune-mod-discworld-0.1.ebuild b/games-misc/fortune-mod-discworld/fortune-mod-discworld-0.1.ebuild
new file mode 100644
index 000000000000..d3a159e85df4
--- /dev/null
+++ b/games-misc/fortune-mod-discworld/fortune-mod-discworld-0.1.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI=5
+MY_P=${PN/-mod/}
+DESCRIPTION="Quotes from Discworld novels"
+HOMEPAGE="http://www.splitbrain.org/projects/fortunes/discworld"
+SRC_URI="http://www.splitbrain.org/_media/projects/fortunes/${MY_P}.tgz"
+
+LICENSE="fairuse"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
+IUSE=""
+RESTRICT="mirror"
+
+RDEPEND="games-misc/fortune-mod"
+
+S=${WORKDIR}/${MY_P}
+
+src_install() {
+ insinto /usr/share/fortune
+ doins discworld discworld.dat
+}
diff --git a/games-misc/fortune-mod-discworld/metadata.xml b/games-misc/fortune-mod-discworld/metadata.xml
new file mode 100644
index 000000000000..d3c2cc926f0b
--- /dev/null
+++ b/games-misc/fortune-mod-discworld/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>
diff --git a/games-misc/fortune-mod-dubya/Manifest b/games-misc/fortune-mod-dubya/Manifest
new file mode 100644
index 000000000000..d4ad072c7cf9
--- /dev/null
+++ b/games-misc/fortune-mod-dubya/Manifest
@@ -0,0 +1 @@
+DIST Dubya-20050118.tar.gz 27385 SHA256 742cd152e5eaf089383a20a4da71f1266ea6e5f451a3c7eb0ad67207d0a7116d SHA512 19609f79bc12cf74aeef51f3e16a689790ad6ab316924d5726c22e2b1cc7f5007bcaee494da7485d2c34b94ebc071cf62aa042b6156f5f957e55a5e85d1ad5b9 WHIRLPOOL 460669ddf88edffc898528ebdb946892739063ae984f0a2295118b9cf54af152ec9c4f6721236d29140537ce5193a11143c6df4d01d5d8f8d6fdc14cf0a453b8
diff --git a/games-misc/fortune-mod-dubya/fortune-mod-dubya-20050118.ebuild b/games-misc/fortune-mod-dubya/fortune-mod-dubya-20050118.ebuild
new file mode 100644
index 000000000000..2a8f7d8a1f70
--- /dev/null
+++ b/games-misc/fortune-mod-dubya/fortune-mod-dubya-20050118.ebuild
@@ -0,0 +1,21 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI=5
+DESCRIPTION="Quotes from George W. Bush"
+HOMEPAGE="http://dubya.seiler.us/"
+SRC_URI="http://seiler.us/wiki/images/8/8c/Dubya-${PV}.tar.gz"
+
+LICENSE="fairuse"
+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=""
+
+RDEPEND="games-misc/fortune-mod"
+
+S=${WORKDIR}/${PN/fortune-mod-/}
+
+src_install() {
+ insinto /usr/share/fortune
+ doins dubya dubya.dat
+}
diff --git a/games-misc/fortune-mod-dubya/metadata.xml b/games-misc/fortune-mod-dubya/metadata.xml
new file mode 100644
index 000000000000..39a9fb9cd378
--- /dev/null
+++ b/games-misc/fortune-mod-dubya/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>games</herd>
+<longdescription>
+ dubya is a module for fortune-mod, and contains many quotes from George W.
+ Bush. The great majority, if not all, of these quotes were originally
+ gathered in the fantastic George W. Bush Desk Calendar.
+</longdescription>
+</pkgmetadata>
diff --git a/games-misc/fortune-mod-dune/Manifest b/games-misc/fortune-mod-dune/Manifest
new file mode 100644
index 000000000000..a7fbde3e3122
--- /dev/null
+++ b/games-misc/fortune-mod-dune/Manifest
@@ -0,0 +1 @@
+DIST fortune-mod-dune-quotes.2.0.1.tar.gz 66579 SHA256 68b448c146f99dae6ed59dbf483d13ff71082f54851ea4e0f8e4b9e906cdcf7f SHA512 fa40ba975f8a3dd53cc5af7803fd18bc849bd7ea996c03031c3800b3dc42b33dfa540ad1826a0dc94c2284ada9ed6c1b411e314b11a94bad427e080af52b23e9 WHIRLPOOL 9cb0c49885e041d3e000985e5703581ca2c8d848ac6921b4a55ab710d12657f1aa2866a64a3312b6eb51f023e39a6ad5aa5c60f1ab80b3266d88c2fcae3cd39e
diff --git a/games-misc/fortune-mod-dune/fortune-mod-dune-2.0.1.ebuild b/games-misc/fortune-mod-dune/fortune-mod-dune-2.0.1.ebuild
new file mode 100644
index 000000000000..0d24631cbfbf
--- /dev/null
+++ b/games-misc/fortune-mod-dune/fortune-mod-dune-2.0.1.ebuild
@@ -0,0 +1,22 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI=5
+MY_P=${PN}-quotes.${PV}
+DESCRIPTION="Quotes from Frank Herbert's Dune Chronicles"
+HOMEPAGE="http://dune.s31.pl/"
+SRC_URI="http://dune.s31.pl/${MY_P}.tar.gz"
+
+LICENSE="free-noncomm"
+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=""
+
+RDEPEND="games-misc/fortune-mod"
+
+S=${WORKDIR}/${MY_P}
+
+src_install() {
+ insinto /usr/share/fortune
+ doins *
+}
diff --git a/games-misc/fortune-mod-dune/metadata.xml b/games-misc/fortune-mod-dune/metadata.xml
new file mode 100644
index 000000000000..d3c2cc926f0b
--- /dev/null
+++ b/games-misc/fortune-mod-dune/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>
diff --git a/games-misc/fortune-mod-familyguy/Manifest b/games-misc/fortune-mod-familyguy/Manifest
new file mode 100644
index 000000000000..c9c166f94ab4
--- /dev/null
+++ b/games-misc/fortune-mod-familyguy/Manifest
@@ -0,0 +1 @@
+DIST fortune-mod-familyguy-0.2.tar.gz 65992 SHA256 c36398feb2e2ef1890754879109c5d5f1057e842f8465ceea7e3dc6daaa4d99c SHA512 81c3be499b5709588e4da6f5d53cb774d8310f8ee9e626b704009357b9d0572f052b94d48b19671a7592f9c3e46def9f1b9e01275a2d896f101ef5d7b294ed68 WHIRLPOOL 9b10ce9d6156e15b3883dbf4d6d5d8305211970a8027714020ca00c65e4503d8ec028eb51ce9ae59d14c35032f8d3309dee55e535931ff3e27d8c8a5b09562cc
diff --git a/games-misc/fortune-mod-familyguy/fortune-mod-familyguy-0.2.ebuild b/games-misc/fortune-mod-familyguy/fortune-mod-familyguy-0.2.ebuild
new file mode 100644
index 000000000000..9c495df9876a
--- /dev/null
+++ b/games-misc/fortune-mod-familyguy/fortune-mod-familyguy-0.2.ebuild
@@ -0,0 +1,19 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI=5
+DESCRIPTION="Quotes from the TV-Series -Family Guy-"
+HOMEPAGE="http://jon.oberheide.org/familyguy/"
+SRC_URI="http://jon.oberheide.org/familyguy/${P}.tar.gz"
+
+LICENSE="fairuse"
+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=""
+
+RDEPEND="games-misc/fortune-mod"
+
+src_install() {
+ insinto /usr/share/fortune
+ doins familyguy familyguy.dat
+}
diff --git a/games-misc/fortune-mod-familyguy/metadata.xml b/games-misc/fortune-mod-familyguy/metadata.xml
new file mode 100644
index 000000000000..d3c2cc926f0b
--- /dev/null
+++ b/games-misc/fortune-mod-familyguy/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>
diff --git a/games-misc/fortune-mod-firefly/Manifest b/games-misc/fortune-mod-firefly/Manifest
new file mode 100644
index 000000000000..5c5791a25fa4
--- /dev/null
+++ b/games-misc/fortune-mod-firefly/Manifest
@@ -0,0 +1 @@
+DIST fortune-firefly-2.1.1.tar.bz2 36649 SHA256 5240c48393ec7d5588ea79ca3d26cc581a460e81ab0f258df25876a5ea89ad7e SHA512 17d659a215598915228a494337f2a49878d2f238e2fc709559bc3dfdf58ff15ae5bf35a2051bd3abdf6dc3608bbbba6b5619737e0cb94a0aa8905fd05e4abca0 WHIRLPOOL d1e30f39d7b67bfc2c300c95e076c2091f8b7175f80159979a7a24a1621b1fa6634ea504cfc0c5f8be41939621aace410dff20990144fe655bb3d451f17e5147
diff --git a/games-misc/fortune-mod-firefly/fortune-mod-firefly-2.1.1.ebuild b/games-misc/fortune-mod-firefly/fortune-mod-firefly-2.1.1.ebuild
new file mode 100644
index 000000000000..f143580cc95b
--- /dev/null
+++ b/games-misc/fortune-mod-firefly/fortune-mod-firefly-2.1.1.ebuild
@@ -0,0 +1,21 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI=5
+DESCRIPTION="Quotes from FireFly"
+HOMEPAGE="http://www.daughtersoftiresias.org/progs/firefly/"
+SRC_URI="http://www.daughtersoftiresias.org/progs/firefly/${P/mod-}.tar.bz2"
+
+LICENSE="fairuse"
+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=""
+
+RDEPEND="games-misc/fortune-mod"
+
+S=${WORKDIR}
+
+src_install() {
+ insinto /usr/share/fortune
+ doins firefly firefly.dat
+}
diff --git a/games-misc/fortune-mod-firefly/metadata.xml b/games-misc/fortune-mod-firefly/metadata.xml
new file mode 100644
index 000000000000..d3c2cc926f0b
--- /dev/null
+++ b/games-misc/fortune-mod-firefly/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>
diff --git a/games-misc/fortune-mod-flashrider/Manifest b/games-misc/fortune-mod-flashrider/Manifest
new file mode 100644
index 000000000000..8cbe2bbe36ab
--- /dev/null
+++ b/games-misc/fortune-mod-flashrider/Manifest
@@ -0,0 +1,5 @@
+DIST fortunes-flashrider-0.80.tar.bz2 98785 SHA256 2752defc081f0333638687d22ad2a856af329f0b041633a673fa89aeb74cbf3b
+DIST fortunes-flashrider-0.90-BB-Styles-Edition.tar.bz2 102273 SHA256 f7d8901deb5807f975bf52d21009e53f6b35aa850cf48ef5c525da0b4fdb681e
+DIST fortunes-flashrider-1.00.tar.bz2 113598 SHA256 276e3e802c0485122b911d12c9a7441d90bf68ad1428c10a8acb88f148485c35 SHA512 f36614f8404900580e3ca174560b330dbb87a36c4fef414cafac3051f396fe51128dba0b827494ad7813bb4a9a363f4d22c5e6f9364ca4cbb71a9e9cc40c69dd WHIRLPOOL 42c17adc8a99a4a3b68fbb5d010b576e97fa7a5f39b537f63c78ce9322a0a1cc9120c9b3e9cfebbb7efcb0af992dc40c3bb4d4ec741b41d201d9bace765fba16
+DIST fortunes-flashrider_1.10.tar.bz2 126771 SHA256 d807eae7a43b9ee4ee5ab8824d0b7eab81ae00ad9c8899f903ebf8cdb5987744 SHA512 3fdf4f19d474cd5560ec234a290a9d6a3108148a8125b93817c4e0513f884a95449588f27775cb7ba321521d19d540bd459d1bd14648206216f9beac5fe6764e WHIRLPOOL 5a1c68740d0aa539ceadd80637172ee04832f03ca1e692aa7aa9570bd3e4ada2d2252c4ec9850d8967c95e0a0c969f6c45b504daf804e40da2f1df731fa26636
+DIST fortunes-prolinux-0.25.tar.bz2 22839 SHA256 c4517b9e83f879ff543266b2a020ccf246c4f3c5196017929bb0eccf4ab7e879
diff --git a/games-misc/fortune-mod-flashrider/fortune-mod-flashrider-0.25.ebuild b/games-misc/fortune-mod-flashrider/fortune-mod-flashrider-0.25.ebuild
new file mode 100644
index 000000000000..838e92cbd829
--- /dev/null
+++ b/games-misc/fortune-mod-flashrider/fortune-mod-flashrider-0.25.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=2
+
+DESCRIPTION="Quotes from Prolinux articles and comments"
+HOMEPAGE="http://www.pro-linux.de/news/2009/14520.html"
+SRC_URI="http://www.pro-linux.de/files/fortunes-prolinux-${PV}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 x86"
+IUSE=""
+
+DEPEND="games-misc/fortune-mod"
+
+S=${WORKDIR}/${PN/-mod-flashrider/s-prolinux}
+
+src_compile() {
+ ./mkdat cookies
+}
+
+src_install() {
+ insinto /usr/share/fortune
+ doins prolinux prolinux.dat || die
+ dodoc AUTHORS ChangeLog README
+}
diff --git a/games-misc/fortune-mod-flashrider/fortune-mod-flashrider-0.80.ebuild b/games-misc/fortune-mod-flashrider/fortune-mod-flashrider-0.80.ebuild
new file mode 100644
index 000000000000..d291549090be
--- /dev/null
+++ b/games-misc/fortune-mod-flashrider/fortune-mod-flashrider-0.80.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=3
+
+MY_PN="${PN/-mod/s}"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="Quotes from Prolinux articles and comments"
+HOMEPAGE="http://www.nanolx.org/random/fortunesflashrider/"
+SRC_URI="http://www.nanolx.org/downloads/${MY_P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
+IUSE=""
+
+DEPEND="games-misc/fortune-mod"
+
+S=${WORKDIR}/${MY_PN}
+
+src_prepare()
+{
+ sed -e 's#INSTALLDIR = .*#INSTALLDIR = /share/fortune#' -i Makefile
+}
+
+src_install() {
+ emake install PREFIX="${EPREFIX}"/usr DESTDIR="${D}"
+ dodoc AUTHORS ChangeLog README
+}
diff --git a/games-misc/fortune-mod-flashrider/fortune-mod-flashrider-0.90.ebuild b/games-misc/fortune-mod-flashrider/fortune-mod-flashrider-0.90.ebuild
new file mode 100644
index 000000000000..15fbf4dee582
--- /dev/null
+++ b/games-misc/fortune-mod-flashrider/fortune-mod-flashrider-0.90.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=3
+
+MY_PN="${PN/-mod/s}"
+MY_P="${MY_PN}-${PV}-BB-Styles-Edition"
+
+DESCRIPTION="Quotes from Prolinux articles and comments"
+HOMEPAGE="http://www.nanolx.org/random/fortunesflashrider/"
+SRC_URI="http://www.nanolx.org/downloads/${MY_P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
+IUSE=""
+
+DEPEND="games-misc/fortune-mod"
+RDEPEND="${DEPEND}"
+
+S=${WORKDIR}/${MY_PN}
+
+src_prepare()
+{
+ sed -e 's#INSTALLDIR = .*#INSTALLDIR = /share/fortune#' -i Makefile
+}
+
+src_install() {
+ emake install PREFIX="${EPREFIX}"/usr DESTDIR="${D}"
+ dodoc AUTHORS ChangeLog README
+}
diff --git a/games-misc/fortune-mod-flashrider/fortune-mod-flashrider-1.00.ebuild b/games-misc/fortune-mod-flashrider/fortune-mod-flashrider-1.00.ebuild
new file mode 100644
index 000000000000..b2a67f55f90e
--- /dev/null
+++ b/games-misc/fortune-mod-flashrider/fortune-mod-flashrider-1.00.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=3
+
+MY_PN="${PN/-mod/s}"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="Quotes from Prolinux articles and comments"
+HOMEPAGE="http://www.nanolx.org/random/fortunesflashrider/"
+SRC_URI="http://www.nanolx.org/downloads/${MY_P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 x86 ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
+IUSE=""
+
+DEPEND="games-misc/fortune-mod"
+RDEPEND="${DEPEND}"
+
+S=${WORKDIR}/${MY_PN}
+
+src_prepare()
+{
+ sed -e 's#INSTALLDIR = .*#INSTALLDIR = /share/fortune#' -i Makefile
+}
+
+src_install() {
+ emake install PREFIX="${EPREFIX}"/usr DESTDIR="${D}"
+ dodoc AUTHORS ChangeLog README
+}
diff --git a/games-misc/fortune-mod-flashrider/fortune-mod-flashrider-1.10.ebuild b/games-misc/fortune-mod-flashrider/fortune-mod-flashrider-1.10.ebuild
new file mode 100644
index 000000000000..67a4f8d2e115
--- /dev/null
+++ b/games-misc/fortune-mod-flashrider/fortune-mod-flashrider-1.10.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+MY_PN="${PN/-mod/s}"
+MY_P="${MY_PN}_${PV}"
+
+DESCRIPTION="Quotes from Prolinux articles and comments"
+HOMEPAGE="http://downloads.nanolx.org/index.php?dir=fortunes-flashrider"
+SRC_URI="http://downloads.nanolx.org/fortunes-flashrider/${MY_P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
+IUSE=""
+
+DEPEND="games-misc/fortune-mod"
+RDEPEND="${DEPEND}"
+
+S=${WORKDIR}/${MY_P}
+
+src_prepare()
+{
+ sed -e 's#INSTALLDIR = .*#INSTALLDIR = /share/fortune#' -i Makefile
+}
+
+src_install() {
+ emake install PREFIX="${EPREFIX}"/usr DESTDIR="${D}"
+ dodoc AUTHORS ChangeLog README
+}
diff --git a/games-misc/fortune-mod-flashrider/metadata.xml b/games-misc/fortune-mod-flashrider/metadata.xml
new file mode 100644
index 000000000000..d0f7034945d3
--- /dev/null
+++ b/games-misc/fortune-mod-flashrider/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>games</herd>
+ <maintainer>
+ <email>zzam@gentoo.org</email>
+ <name>Matthias Schwarzott</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/games-misc/fortune-mod-futurama/Manifest b/games-misc/fortune-mod-futurama/Manifest
new file mode 100644
index 000000000000..5155f845c42d
--- /dev/null
+++ b/games-misc/fortune-mod-futurama/Manifest
@@ -0,0 +1 @@
+DIST fortune-mod-futurama-0.2.tar.gz 19349 SHA256 e3076fdfa7f2e198df7adff06556597b87f7f5e0ab6facf850aed48c4d0ef2d2 SHA512 a6780f46c361c31d523c8a39a47dd5d752a7cdb86d26f26bcfe89e5ee367c81af00ad4b538be5a40827a3b212214565afe5b438cb965fe87e05d9574c9483a01 WHIRLPOOL ba705d8aa8eed8ff93068ed05a63cbe0d96065f35fbddf61bd971e07ea060a6167fa08dd1dd46e886963c82bc3764efa6752b0c99d6f2adf7a69c2a829273b64
diff --git a/games-misc/fortune-mod-futurama/fortune-mod-futurama-0.2.ebuild b/games-misc/fortune-mod-futurama/fortune-mod-futurama-0.2.ebuild
new file mode 100644
index 000000000000..461aa4213cca
--- /dev/null
+++ b/games-misc/fortune-mod-futurama/fortune-mod-futurama-0.2.ebuild
@@ -0,0 +1,19 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI=5
+DESCRIPTION="Quotes from the TV-Series -Futurama-"
+HOMEPAGE="http://www.netmeister.org/misc.html"
+SRC_URI="http://www.netmeister.org/apps/${P}.tar.gz"
+
+LICENSE="fairuse"
+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=""
+
+RDEPEND="games-misc/fortune-mod"
+
+src_install() {
+ insinto /usr/share/fortune
+ doins futurama futurama.dat
+}
diff --git a/games-misc/fortune-mod-futurama/metadata.xml b/games-misc/fortune-mod-futurama/metadata.xml
new file mode 100644
index 000000000000..d3c2cc926f0b
--- /dev/null
+++ b/games-misc/fortune-mod-futurama/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>
diff --git a/games-misc/fortune-mod-fvl/Manifest b/games-misc/fortune-mod-fvl/Manifest
new file mode 100644
index 000000000000..0a0e58db5a08
--- /dev/null
+++ b/games-misc/fortune-mod-fvl/Manifest
@@ -0,0 +1 @@
+DIST fortune-mod-fvl-20030120.tar.gz 66081 SHA256 fbbfc56d33d5bb177c0d051ecdfd90736f5306a2855c02fd53fb69ed95e5ebe6 SHA512 43213abb2772f560d65f8e552a9c384f2163650cb2fa29a9203a05a0c3b36dff6645afb181e317d5e9258cf0597607bb185a8c852289a2f3cf015c6e4f946bf3 WHIRLPOOL 7d285ec71ab78f1dacabd612853e54ef8a77949df466716c60b9783c1210d87aa617e1a0e07a8510942b2360c49cfd1b216884d8aea80dcf89631fe1f1545029
diff --git a/games-misc/fortune-mod-fvl/fortune-mod-fvl-20030120.ebuild b/games-misc/fortune-mod-fvl/fortune-mod-fvl-20030120.ebuild
new file mode 100644
index 000000000000..6c55c22e1842
--- /dev/null
+++ b/games-misc/fortune-mod-fvl/fortune-mod-fvl-20030120.ebuild
@@ -0,0 +1,19 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI=5
+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 ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
+IUSE=""
+
+RDEPEND="games-misc/fortune-mod"
+
+src_install() {
+ insinto /usr/share/fortune
+ doins fvl fvl.dat
+}
diff --git a/games-misc/fortune-mod-fvl/metadata.xml b/games-misc/fortune-mod-fvl/metadata.xml
new file mode 100644
index 000000000000..875353e4569b
--- /dev/null
+++ b/games-misc/fortune-mod-fvl/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>games</herd>
+ <upstream>
+ <remote-id type="sourceforge">fortune-mod-fvl</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/games-misc/fortune-mod-gentoo-dev/Manifest b/games-misc/fortune-mod-gentoo-dev/Manifest
new file mode 100644
index 000000000000..1c6fdcca6cf3
--- /dev/null
+++ b/games-misc/fortune-mod-gentoo-dev/Manifest
@@ -0,0 +1,2 @@
+DIST fortune-gentoo-dev-20090306.tar.bz2 50355 SHA256 e44afa4c7e11ef854fe8e4b783eefe2caa9907c3d8e925f10de5f7cbbbb1acd5 SHA512 2a6014d1dc95cae8a50c8f502f8271a9b7bf349cb49076ac3e76f3da55f0e509caf27ee04827b1b42add1b42ae07824173495bb0dbed5421693508fff9f36acc WHIRLPOOL 1d24c583cb38549403857acbb2fe79093a177ed8d07fb171e756dff90046d12ba98db5deeb60b3cb152c2500142a9b3d157eb829d685b4c6800ed1542b70eee8
+DIST gentoo-dev-20061115.gz 39451 SHA256 b494fae306fa0c6b9783c9d8f0fc62ba35c207d3d4d1886795896d8729734d06
diff --git a/games-misc/fortune-mod-gentoo-dev/fortune-mod-gentoo-dev-20061115.ebuild b/games-misc/fortune-mod-gentoo-dev/fortune-mod-gentoo-dev-20061115.ebuild
new file mode 100644
index 000000000000..3ab384b586b7
--- /dev/null
+++ b/games-misc/fortune-mod-gentoo-dev/fortune-mod-gentoo-dev-20061115.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+DESCRIPTION="Fortune database of #gentoo-dev quotes"
+HOMEPAGE="http://dev.gentoo.org/~avenj"
+SRC_URI="http://ircd.oppresses.us/~avenj/files/gentoo-dev-${PV}.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd"
+IUSE=""
+
+RDEPEND="games-misc/fortune-mod"
+
+S=${WORKDIR}
+
+src_compile() {
+ mv gentoo-dev-${PV} gentoo-dev || die
+ strfile gentoo-dev || die
+}
+
+src_install() {
+ insinto /usr/share/fortune
+ doins gentoo-dev gentoo-dev.dat || die
+}
diff --git a/games-misc/fortune-mod-gentoo-dev/fortune-mod-gentoo-dev-20090306.ebuild b/games-misc/fortune-mod-gentoo-dev/fortune-mod-gentoo-dev-20090306.ebuild
new file mode 100644
index 000000000000..f8df2e3c4567
--- /dev/null
+++ b/games-misc/fortune-mod-gentoo-dev/fortune-mod-gentoo-dev-20090306.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI=5
+DESCRIPTION="Fortune database of #gentoo-dev quotes"
+HOMEPAGE="http://www.gentoo.org/"
+MY_PN="fortune-gentoo-dev"
+MY_P="${MY_PN}-${PV}"
+SRC_URI="mirror://gentoo/${MY_P}.tar.bz2
+ http://dev.gentoo.org/~robbat2/distfiles/${MY_P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd"
+IUSE="offensive"
+
+RDEPEND="games-misc/fortune-mod"
+# Perl is used to build stuff only
+# and strfile belongs to fortune-mod
+DEPEND="dev-lang/perl
+ ${RDEPEND}"
+
+S="${WORKDIR}/${MY_P}"
+
+src_install() {
+ default
+ use offensive || rm -f "${D}"/usr/share/fortune/off/*
+}
diff --git a/games-misc/fortune-mod-gentoo-dev/metadata.xml b/games-misc/fortune-mod-gentoo-dev/metadata.xml
new file mode 100644
index 000000000000..066f9dbc7be2
--- /dev/null
+++ b/games-misc/fortune-mod-gentoo-dev/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>games</herd>
+<maintainer>
+ <email>robbat2@gentoo.org</email>
+ <name>Robin H. Johnson</name>
+ <description>Maintainer. Also, please submit snippets for the fortunes to
+ me.</description>
+</maintainer>
+</pkgmetadata>
+
diff --git a/games-misc/fortune-mod-gentoo-forums/Manifest b/games-misc/fortune-mod-gentoo-forums/Manifest
new file mode 100644
index 000000000000..6ce4121c83d4
--- /dev/null
+++ b/games-misc/fortune-mod-gentoo-forums/Manifest
@@ -0,0 +1,2 @@
+DIST gentoo-forums-20041207.gz 8809 SHA256 d6cababfefde07a250d043416488bcb4a0298c4aae1ecc4fc4f55755653c5f72 SHA512 55f1da4dd6c37778ebb46de5436a8f69475cd9a25a5bd01a325cbd825cae4bc6ecaeda94d6b38104fb71a4baa56577f12390884aac545c5d891895aa7ee1738a WHIRLPOOL fc247d7e578090ced0056018908f70ac09b70afd2992f91a2d367c2f3f290c47a3f4ce5705ca75f74572b684fd5b0c5d3fc3d3555af39d56a4f8e9e16c18043f
+DIST gentoo-forums-offensive-20041207.gz 1510 SHA256 ece84fb263655c598d90398661ce974a02fba8a8f1cde8b27873606de051a88f SHA512 244b4e7f5c5feaa217298f79d2f157999c71d89824f25d89d7a234ec72950bef93a4c0fa23ce1fb385c5c6788c62f09d6b17f454e70cba0052870f4267522dbb WHIRLPOOL 4f6e7476368a97aed8e0678480949f99d8ac0d0fe710616d5213defda6bb59a249baa0cfc812e415e680b58962ac536ffb9f910de899f1b951427bf3ed66e865
diff --git a/games-misc/fortune-mod-gentoo-forums/fortune-mod-gentoo-forums-20041207.ebuild b/games-misc/fortune-mod-gentoo-forums/fortune-mod-gentoo-forums-20041207.ebuild
new file mode 100644
index 000000000000..bbcbaf423859
--- /dev/null
+++ b/games-misc/fortune-mod-gentoo-forums/fortune-mod-gentoo-forums-20041207.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI=5
+DESCRIPTION="Fortune database of quotes from forums.gentoo.org"
+HOMEPAGE="http://forums.gentoo.org/"
+SRC_URI="mirror://gentoo/gentoo-forums-${PV}.gz
+ offensive? ( mirror://gentoo/gentoo-forums-offensive-${PV}.gz )"
+
+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"
+
+DEPEND="games-misc/fortune-mod"
+RDEPEND="${DEPEND}"
+
+S=${WORKDIR}
+
+src_compile() {
+ mv gentoo-forums-${PV} gentoo-forums || die
+ use offensive && cat gentoo-forums-offensive-${PV} >> gentoo-forums
+ strfile gentoo-forums || die
+}
+
+src_install() {
+ insinto /usr/share/fortune
+ doins gentoo-forums gentoo-forums.dat
+}
diff --git a/games-misc/fortune-mod-gentoo-forums/metadata.xml b/games-misc/fortune-mod-gentoo-forums/metadata.xml
new file mode 100644
index 000000000000..d3c2cc926f0b
--- /dev/null
+++ b/games-misc/fortune-mod-gentoo-forums/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>
diff --git a/games-misc/fortune-mod-gentoo-ru/Manifest b/games-misc/fortune-mod-gentoo-ru/Manifest
new file mode 100644
index 000000000000..717e9a45f920
--- /dev/null
+++ b/games-misc/fortune-mod-gentoo-ru/Manifest
@@ -0,0 +1,2 @@
+DIST gentoo-ru-0.25.gz 74751 SHA256 2c73ea65ca841fd35a38a8f9aa0d890f12865dd6ae79d24c2333501c54e52cdf
+DIST gentoo-ru-0.26.gz 77812 SHA256 1ce7e038c5a97ec226f38ded4070fa4bab363b6ff6649bf91daa3ce327cb68d9
diff --git a/games-misc/fortune-mod-gentoo-ru/fortune-mod-gentoo-ru-0.25.ebuild b/games-misc/fortune-mod-gentoo-ru/fortune-mod-gentoo-ru-0.25.ebuild
new file mode 100644
index 000000000000..47518d29dbc2
--- /dev/null
+++ b/games-misc/fortune-mod-gentoo-ru/fortune-mod-gentoo-ru-0.25.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+
+DESCRIPTION="Fortune database of quotes from gentoo.ru forum and gentoo@conference.gentoo.ru"
+HOMEPAGE="http://fortunes.gentoo.ru"
+SRC_URI="http://slepnoga.googlecode.com/files/gentoo-ru-${PV}.gz
+ http://marsoft.dyndns.info/fortunes-gentoo-ru/gentoo-ru-${PV}.gz"
+
+LICENSE="fairuse"
+SLOT="0"
+KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
+IUSE=""
+
+RDEPEND="games-misc/fortune-mod"
+DEPEND="${RDEPEND}"
+
+S="${WORKDIR}"
+
+src_compile() {
+ mv gentoo-ru-${PV} gentoo-ru || die
+ strfile gentoo-ru || die
+}
+
+src_install() {
+ insinto /usr/share/fortune
+ doins gentoo-ru gentoo-ru.dat
+}
diff --git a/games-misc/fortune-mod-gentoo-ru/fortune-mod-gentoo-ru-0.26.ebuild b/games-misc/fortune-mod-gentoo-ru/fortune-mod-gentoo-ru-0.26.ebuild
new file mode 100644
index 000000000000..dfabf14a6800
--- /dev/null
+++ b/games-misc/fortune-mod-gentoo-ru/fortune-mod-gentoo-ru-0.26.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+
+DESCRIPTION="Fortune database of quotes from gentoo.ru forum and gentoo@conference.gentoo.ru"
+HOMEPAGE="http://fortunes.gentoo.ru"
+SRC_URI="http://slepnoga.googlecode.com/files/gentoo-ru-${PV}.gz
+ http://maryasin.name/fortunes-gentoo-ru/gentoo-ru-${PV}.gz"
+
+LICENSE="fairuse"
+SLOT="0"
+KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
+IUSE=""
+
+RDEPEND="games-misc/fortune-mod"
+DEPEND="${RDEPEND}"
+
+S="${WORKDIR}"
+
+src_compile() {
+ mv gentoo-ru-${PV} gentoo-ru || die
+ strfile gentoo-ru || die
+}
+
+src_install() {
+ insinto /usr/share/fortune
+ doins gentoo-ru gentoo-ru.dat
+}
diff --git a/games-misc/fortune-mod-gentoo-ru/fortune-mod-gentoo-ru-9999.ebuild b/games-misc/fortune-mod-gentoo-ru/fortune-mod-gentoo-ru-9999.ebuild
new file mode 100644
index 000000000000..cfe2e1834255
--- /dev/null
+++ b/games-misc/fortune-mod-gentoo-ru/fortune-mod-gentoo-ru-9999.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="4"
+
+inherit mercurial
+
+DESCRIPTION="Fortune database of quotes from gentoo.ru forum and gentoo@conference.gentoo.ru"
+HOMEPAGE="http://fortunes.gentoo.ru"
+SRC_URI=""
+EHG_REPO_URI="https://gentoo-ru-fortunes.slepnoga.googlecode.com/hg"
+
+LICENSE="fairuse"
+SLOT="0"
+KEYWORDS=""
+IUSE=""
+
+RDEPEND="games-misc/fortune-mod"
+DEPEND="${RDEPEND}"
+
+S="${WORKDIR}"
+
+src_prepare() {
+ mv gentoo-ru-9999 gentoo-ru || die
+}
+
+src_compile() {
+ strfile gentoo-ru || die
+}
+
+src_install() {
+ insinto /usr/share/fortune
+ doins gentoo-ru gentoo-ru.dat
+}
diff --git a/games-misc/fortune-mod-gentoo-ru/metadata.xml b/games-misc/fortune-mod-gentoo-ru/metadata.xml
new file mode 100644
index 000000000000..c1f4cdf9b82d
--- /dev/null
+++ b/games-misc/fortune-mod-gentoo-ru/metadata.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>proxy-maintainers</herd>
+ <maintainer>
+ <email>andreis.vinogradovs@gmail.com</email>
+ </maintainer>
+ <maintainer>
+ <email>qnikst@gentoo.org</email>
+ </maintainer>
+ <longdescription>Fortune database of quotes from gentoo.ru forum and gentoo@conference.gentoo.ru
+and other russian gentoo related resourses.</longdescription>
+ <upstream>
+ <remote-id type="google-code">slepnoga</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/games-misc/fortune-mod-hitchhiker/Manifest b/games-misc/fortune-mod-hitchhiker/Manifest
new file mode 100644
index 000000000000..a434311bdcf2
--- /dev/null
+++ b/games-misc/fortune-mod-hitchhiker/Manifest
@@ -0,0 +1 @@
+DIST fortune-hitchhiker.tgz 11560 SHA256 1cf64726d274e2d0e48d7dc92716c7401908f476e17f03a3420126025bafcf99 SHA512 a4f4a99c33764e6d4ec823a57f9d2d40168ddf3cb9506e85fb0f6f10b11673abd76d02e9af8a95926ba758a28fbbe895a427b40c36bd31bc43252c4e6dd610b0 WHIRLPOOL b1adf620df37771e2ce91e3bc9faf160e39f7f794b9963ca5af7e145971a7b671f7de592160a986f2904b822ba37f8acc1f8bb349b8a145ae16b02614c7f773c
diff --git a/games-misc/fortune-mod-hitchhiker/fortune-mod-hitchhiker-0.1.ebuild b/games-misc/fortune-mod-hitchhiker/fortune-mod-hitchhiker-0.1.ebuild
new file mode 100644
index 000000000000..5f9ad4184e01
--- /dev/null
+++ b/games-misc/fortune-mod-hitchhiker/fortune-mod-hitchhiker-0.1.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI=5
+MY_P=${PN/-mod/}
+DESCRIPTION="Quotes from Hitchhikers Guide to the Galaxy"
+HOMEPAGE="http://www.splitbrain.org/projects/fortunes/hg2g"
+SRC_URI="http://www.splitbrain.org/_media/projects/fortunes/${MY_P}.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=""
+RESTRICT="mirror"
+
+RDEPEND="games-misc/fortune-mod"
+
+S=${WORKDIR}/${MY_P}
+
+src_install() {
+ insinto /usr/share/fortune
+ doins hitchhiker hitchhiker.dat
+}
diff --git a/games-misc/fortune-mod-hitchhiker/metadata.xml b/games-misc/fortune-mod-hitchhiker/metadata.xml
new file mode 100644
index 000000000000..d3c2cc926f0b
--- /dev/null
+++ b/games-misc/fortune-mod-hitchhiker/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>
diff --git a/games-misc/fortune-mod-homer/Manifest b/games-misc/fortune-mod-homer/Manifest
new file mode 100644
index 000000000000..898a77fe6764
--- /dev/null
+++ b/games-misc/fortune-mod-homer/Manifest
@@ -0,0 +1 @@
+DIST homer-quotes.tar.gz 23142 SHA256 32ba9fcd55b81c444888ff97c0556566b1a069f9d9ced1d76edbe0e1256b5c98 SHA512 babe8ce488f08bfba77dbed8e6ef28afb50952b48540c62c3b9211ff7504e3d0da0ea05a116f096aed3dbbd732afaf1ad60bb88772305dc43ecb0c2f721a7e33 WHIRLPOOL 0b956220d272965f845ca7327fe05b3bab188d099340e1521b584567a7a54f525e11c9ec30c52ca95ebd5b34a423859071ddba4aa16f3e181f9726ba57767601
diff --git a/games-misc/fortune-mod-homer/fortune-mod-homer-0.1.ebuild b/games-misc/fortune-mod-homer/fortune-mod-homer-0.1.ebuild
new file mode 100644
index 000000000000..202fe2390014
--- /dev/null
+++ b/games-misc/fortune-mod-homer/fortune-mod-homer-0.1.ebuild
@@ -0,0 +1,21 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI=5
+DESCRIPTION="Quotes from Homer Simpson"
+HOMEPAGE="http://www.cs.indiana.edu/~crcarter/homer/homer.html"
+SRC_URI="http://www.cs.indiana.edu/~crcarter/homer/homer-quotes.tar.gz"
+
+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=""
+
+RDEPEND="games-misc/fortune-mod"
+
+S=${WORKDIR}/${PN/mod-/}
+
+src_install() {
+ insinto /usr/share/fortune
+ doins homer homer.dat
+}
diff --git a/games-misc/fortune-mod-homer/metadata.xml b/games-misc/fortune-mod-homer/metadata.xml
new file mode 100644
index 000000000000..d3c2cc926f0b
--- /dev/null
+++ b/games-misc/fortune-mod-homer/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>
diff --git a/games-misc/fortune-mod-humorixfortunes/Manifest b/games-misc/fortune-mod-humorixfortunes/Manifest
new file mode 100644
index 000000000000..991bfb4e3dcd
--- /dev/null
+++ b/games-misc/fortune-mod-humorixfortunes/Manifest
@@ -0,0 +1 @@
+DIST humorixfortunes-1.4.tar.gz 97053 SHA256 482ff74a98e15fbd601fa0c7773f861858ba894d5f9acb543591374f41501c51 SHA512 beac030bb3d7bbfa9286c41cd7a40fce2166fcb058443af0be7ab3f8897220ed4ed1e259fd642554f4b38554351e1bfc2e5eb660a4612cdc23269dbf40163c7c WHIRLPOOL 34510a0a962cb8378c4a1cee2a1f095485f53c9e7f5a01aeac20ed596887d52bac15d570aa7fd1c9fa9535f1e172e9c0dd4afcdb02075038c09352819dfdbc9b
diff --git a/games-misc/fortune-mod-humorixfortunes/fortune-mod-humorixfortunes-1.4-r1.ebuild b/games-misc/fortune-mod-humorixfortunes/fortune-mod-humorixfortunes-1.4-r1.ebuild
new file mode 100644
index 000000000000..8a5189bd01da
--- /dev/null
+++ b/games-misc/fortune-mod-humorixfortunes/fortune-mod-humorixfortunes-1.4-r1.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI=5
+MY_P=${P/fortune-mod-/}
+DESCRIPTION="Extra fortune cookies for fortune"
+HOMEPAGE="http://i-want-a-website.com/about-linux/downloads.shtml"
+SRC_URI="http://humorix.org/downloads/${MY_P}.tar.gz"
+
+LICENSE="freedist fairuse"
+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=""
+
+RDEPEND="games-misc/fortune-mod"
+
+S=${WORKDIR}/${MY_P}
+
+src_install() {
+ insinto /usr/share/fortune
+ doins humorix-misc humorix-misc.dat
+ doins humorix-stories humorix-stories.dat
+}
diff --git a/games-misc/fortune-mod-humorixfortunes/metadata.xml b/games-misc/fortune-mod-humorixfortunes/metadata.xml
new file mode 100644
index 000000000000..d3c2cc926f0b
--- /dev/null
+++ b/games-misc/fortune-mod-humorixfortunes/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>
diff --git a/games-misc/fortune-mod-it/Manifest b/games-misc/fortune-mod-it/Manifest
new file mode 100644
index 000000000000..621e621b9ba1
--- /dev/null
+++ b/games-misc/fortune-mod-it/Manifest
@@ -0,0 +1 @@
+DIST fortune-it-1.99.tar.gz 739886 SHA256 f282626904701671d814411665e42edcd3257df8b6f1244993cc014424fa7e6c SHA512 b4b119f5def51a31ee25c5df3e47a0b9aa45341ecb1f7048233aa1d5c1d4fc8127b9eaa29c028a9df5ad71d9868d4006e7d3a1bef776b34d337a5bca47bd5d53 WHIRLPOOL db5a8f6f070d9b0cba8873d131a9a73607523468357060f09412753cfddae24ef0dd9be037fb1e68dafdab3584e586c333c145b98ffef6311cccfb27e8b6efa7
diff --git a/games-misc/fortune-mod-it/fortune-mod-it-1.99.ebuild b/games-misc/fortune-mod-it/fortune-mod-it-1.99.ebuild
new file mode 100644
index 000000000000..924bce90710f
--- /dev/null
+++ b/games-misc/fortune-mod-it/fortune-mod-it-1.99.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI=5
+DESCRIPTION="Database of the Italian cookies for the fortune program"
+HOMEPAGE="http://www.fortune-it.net/"
+SRC_URI="http://www.fortune-it.net/download/fortune-it-${PVR}.tar.gz"
+
+LICENSE="freedist"
+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"
+
+DEPEND="games-misc/fortune-mod"
+
+S=${WORKDIR}/fortune-it-${PVR}
+
+src_prepare() {
+ use offensive || rm -f testi/*-o
+}
+
+src_compile() {
+ local f
+ for f in testi/* ; do
+ strfile -s ${f} || die "strfile ${f} failed"
+ done
+}
+
+src_install() {
+ insinto /usr/share/fortune
+ doins testi/*
+ dodoc README
+}
diff --git a/games-misc/fortune-mod-it/metadata.xml b/games-misc/fortune-mod-it/metadata.xml
new file mode 100644
index 000000000000..d3c2cc926f0b
--- /dev/null
+++ b/games-misc/fortune-mod-it/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>
diff --git a/games-misc/fortune-mod-kernelcookies/Manifest b/games-misc/fortune-mod-kernelcookies/Manifest
new file mode 100644
index 000000000000..559a36ba6f9a
--- /dev/null
+++ b/games-misc/fortune-mod-kernelcookies/Manifest
@@ -0,0 +1 @@
+DIST kernelcookies-9.tar.gz 8966 SHA256 f0e6539fdcc4992f61b01b445979860c54cb4e6e86ece9d5c47d91d2fd0ded4c SHA512 3d2601ad787928ef852af7d5833c5d32a7c7e364913d451e889eb883d4da450a989c0ff450aef4c07e3700ef3a87f535948d07789c7d2819305a6f36cded7aa3 WHIRLPOOL 82ba1e9eb04f081455e89600168816b1bc17d282eb61ac5e3867b5eade7f43959d14ff45e162d590e9fc254dc326fa5d146aa757b4ebaf09503d9c24f1fe1df4
diff --git a/games-misc/fortune-mod-kernelcookies/files/9-offensive.patch b/games-misc/fortune-mod-kernelcookies/files/9-offensive.patch
new file mode 100644
index 000000000000..0ba0ee128907
--- /dev/null
+++ b/games-misc/fortune-mod-kernelcookies/files/9-offensive.patch
@@ -0,0 +1,140 @@
+--- kernelcookies
++++ kernelcookies
+@@ -1,42 +1,3 @@
+-/* Only Sun can take such nice parts and fuck up the programming interface
+- * like this. Good job guys...
+- */
+- linux-2.6.6/drivers/net/sunhme.c
+-%
+-/* This card is _fucking_ hot... */
+- linux-2.6.6/drivers/net/sunhme.c
+-%
+-If you don't see why, please stay the fuck away from my code.
+- Rusty, in linux-2.6.6/Documentation/DocBook/kernel-locking.tmpl
+-%
+-/* Fuck, we are miserable poor guys... */
+- linux-2.6.6/net/xfrm/xfrm_algo.c
+-%
+-/* Ugly, ugly fucker. */
+- linux-2.6.6/include/linux/netfilter_ipv4/ipt_limit.h
+-%
+-/* XXX: where the fuck is ->f_vfsmnt? */
+- linux-2.6.6/fs/intermezzo/vfs.c
+-%
+- if(ct<0)
+- ct=2; /* Shit happens.. */
+- linux-2.6.6/drivers/net/wan/z85230.c
+-%
+-/* Remember: "Different name, same old buggy as shit hardware." */
+- linux-2.6.6/drivers/net/sunhme.c
+-%
+-/* This is total bullshit: */
+- linux-2.6.6/drivers/video/sis/init301.c
+-%
+-/* The HME is the biggest piece of shit I have ever seen. */
+- linux-2.6.6/drivers/scsi/esp.h
+-%
+-/* Sun, you just can't beat me, you just can't. Stop trying,
+- * give up. I'm serious, I am going to kick the living shit
+- * out of you, game over, lights out.
+- */
+- linux-2.6.6/arch/sparc/lib/checksum.S
+-%
+ printk("WE HAVE A BUG HERE!!! stk=0x%p\n", stk);
+ linux-2.6.6/drivers/block/cciss_scsi.c
+ %
+@@ -49,18 +10,9 @@
+ printk("GSCD: magic ...\n");
+ linux-2.6.6/drivers/cdrom/gscd.c
+ %
+-printk(" (Read error)"); /* Bitch about the problem. */
+- linux-2.6.6/drivers/cdrom/mcd.c
+-%
+ printk(" Speed now 1x"); /* Pull my finger! */
+ linux-2.6.6/drivers/cdrom/mcd.c
+ %
+-printk("%s: confused, missing data\n", drive->name);
+- linux-2.6.6/drivers/ide/ide-cd.c
+-%
+-printk(KERN_ERR "ide: huh? queue was plugged!\n");
+- linux-2.6.6/drivers/ide/ide-io.c:
+-%
+ printk ("%s: This looks like a LART board to me.\n",module_name);
+ linux-2.6.6/drivers/mtd/devices/lart.c
+ %
+@@ -380,21 +332,6 @@
+ printk(KERN_WARNING "Multi-volume CD somehow got mounted.\n");
+ linux-2.2.16/fs/isofs/inode.c
+ %
+-/* Fuck me gently with a chainsaw... */
+- linux-2.0.38/arch/sparc/kernel/ptrace.c
+-%
+-/* Binary compatibility is good American knowhow fuckin' up. */
+- linux-2.2.16/arch/sparc/kernel/sunos_ioctl.c
+-%
+-/* Am I fucking pedantic or what? */
+- linux-2.2.16/drivers/scsi/qlogicpti.h
+-%
+-/* vsprintf.c -- Lars Wirzenius & Linus Torvalds. */
+- *
+- * Wirzenius wrote this portably, Torvalds fucked it up :-)
+- */
+- linux-2.2.16/lib/vsprintf.c
+-%
+ printk("Penguin %d is stuck in the bottle.\n", i);
+ linux-2.0.38/arch/sparc/kernel/smp.c
+ %
+@@ -416,9 +353,6 @@
+ panic("Cannot initialize video hardware\n");
+ linux-2.0.38/arch/m68k/atari/atafb.c
+ %
+-printk("ufs_read_super: fucking Sun blows me\n");
+- linux-2.0.38/fs/ufs/ufs_super.c
+-%
+ printk("autofs: Out of inode numbers -- what the heck did you do??\n");
+ linux-2.0.38/fs/autofs/root.c
+ %
+@@ -444,23 +378,11 @@
+ # Okay, what on Earth is this one supposed to be used for?
+ linux-2.4.0/drivers/char/cp437.uni
+ %
+-/* Fuck. The f-word is here so you can grep for it :-) */
+- linux-2.4.3/include/asm-mips/mmu_context.h
+-%
+ /* Thanks to Rob `CmdrTaco' Malda for not influencing this code in any
+ * way.
+ */
+ linux-2.4.3/net/core/netfilter.c
+ %
+-/* James M doesn't say fuck enough. */
+- linux-2.4.3/net/core/netfilter.c
+-%
+-/* So there I am, in the middle of my `netfilter-is-wonderful'
+- talk in Sydney, and someone asks `What happens if you try
+- to enlarge a 64k packet here?'. I think I said something
+- eloquent like `fuck'. */
+- linux-2.4.3/net/ipv4/netfilter/ip_nat_ftp.c
+-%
+ panic ("No CPUs found. System halted.\n");
+ linux-2.4.3/arch/parisc/kernel/setup.c
+ %
+@@ -492,19 +414,6 @@
+ printk("CPU[%d]: Giving pardon to imprisoned penguins\n", smp_processor_id());
+ linux-2.4.8/arch/sparc64/kernel/smp.c
+ %
+-/* Welcome to Sun Microsystems, can I take your order please? */
+-/* Would you like fries with that? */
+-/* Anything else? */
+-/* Fifty-two cents is your change, have a nice day. */
+-/* Would you like to try our SMCC Delux? */
+-/* We have a special on GNU/Viking hardware bugs today. */
+-/* Will that be all? */
+-/* Don't forget your vik_1137125_wa. Have a nice day. */
+-/* We're consolidating our STB products, it's your lucky day. */
+-/* Come back next week when we are "Sun Microelectronics". */
+-/* Remember: "Different name, same old buggy as shit hardware." */
+- linux-2.6.6/drivers/net/sunhme.c
+-%
+ printk (KERN_INFO "NM256: Congratulations. You're not running Eunice.\n");
+ linux-2.6.19/sound/oss/nm256_audio.c
+ %
diff --git a/games-misc/fortune-mod-kernelcookies/fortune-mod-kernelcookies-9.ebuild b/games-misc/fortune-mod-kernelcookies/fortune-mod-kernelcookies-9.ebuild
new file mode 100644
index 000000000000..6438da6ea1cc
--- /dev/null
+++ b/games-misc/fortune-mod-kernelcookies/fortune-mod-kernelcookies-9.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI=5
+inherit eutils
+
+DESCRIPTION="A collection of funny lines from the Linux kernel"
+HOMEPAGE="http://www.schwarzvogel.de/software-misc.shtml"
+SRC_URI="http://www.schwarzvogel.de/pkgs/kernelcookies-${PV}.tar.gz"
+
+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"
+
+DEPEND="games-misc/fortune-mod"
+RDEPEND="${DEPEND}"
+
+S=${WORKDIR}/kernelcookies-${PV}
+
+src_prepare() {
+ # bug #64985
+ if ! use offensive ; then
+ rm -f *.dat
+ epatch "${FILESDIR}"/${PV}-offensive.patch
+ strfile -s kernelcookies || die
+ fi
+}
+
+src_install() {
+ insinto /usr/share/fortune
+ doins kernelcookies.dat kernelcookies
+}
diff --git a/games-misc/fortune-mod-kernelcookies/metadata.xml b/games-misc/fortune-mod-kernelcookies/metadata.xml
new file mode 100644
index 000000000000..d3c2cc926f0b
--- /dev/null
+++ b/games-misc/fortune-mod-kernelcookies/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>
diff --git a/games-misc/fortune-mod-mormon/Manifest b/games-misc/fortune-mod-mormon/Manifest
new file mode 100644
index 000000000000..98aa6091f003
--- /dev/null
+++ b/games-misc/fortune-mod-mormon/Manifest
@@ -0,0 +1 @@
+DIST fortune-mod-mormon-1.1.0.tar.bz2 4750745 SHA256 a8e13023fb3f9b7097f0a72d6dcb8b0b553a20b8062f069ef4fc291fff597089 SHA512 4684e63b1eb2b1fdb2fbe7241f971c9401777a8364333394db0929aca2ee57456ba30bd601df8d2a8077ad41c1aa71737e20806b79e8541d5dd942092be02d4f WHIRLPOOL 9678c4906d7f7404a5b4e16596a3d96b3a1f59658812fdef6f4a8c1daad8755b5c931749efb046ad7a624ba2eb7ca4856ee98bf00067b4d3b9e4c653039832a4
diff --git a/games-misc/fortune-mod-mormon/fortune-mod-mormon-1.1.0.ebuild b/games-misc/fortune-mod-mormon/fortune-mod-mormon-1.1.0.ebuild
new file mode 100644
index 000000000000..4f7f770bcc7f
--- /dev/null
+++ b/games-misc/fortune-mod-mormon/fortune-mod-mormon-1.1.0.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+DESCRIPTION="Fortune modules from the LDS scriptures (KJV Bible, Book of Mormon, D&C, PGP)"
+HOMEPAGE="http://scriptures.nephi.org/"
+SRC_URI="mirror://sourceforge/mormon/${P}.tar.bz2"
+
+LICENSE="public-domain"
+SLOT="0"
+KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
+IUSE=""
+
+RDEPEND="
+ games-misc/fortune-mod
+ games-misc/fortune-mod-scriptures
+"
+
+src_install() {
+ dodoc ChangeLog README
+ insinto /usr/share/fortune
+ doins mods/dc mods/dc.dat mods/mormon mods/mormon.dat mods/pgp || die
+ doins mods/scriptures.dat mods/scriptures mods/aof.dat mods/aof || die
+}
diff --git a/games-misc/fortune-mod-mormon/metadata.xml b/games-misc/fortune-mod-mormon/metadata.xml
new file mode 100644
index 000000000000..fc42e0073f29
--- /dev/null
+++ b/games-misc/fortune-mod-mormon/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>games</herd>
+ <herd>theology</herd>
+ <upstream>
+ <remote-id type="sourceforge">mormon</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/games-misc/fortune-mod-norbert-tretkowski/Manifest b/games-misc/fortune-mod-norbert-tretkowski/Manifest
new file mode 100644
index 000000000000..a10a7c7aa9b5
--- /dev/null
+++ b/games-misc/fortune-mod-norbert-tretkowski/Manifest
@@ -0,0 +1 @@
+DIST fortune-mod-norbert.tretkowski-20030120.tar.gz 11501 SHA256 4821ce57da57ca4bd0d15ab5f340dd374556facfc657661d044fcfd5d4b9534b SHA512 df4b846581d6dea55226d6e58235a288def209536f43766fa8b56a07e3a5affbb68e8138e2e01711878480550df322ed6999ef35a41330a58a2f516abc5db13e WHIRLPOOL 2ff48023e4c871d8d31812ce33cb3e4d65286c00011c0df54a27e98459f70c7964a93a2d6065ec5d68d1d9af1e45f30be20ab2806b1189d2999a8f0d419d34fa
diff --git a/games-misc/fortune-mod-norbert-tretkowski/fortune-mod-norbert-tretkowski-20030120.ebuild b/games-misc/fortune-mod-norbert-tretkowski/fortune-mod-norbert-tretkowski-20030120.ebuild
new file mode 100644
index 000000000000..fe47d9b167e6
--- /dev/null
+++ b/games-misc/fortune-mod-norbert-tretkowski/fortune-mod-norbert-tretkowski-20030120.ebuild
@@ -0,0 +1,22 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI=5
+MY_P=fortune-mod-norbert.tretkowski-${PV}
+DESCRIPTION="Quotes from Norbert Tretkowski"
+HOMEPAGE="http://fortune-mod-fvl.sourceforge.net/"
+SRC_URI="mirror://sourceforge/fortune-mod-fvl/${MY_P}.tar.gz"
+
+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=""
+
+RDEPEND="games-misc/fortune-mod"
+
+S=${WORKDIR}/${MY_P}
+
+src_install() {
+ insinto /usr/share/fortune
+ doins norbert.tretkowski norbert.tretkowski.dat
+}
diff --git a/games-misc/fortune-mod-norbert-tretkowski/metadata.xml b/games-misc/fortune-mod-norbert-tretkowski/metadata.xml
new file mode 100644
index 000000000000..875353e4569b
--- /dev/null
+++ b/games-misc/fortune-mod-norbert-tretkowski/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>games</herd>
+ <upstream>
+ <remote-id type="sourceforge">fortune-mod-fvl</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/games-misc/fortune-mod-osfortune/Manifest b/games-misc/fortune-mod-osfortune/Manifest
new file mode 100644
index 000000000000..48727b96c373
--- /dev/null
+++ b/games-misc/fortune-mod-osfortune/Manifest
@@ -0,0 +1 @@
+DIST osfortune.tar.gz 3097 SHA256 a802f3f4e7983f33c47f0548fb82111bbfde97fa722ae78b4d8c0c58ac8ecdcf SHA512 e78f40bbbbe94bc70984f01bc4be9c44a15716d60a526797606a6f38fab3533a0cf428a473e479479a7db2c391e44515294519b24cdd3bda33d82c9081919d3e WHIRLPOOL 5dbf1cca2e3a2d7daf658286728705f8e32f11b40cfe89e5bd561b31dbe748575503d6c39f0b76a1c7e525cddc855ae1c76979217b6286aa597683488e2c0262
diff --git a/games-misc/fortune-mod-osfortune/files/spelling.patch b/games-misc/fortune-mod-osfortune/files/spelling.patch
new file mode 100644
index 000000000000..2871ec2c00e3
--- /dev/null
+++ b/games-misc/fortune-mod-osfortune/files/spelling.patch
@@ -0,0 +1,100 @@
+--- osfortune.orig 2004-08-18 07:40:54.000000000 -0400
++++ osfortune 2004-08-19 07:14:41.008409016 -0400
+@@ -15,7 +15,7 @@
+
+ -- Bruce Perens, on the future of Open Source software. (Open Sources, 1999 O'Reilly and Associates)
+ %
+-"The reason for the success of this somewhat communist-sounding strategy, while the failure of communism itself is visible around the world, is that the economics of information are fundamentaly different from those of other products."
++"The reason for the success of this somewhat communist-sounding strategy, while the failure of communism itself is visible around the world, is that the economics of information are fundamentally different from those of other products."
+
+ -- Bruce Perens, on Open Source software. (Open Sources, 1999 O'Reilly and Associates)
+ %
+@@ -29,7 +29,7 @@
+ %
+ "I'm not saying that they were knowingly dishonest, perhaps they were simply stupid. "
+
+- -- Linus Torvalds, commenting on those who really thought Microkernels were wise. (Open Sources, 1999 O'Reilly and Associates)
++ -- Linus Torvalds, commenting on those who really thought microkernels were wise. (Open Sources, 1999 O'Reilly and Associates)
+ %
+ "The idea of abstracting away the one thing that must be blindingly fast, the kernel, is inherently counter productive."
+
+@@ -37,11 +37,11 @@
+ %
+ "So right now the only vendor that does such a stupid thing is Microsoft."
+
+- -- Linus Torvalds on bad file system interface design. (Open Sources , 1999 O'Reilly and Associates.)
++ -- Linus Torvalds on bad file system interface design. (Open Sources, 1999 O'Reilly and Associates)
+ %
+ "Eric also holds a black belt in Tae Kwon Do and shoots pistols for relaxation, His favorite gun is the classic 1911-pattern .45 semiautomatic"
+
+- -- Chris DiBona on neo-renassaince Homo Heileinias Eric S. Raymond. (Open Sources, 1999 O'Reilly and Associates)
++ -- Chris DiBona on neo-renaissance Homo Heileinias Eric S. Raymond. (Open Sources, 1999 O'Reilly and Associates)
+ %
+ "The world is beating a path to our door"
+
+@@ -59,19 +59,19 @@
+
+ -- Chris DiBona from the introduction. (Open Sources, 1999 O'Reilly and Associates)
+ %
+-"The funny thing is if you actually read those papers, you find that, while the researchers were applying thier optomizational tricks on a microkernel, in fact those same tricks could be applied to traditional kernels to accelerate thier execution."
++"The funny thing is if you actually read those papers, you find that, while the researchers were applying their optimizational tricks on a microkernel, in fact those same tricks could be applied to traditional kernels to accelerate their execution."
+
+ -- Linus Torvalds on Microkernels (Open Sources, 1999 O'Reilly and Associates)
+ %
+-"Computers and autmation have become so ingrained and essentaial to day-to-day business that a sensible business should not rely on a single vendor to provide essential services........Thus is is always in a customers' interests to demand that the software they deploy be based on non-proprietary platforms."
++"Computers and automation have become so ingrained and essential to day-to-day business that a sensible business should not rely on a single vendor to provide essential services...Thus it is always in customers' interests to demand that the software they deploy be based on non-proprietary platforms."
+
+ -- Brian Behlendorf on OSS (Open Sources, 1999 O'Reilly and Associates)
+ %
+-"Nature abhors a Vacuum"
++"Nature abhors a vacuum"
+
+ -- Brian Behlendorf on OSS (Open Sources, 1999 O'Reilly and Associates)
+ %
+-"While not obviously a business-friendly licensem there are certain aspects of the GNU license which are attractive, believe it or not, for commercial purposes."
++"While not obviously a business-friendly license, there are certain aspects of the GNU license which are attractive, believe it or not, for commercial purposes."
+
+ -- Brian Behlendorf on OSS (Open Sources, 1999 O'Reilly and Associates)
+ %
+@@ -83,19 +83,19 @@
+
+ -- Scott Bradner (Open Sources, 1999 O'Reilly and Associates)
+ %
+-"The basic publication series for te IETF is the RFC series. RPF once stood for 'Request for Comments,' but since documents published as RFCs have generally gone through an extensive review process before publication, RFC is now best known understood to mean 'RFC' "
++"The basic publication series for the IETF is the RFC series. RFC once stood for 'Request for Comments,' but since documents published as RFCs have generally gone through an extensive review process before publication, RFC is now best known understood to mean 'RFC' "
+
+ -- Scott Bradner (Open Sources, 1999 O'Reilly and Associates)
+ %
+-"The IETF motto is 'rouch consesus and running code'"
++"The IETF motto is 'rough consensus and running code'"
+
+ -- Scott Bradner (Open Sources, 1999 O'Reilly and Associates)
+ %
+-"Open Standars, Open Documents, and Open Source"
++"Open Standards, Open Documents, and Open Source"
+
+ -- Scott Bradner (Open Sources, 1999 O'Reilly and Associates)
+ %
+-"So here's a picture of reality: (picture of circle with lots of sqiggles in it) As we all know, reality is a mess."
++"So here's a picture of reality: (picture of circle with lots of squiggles in it) As we all know, reality is a mess."
+
+ -- Larry Wall (Open Sources, 1999 O'Reilly and Associates)
+ %
+@@ -119,7 +119,7 @@
+
+ -- Larry Wall (Open Sources, 1999 O'Reilly and Associates)
+ %
+-"Of course, in Perl culture, almost nothis is prohibited. My feeling is that the rest of the world already has plenty of perfectly good prohibitions, so why invent more?"
++"Of course, in Perl culture, almost nothing is prohibited. My feeling is that the rest of the world already has plenty of perfectly good prohibitions, so why invent more?"
+
+ -- Larry Wall (Open Sources, 1999 O'Reilly and Associates)
+ %
+@@ -129,7 +129,7 @@
+
+ -- Larry Wall (Open Sources, 1999 O'Reilly and Associates)
+ %
+-"In a way they were right the basics of operating systems, and by extension the Linux kernel, were well understood by the early 70s; anything after that has been to some degree an exercise in self-gratification."
++"In a way they were right - the basics of operating systems, and by extension the Linux kernel, were well understood by the early 70s; anything after that has been to some degree an exercise in self-gratification."
+
+ -- Linus Torvalds (Open Sources, 1999 O'Reilly and Associates)
+ %
diff --git a/games-misc/fortune-mod-osfortune/fortune-mod-osfortune-1.ebuild b/games-misc/fortune-mod-osfortune/fortune-mod-osfortune-1.ebuild
new file mode 100644
index 000000000000..dde3aa83807a
--- /dev/null
+++ b/games-misc/fortune-mod-osfortune/fortune-mod-osfortune-1.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI=5
+inherit eutils
+
+DESCRIPTION="Open sources fortune file"
+HOMEPAGE="http://www.dibona.com/opensources/index.shtml"
+SRC_URI="http://www.dibona.com/opensources/osfortune.tar.gz"
+
+LICENSE="GPL-1"
+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=""
+
+DEPEND="games-misc/fortune-mod"
+RDEPEND="${DEPEND}"
+
+S=${WORKDIR}
+
+src_prepare() {
+ epatch "${FILESDIR}"/spelling.patch
+ strfile osfortune || die
+}
+
+src_install() {
+ insinto /usr/share/fortune
+ doins osfortune osfortune.dat
+}
diff --git a/games-misc/fortune-mod-osfortune/metadata.xml b/games-misc/fortune-mod-osfortune/metadata.xml
new file mode 100644
index 000000000000..d3c2cc926f0b
--- /dev/null
+++ b/games-misc/fortune-mod-osfortune/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>
diff --git a/games-misc/fortune-mod-powerpuff/Manifest b/games-misc/fortune-mod-powerpuff/Manifest
new file mode 100644
index 000000000000..9fc8554f6d48
--- /dev/null
+++ b/games-misc/fortune-mod-powerpuff/Manifest
@@ -0,0 +1 @@
+DIST powerpuff-0.3.tar.gz 17155 SHA256 90889d5eef1ff91819da47de46d1f46243f8ab252303a1f4c4c862bb05668142 SHA512 89cf14ce07217bcff57fe5eff5b13b6df53b76ff866887032730610ac23184b4bc7d9f00572f31581347ed3827f3906b5dd885324d0e8066a5e0c8a098e53ebd WHIRLPOOL ebf8907c6fcf5b1578ca74c6e3433789bd620cfa9799b865d835e9be58609632fa236b77248527012f436c410c6ddf110cd549cde8f741e69d711506d293c5be
diff --git a/games-misc/fortune-mod-powerpuff/fortune-mod-powerpuff-0.3.ebuild b/games-misc/fortune-mod-powerpuff/fortune-mod-powerpuff-0.3.ebuild
new file mode 100644
index 000000000000..a1bb8c9f9ab7
--- /dev/null
+++ b/games-misc/fortune-mod-powerpuff/fortune-mod-powerpuff-0.3.ebuild
@@ -0,0 +1,22 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI=5
+MY_PN=powerpuff
+DESCRIPTION="Quotes taken from the Power Puff Girls series from Cartoon Network"
+HOMEPAGE="http://eol.init1.nl/content/view/43/54/"
+SRC_URI="http://eelco.is.a.rootboy.net/fortunecookies/${MY_PN}-${PV}.tar.gz"
+
+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=""
+
+RDEPEND="games-misc/fortune-mod"
+
+S=${WORKDIR}/${MY_PN}-${PV}
+
+src_install() {
+ insinto /usr/share/fortune
+ doins powerpuff powerpuff.dat
+}
diff --git a/games-misc/fortune-mod-powerpuff/metadata.xml b/games-misc/fortune-mod-powerpuff/metadata.xml
new file mode 100644
index 000000000000..d3c2cc926f0b
--- /dev/null
+++ b/games-misc/fortune-mod-powerpuff/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>
diff --git a/games-misc/fortune-mod-pqf/Manifest b/games-misc/fortune-mod-pqf/Manifest
new file mode 100644
index 000000000000..38fd06f6aa53
--- /dev/null
+++ b/games-misc/fortune-mod-pqf/Manifest
@@ -0,0 +1 @@
+DIST pqf-6.0 146363 SHA256 43823e7ac07a6c75d84eee8d99b1d84d014e2faa12c1df07691ccf53d3ee8ad3 SHA512 c38be09c945c20454cd0ca4d1a4dce18b40bae1ed2c71d093c7d9e4fb2de444425d50a35c7dad5535ed38b5ea52c6c9e8f6035221c08e0485145fc169cb9186e WHIRLPOOL d0b804be7b6b18ddc37afa3cd1b6ef6a3d7dfd123827584bd893a47b804148817fc9ea78a8298ab83bd6fd1d6748e32ee60705317950a19f97f370d76439b15c
diff --git a/games-misc/fortune-mod-pqf/fortune-mod-pqf-6.0.ebuild b/games-misc/fortune-mod-pqf/fortune-mod-pqf-6.0.ebuild
new file mode 100644
index 000000000000..913b4d530bd6
--- /dev/null
+++ b/games-misc/fortune-mod-pqf/fortune-mod-pqf-6.0.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI=5
+DESCRIPTION="Fortune database of Terry Pratchett's Discworld related quotes"
+HOMEPAGE="http://www.lspace.org/"
+SRC_URI="http://www.ie.lspace.org/ftp-lspace/words/pqf/pqf-${PV}"
+
+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=""
+
+DEPEND="games-misc/fortune-mod"
+RDEPEND="${DEPEND}"
+
+S=${WORKDIR}
+
+src_prepare() {
+ cp "${DISTDIR}"/${A} "${S}"/pqf-${PV}
+}
+
+src_compile() {
+ uniq "pqf-${PV}" | sed 's/^$/\%/g' > pqf
+ echo "%" >> pqf
+ strfile -r pqf || die
+}
+
+src_install() {
+ insinto /usr/share/fortune
+ doins pqf pqf.dat
+}
diff --git a/games-misc/fortune-mod-pqf/metadata.xml b/games-misc/fortune-mod-pqf/metadata.xml
new file mode 100644
index 000000000000..d3c2cc926f0b
--- /dev/null
+++ b/games-misc/fortune-mod-pqf/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>
diff --git a/games-misc/fortune-mod-rss/Manifest b/games-misc/fortune-mod-rss/Manifest
new file mode 100644
index 000000000000..943adccb8187
--- /dev/null
+++ b/games-misc/fortune-mod-rss/Manifest
@@ -0,0 +1 @@
+DIST fortune-mod-rss-20030120.tar.gz 27294 SHA256 c139486c104103d4b5ad06163c737c055ab71fd22769bc9a5c279710dbd14171 SHA512 65e3c6afe338bab19fece7111d37eb32270a374b0e62babecb4954bb7209054a6f18886ae67f502f29d148d2ce5a60d3ef401233d91caf765a0ade0d3f5478b4 WHIRLPOOL 2b3907acdb00b3da43e29779a51b74fb6527af762c964664b3f615db82874e51ddbba0ce9e6b9354b5a47984761d3bcce9cd8aebfd96ae58883d5ddda0331b2e
diff --git a/games-misc/fortune-mod-rss/fortune-mod-rss-20030120.ebuild b/games-misc/fortune-mod-rss/fortune-mod-rss-20030120.ebuild
new file mode 100644
index 000000000000..7d037274af3f
--- /dev/null
+++ b/games-misc/fortune-mod-rss/fortune-mod-rss-20030120.ebuild
@@ -0,0 +1,19 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI=5
+DESCRIPTION="Fortune database of Robin S. Socha quotes"
+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 ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
+IUSE=""
+
+RDEPEND="games-misc/fortune-mod"
+
+src_install() {
+ insinto /usr/share/fortune
+ doins rss rss.dat
+}
diff --git a/games-misc/fortune-mod-rss/metadata.xml b/games-misc/fortune-mod-rss/metadata.xml
new file mode 100644
index 000000000000..875353e4569b
--- /dev/null
+++ b/games-misc/fortune-mod-rss/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>games</herd>
+ <upstream>
+ <remote-id type="sourceforge">fortune-mod-fvl</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/games-misc/fortune-mod-scriptures/Manifest b/games-misc/fortune-mod-scriptures/Manifest
new file mode 100644
index 000000000000..b31bd454902f
--- /dev/null
+++ b/games-misc/fortune-mod-scriptures/Manifest
@@ -0,0 +1 @@
+DIST fortune-mod-scriptures-1.1.0.tar.bz2 2621853 SHA256 79923f471ec22c83894ec2b9c6bb3a1e7c2291774e68029ab1bbe909697ee3ee
diff --git a/games-misc/fortune-mod-scriptures/fortune-mod-scriptures-1.1.0.ebuild b/games-misc/fortune-mod-scriptures/fortune-mod-scriptures-1.1.0.ebuild
new file mode 100644
index 000000000000..e5675d1a010d
--- /dev/null
+++ b/games-misc/fortune-mod-scriptures/fortune-mod-scriptures-1.1.0.ebuild
@@ -0,0 +1,22 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+DESCRIPTION="Fortune modules from the King James Bible scriptures"
+HOMEPAGE="http://scriptures.nephi.org/"
+SRC_URI="mirror://sourceforge/mormon/${P}.tar.bz2"
+
+LICENSE="public-domain"
+SLOT="0"
+KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
+IUSE=""
+
+RDEPEND="games-misc/fortune-mod"
+
+src_install() {
+ dodoc README ChangeLog
+ insinto /usr/share/fortune
+ doins mods/*
+}
diff --git a/games-misc/fortune-mod-scriptures/metadata.xml b/games-misc/fortune-mod-scriptures/metadata.xml
new file mode 100644
index 000000000000..fc42e0073f29
--- /dev/null
+++ b/games-misc/fortune-mod-scriptures/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>games</herd>
+ <herd>theology</herd>
+ <upstream>
+ <remote-id type="sourceforge">mormon</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/games-misc/fortune-mod-simpsons-chalkboard/Manifest b/games-misc/fortune-mod-simpsons-chalkboard/Manifest
new file mode 100644
index 000000000000..72a87eb3de05
--- /dev/null
+++ b/games-misc/fortune-mod-simpsons-chalkboard/Manifest
@@ -0,0 +1 @@
+DIST fortune-simpsons-chalkboard.tgz 5803 SHA256 8cfa7ecec784314b90b46531943d507c8f556c96008c8dc44089f016e5504b35 SHA512 0ce3e8fea577f018d933c64aa3aaeac859ebbb9d0faba28f6c1f5f330781109ad43f4e317281d75b95f87cdb6476e6393219eff5f7ee5201219ff7e007452255 WHIRLPOOL 7331d08e1b9904c66270e875f2b5e4dbb937abec96fd0f55e5801e52500b0c4dc5c92a188ec1faf2ff7b372daf6c1ffac8c7ecea279838acb3bf9d6727b69609
diff --git a/games-misc/fortune-mod-simpsons-chalkboard/fortune-mod-simpsons-chalkboard-0.1.ebuild b/games-misc/fortune-mod-simpsons-chalkboard/fortune-mod-simpsons-chalkboard-0.1.ebuild
new file mode 100644
index 000000000000..e146b6dc155e
--- /dev/null
+++ b/games-misc/fortune-mod-simpsons-chalkboard/fortune-mod-simpsons-chalkboard-0.1.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI=5
+MY_P=${PN/-mod/}
+DESCRIPTION="Quotes from Bart Simpson's Chalkboard, shown at the opening of each Simpsons episode"
+HOMEPAGE="http://www.splitbrain.org/projects/fortunes/simpsons"
+SRC_URI="http://www.splitbrain.org/_media/projects/fortunes/${MY_P}.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=""
+RESTRICT="mirror"
+
+RDEPEND="games-misc/fortune-mod"
+
+S=${WORKDIR}/${MY_P}
+
+src_install() {
+ insinto /usr/share/fortune
+ doins chalkboard chalkboard.dat
+}
diff --git a/games-misc/fortune-mod-simpsons-chalkboard/metadata.xml b/games-misc/fortune-mod-simpsons-chalkboard/metadata.xml
new file mode 100644
index 000000000000..d3c2cc926f0b
--- /dev/null
+++ b/games-misc/fortune-mod-simpsons-chalkboard/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>
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>
diff --git a/games-misc/fortune-mod-smac/Manifest b/games-misc/fortune-mod-smac/Manifest
new file mode 100644
index 000000000000..0a6e34fc41e9
--- /dev/null
+++ b/games-misc/fortune-mod-smac/Manifest
@@ -0,0 +1 @@
+DIST fortune-mod-smac-0.1.tar.gz 22205 SHA256 a22cfbdfda9073aaa6ed68e0559f6d99447060dcab6a155f122b49400a0d2942 SHA512 cd837bc96e02f46b310ca264439e6e3753975e0613f05b41faf95fc2d9067f42b62a5af448586befd22e0b1c5e30754a4ae4bd34569c9bda434311ce82ac6697 WHIRLPOOL 300ce42b6553e22528ad8d8e6aafa2f0ef9a96cfb97d251b402e9ae6d67bb6e29caa3d578447f5e7f76dee351dae2860c287bc1ade90eade5dbd0ca4688a94e0
diff --git a/games-misc/fortune-mod-smac/fortune-mod-smac-0.1.ebuild b/games-misc/fortune-mod-smac/fortune-mod-smac-0.1.ebuild
new file mode 100644
index 000000000000..c7b59230a3fd
--- /dev/null
+++ b/games-misc/fortune-mod-smac/fortune-mod-smac-0.1.ebuild
@@ -0,0 +1,19 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI=5
+DESCRIPTION="Quotes from the Alpha Centauri: Alien Crossfire tech tree"
+HOMEPAGE="http://progsoc.org/~curious/"
+SRC_URI="http://progsoc.org/~curious/files/${P}.tar.gz"
+
+LICENSE="fairuse"
+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=""
+
+RDEPEND="games-misc/fortune-mod"
+
+src_install() {
+ insinto /usr/share/fortune
+ doins smac smac.dat
+}
diff --git a/games-misc/fortune-mod-smac/metadata.xml b/games-misc/fortune-mod-smac/metadata.xml
new file mode 100644
index 000000000000..d3c2cc926f0b
--- /dev/null
+++ b/games-misc/fortune-mod-smac/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>
diff --git a/games-misc/fortune-mod-sp-fortunes/Manifest b/games-misc/fortune-mod-sp-fortunes/Manifest
new file mode 100644
index 000000000000..954e59321798
--- /dev/null
+++ b/games-misc/fortune-mod-sp-fortunes/Manifest
@@ -0,0 +1 @@
+DIST SP-0.2.tar.gz 11093 SHA256 697a6d937d6674304fcb180e07c4801d2cb98d0e866c38091e10940c3a9f74d3
diff --git a/games-misc/fortune-mod-sp-fortunes/fortune-mod-sp-fortunes-0.2.ebuild b/games-misc/fortune-mod-sp-fortunes/fortune-mod-sp-fortunes-0.2.ebuild
new file mode 100644
index 000000000000..41426e9ed5a8
--- /dev/null
+++ b/games-misc/fortune-mod-sp-fortunes/fortune-mod-sp-fortunes-0.2.ebuild
@@ -0,0 +1,24 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+MY_P=${P/fortune-mod-sp-fortunes/SP}
+MY_PN=${PN/fortune-mod-sp-fortunes/SP}
+DESCRIPTION="South Park Fortunes"
+HOMEPAGE="http://eol.init1.nl/content/view/44/54/"
+SRC_URI="http://eelco.is.a.rootboy.net/fortunecookies/${MY_P}.tar.gz"
+
+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=""
+
+RDEPEND="games-misc/fortune-mod"
+
+S=${WORKDIR}/${MY_P}
+
+src_install() {
+ insinto /usr/share/fortune
+ doins SP SP.dat
+}
diff --git a/games-misc/fortune-mod-sp-fortunes/metadata.xml b/games-misc/fortune-mod-sp-fortunes/metadata.xml
new file mode 100644
index 000000000000..d3c2cc926f0b
--- /dev/null
+++ b/games-misc/fortune-mod-sp-fortunes/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>
diff --git a/games-misc/fortune-mod-starwars/Manifest b/games-misc/fortune-mod-starwars/Manifest
new file mode 100644
index 000000000000..ee05ec660230
--- /dev/null
+++ b/games-misc/fortune-mod-starwars/Manifest
@@ -0,0 +1 @@
+DIST fortune-starwars.tgz 5547 SHA256 ccdbb357ebf547825717168261f543530ff613c232217d63ad66475e46006c78 SHA512 7c829f367b71a56f442045e63ece9b5bf774447de2535e41d6d43ace4c88a0c6e907546bcdef388110998d069b77c24bde39a97a86c89a2693bb089e65b89627 WHIRLPOOL 282490b67476238fe770465af9535a29c935ced03aa6c18efdeb1d1c2d6238a1e57f7c56e1b893b7ecfa063e76bcd8e175cb813017fe6509cedcd5a298afa638
diff --git a/games-misc/fortune-mod-starwars/fortune-mod-starwars-0.1.ebuild b/games-misc/fortune-mod-starwars/fortune-mod-starwars-0.1.ebuild
new file mode 100644
index 000000000000..0c6ce8802dbc
--- /dev/null
+++ b/games-misc/fortune-mod-starwars/fortune-mod-starwars-0.1.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI=5
+MY_P=${PN/-mod/}
+DESCRIPTION="Quotes from StarWars, The Empire Strikes Back, and Return of the Jedi"
+HOMEPAGE="http://www.splitbrain.org/projects/fortunes/starwars"
+SRC_URI="http://www.splitbrain.org/_media/projects/fortunes/${MY_P}.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=""
+RESTRICT="mirror"
+
+RDEPEND="games-misc/fortune-mod"
+
+S=${WORKDIR}/${MY_P}
+
+src_install() {
+ insinto /usr/share/fortune
+ doins starwars starwars.dat
+}
diff --git a/games-misc/fortune-mod-starwars/metadata.xml b/games-misc/fortune-mod-starwars/metadata.xml
new file mode 100644
index 000000000000..d3c2cc926f0b
--- /dev/null
+++ b/games-misc/fortune-mod-starwars/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>
diff --git a/games-misc/fortune-mod-strangelove/Manifest b/games-misc/fortune-mod-strangelove/Manifest
new file mode 100644
index 000000000000..d4eb217cc6d3
--- /dev/null
+++ b/games-misc/fortune-mod-strangelove/Manifest
@@ -0,0 +1 @@
+DIST Strangelove_20041203.tar.gz 2103 SHA256 171c898f12d7a0d63a269fe7c46dc9c66216a43fbacb4c481c4a6843b9c8d777 SHA512 c2e561a7556b50c6a281e3dbeb442034e61342ff1ec9d9d3ff9428b86b67d58ed378f9dd9cf7401bac70e5015a2eb2ae06e681fed323f502f6eba7ff648a5d08 WHIRLPOOL 7aa2f1afd8599bfe939ea640c54a707674ffbf028db8fe0ad63c9188a4450d2d55e40fa023ead8cb5fdb5a8a23117e2124ca40248280b537a09d28c7e18a9306
diff --git a/games-misc/fortune-mod-strangelove/fortune-mod-strangelove-20041203.ebuild b/games-misc/fortune-mod-strangelove/fortune-mod-strangelove-20041203.ebuild
new file mode 100644
index 000000000000..7df7f139e532
--- /dev/null
+++ b/games-misc/fortune-mod-strangelove/fortune-mod-strangelove-20041203.ebuild
@@ -0,0 +1,21 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI=5
+DESCRIPTION="Quotes from Dr. Strangelove"
+HOMEPAGE="http://seiler.us/wiki/index.php/Strangelove"
+SRC_URI="http://seiler.us/wiki/images/4/48/Strangelove_${PV}.tar.gz"
+
+LICENSE="fairuse"
+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=""
+
+RDEPEND="games-misc/fortune-mod"
+
+S=${WORKDIR}/${PN/fortune-mod-/}
+
+src_install() {
+ insinto /usr/share/fortune
+ doins strangelove strangelove.dat
+}
diff --git a/games-misc/fortune-mod-strangelove/metadata.xml b/games-misc/fortune-mod-strangelove/metadata.xml
new file mode 100644
index 000000000000..d3c2cc926f0b
--- /dev/null
+++ b/games-misc/fortune-mod-strangelove/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>
diff --git a/games-misc/fortune-mod-tao/Manifest b/games-misc/fortune-mod-tao/Manifest
new file mode 100644
index 000000000000..f1f5cfc1e2a9
--- /dev/null
+++ b/games-misc/fortune-mod-tao/Manifest
@@ -0,0 +1 @@
+DIST fortune-tao.tar.gz 15381 SHA256 9d22147de9422091c4bebf4997ceef6ae96c66d44fef05440df591587b2bbc0a SHA512 ec8d8b679962e9a1af4fb74600d7d7d348efcda0fd9c4f08db881835f8e1665688f77a77b0eb8231274ab5ecc93443f5348976100031d5b0c4b6245f647db0e0 WHIRLPOOL 9efe2e73b3e735485664760393fcfbef5752f30fdce35c73d5a434b0b269225830048e599f5dc2484ce46370c03dea2997f0b05b13fd987c5a4ae8e87d3dbed5
diff --git a/games-misc/fortune-mod-tao/fortune-mod-tao-1.ebuild b/games-misc/fortune-mod-tao/fortune-mod-tao-1.ebuild
new file mode 100644
index 000000000000..8320ff2a68f5
--- /dev/null
+++ b/games-misc/fortune-mod-tao/fortune-mod-tao-1.ebuild
@@ -0,0 +1,22 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI=5
+MY_PN=${PN/mod-/}
+DESCRIPTION="set of fortunes based on the Tao-Teh-Ching"
+HOMEPAGE="http://fortunes.quotationsbook.com/fortunes/collection/67/TAO"
+SRC_URI="mirror://gentoo/${MY_PN}.tar.gz"
+
+LICENSE="GPL-1"
+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=""
+
+RDEPEND="games-misc/fortune-mod"
+
+S=${WORKDIR}/${MY_PN}
+
+src_install() {
+ insinto /usr/share/fortune
+ doins tao tao.dat
+}
diff --git a/games-misc/fortune-mod-tao/metadata.xml b/games-misc/fortune-mod-tao/metadata.xml
new file mode 100644
index 000000000000..d3c2cc926f0b
--- /dev/null
+++ b/games-misc/fortune-mod-tao/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>
diff --git a/games-misc/fortune-mod-taow/Manifest b/games-misc/fortune-mod-taow/Manifest
new file mode 100644
index 000000000000..2f8897fc7f7f
--- /dev/null
+++ b/games-misc/fortune-mod-taow/Manifest
@@ -0,0 +1 @@
+DIST fortunes-taow-1.0.tar.gz 67835 SHA256 f9dcd9eb511eb9a435808476df67259447ecf7c9ab81324af9e40a34ed33a2a4 SHA512 da1577b36c121028ba2568e4e5a2da96848d70361a3803e93960b357790026a56fb545f42119d013845f6003ffb9f8421de2a1152b189ef93d3a290474259405 WHIRLPOOL d7c500ce072fa641d08be8b403514543b3e43fc24ce34a367b3c1416b5321f8e00f48f1a25351d82ed6568f5205c604dc35e414744f69bc1de4bd2cfca77bd92
diff --git a/games-misc/fortune-mod-taow/fortune-mod-taow-1.0.ebuild b/games-misc/fortune-mod-taow/fortune-mod-taow-1.0.ebuild
new file mode 100644
index 000000000000..749a378eee48
--- /dev/null
+++ b/games-misc/fortune-mod-taow/fortune-mod-taow-1.0.ebuild
@@ -0,0 +1,22 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI=5
+MY_P=fortunes-taow-${PV}
+DESCRIPTION="The Art of War Fortune Mod"
+HOMEPAGE="http://www.de-brauwer.be/wiki/wikka.php?wakka=TheArtOfWar"
+SRC_URI="http://www.de-brauwer.be/wastebasket/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 x86 ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
+IUSE=""
+
+RDEPEND="games-misc/fortune-mod"
+
+S=${WORKDIR}/${MY_P}
+
+src_install() {
+ insinto /usr/share/fortune
+ doins taow taow.dat
+}
diff --git a/games-misc/fortune-mod-taow/metadata.xml b/games-misc/fortune-mod-taow/metadata.xml
new file mode 100644
index 000000000000..d3c2cc926f0b
--- /dev/null
+++ b/games-misc/fortune-mod-taow/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>
diff --git a/games-misc/fortune-mod-thomas-ogrisegg/Manifest b/games-misc/fortune-mod-thomas-ogrisegg/Manifest
new file mode 100644
index 000000000000..dca97648719f
--- /dev/null
+++ b/games-misc/fortune-mod-thomas-ogrisegg/Manifest
@@ -0,0 +1 @@
+DIST fortune-mod-thomas.ogrisegg-20030120.tar.gz 15662 SHA256 42df9dac0510a2d480a6d5bbea69137e927d2a4efc9f0b51a3facc1fea43bd0c SHA512 e1888b117074ae44eeb34ba499f03793d33cbcf5c2af20eec4171078485d37c06a3ccbcb80a620ea4a8e564840fe832d310ddaa8bc5a5164c8d2f870db0791b0 WHIRLPOOL d0aa31284e7542e6d2d13610771b75397b4eff09780397fd991c29791a37fd16962a1556afa1b4d586b6963a15d2c381e9306511794bc61fb24fe637e2512bc5
diff --git a/games-misc/fortune-mod-thomas-ogrisegg/fortune-mod-thomas-ogrisegg-20030120.ebuild b/games-misc/fortune-mod-thomas-ogrisegg/fortune-mod-thomas-ogrisegg-20030120.ebuild
new file mode 100644
index 000000000000..dfa202f8fd64
--- /dev/null
+++ b/games-misc/fortune-mod-thomas-ogrisegg/fortune-mod-thomas-ogrisegg-20030120.ebuild
@@ -0,0 +1,22 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI=5
+MY_P=fortune-mod-thomas.ogrisegg-${PV}
+DESCRIPTION="Quotes from Thomas Ogrisegg"
+HOMEPAGE="http://fortune-mod-fvl.sourceforge.net/"
+SRC_URI="mirror://sourceforge/fortune-mod-fvl/${MY_P}.tar.gz"
+
+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=""
+
+RDEPEND="games-misc/fortune-mod"
+
+S=${WORKDIR}/${MY_P}
+
+src_install() {
+ insinto /usr/share/fortune
+ doins thomas.ogrisegg thomas.ogrisegg.dat
+}
diff --git a/games-misc/fortune-mod-thomas-ogrisegg/metadata.xml b/games-misc/fortune-mod-thomas-ogrisegg/metadata.xml
new file mode 100644
index 000000000000..875353e4569b
--- /dev/null
+++ b/games-misc/fortune-mod-thomas-ogrisegg/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>games</herd>
+ <upstream>
+ <remote-id type="sourceforge">fortune-mod-fvl</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/games-misc/fortune-mod-woody-allen-it/Manifest b/games-misc/fortune-mod-woody-allen-it/Manifest
new file mode 100644
index 000000000000..b9d0ec7a6b4b
--- /dev/null
+++ b/games-misc/fortune-mod-woody-allen-it/Manifest
@@ -0,0 +1 @@
+DIST fortune-mod-woody-allen-it-0.1.tgz 14246 SHA256 47a305aea6f2d256753b1fed5336d5a9f397925cc28f30fa58e28d09da5b1343 SHA512 9008be8c09671bc0e7715a18e6816a454d2f1aa6ca88aee6f596690888fb6fde1289629d3d2336df9de5fef04318ab9e86089b131f655e827905b1a1de57d8ea WHIRLPOOL 2e68e0bf34198a312b34e20e8824b13754bce6ca9f5728373af2b9fda71bf85e911e4ded02066ced3f2f85fbf7c3da6caa68211879411460a5a1015002757107
diff --git a/games-misc/fortune-mod-woody-allen-it/fortune-mod-woody-allen-it-0.1.ebuild b/games-misc/fortune-mod-woody-allen-it/fortune-mod-woody-allen-it-0.1.ebuild
new file mode 100644
index 000000000000..ac21bb06851d
--- /dev/null
+++ b/games-misc/fortune-mod-woody-allen-it/fortune-mod-woody-allen-it-0.1.ebuild
@@ -0,0 +1,21 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI=5
+DESCRIPTION="Fortune database for Woody Allen quotes (in Italian)"
+HOMEPAGE="http://somemixedstuff.blogspot.com/2007/04/set-of-fortunes-of-woody-allen-quotes.html"
+SRC_URI="http://utenti.lycos.it/gutter/${PN}/${P}.tgz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 x86 ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
+IUSE=""
+
+RDEPEND="games-misc/fortune-mod"
+
+S=${WORKDIR}/${PN}
+
+src_install() {
+ insinto /usr/share/fortune
+ doins ${PN} ${PN}.dat
+}
diff --git a/games-misc/fortune-mod-woody-allen-it/metadata.xml b/games-misc/fortune-mod-woody-allen-it/metadata.xml
new file mode 100644
index 000000000000..d3c2cc926f0b
--- /dev/null
+++ b/games-misc/fortune-mod-woody-allen-it/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>
diff --git a/games-misc/fortune-mod-zx-error/Manifest b/games-misc/fortune-mod-zx-error/Manifest
new file mode 100644
index 000000000000..ba48fdb1a652
--- /dev/null
+++ b/games-misc/fortune-mod-zx-error/Manifest
@@ -0,0 +1 @@
+DIST fortunes-zx-error-1.0.tar.gz 1209 SHA256 eeef602d56655d4f296382159c286ab655b450fc115ad680404b299006edf871 SHA512 6412826dfafdcd79eeb2f8100c6e7a7419526af080e98af91243a786b1fc6089ef652eb0d8267eb94564dd932fcd1b5f903a4da76760f23b370e57fbc5c72f9d WHIRLPOOL 52ecde54a33aa43a407c4b392433ce5940d0b00f6b73c97a0d6db30354ef6c1f49a4efac85214170a6d52b48243827f2d41682633ceb3d673909efdb11226f14
diff --git a/games-misc/fortune-mod-zx-error/fortune-mod-zx-error-1.0.ebuild b/games-misc/fortune-mod-zx-error/fortune-mod-zx-error-1.0.ebuild
new file mode 100644
index 000000000000..20c669fc0260
--- /dev/null
+++ b/games-misc/fortune-mod-zx-error/fortune-mod-zx-error-1.0.ebuild
@@ -0,0 +1,24 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI=5
+MY_P="fortunes-zx-error-${PV}"
+DESCRIPTION="Sinclair ZX Spectrum BASIC error Fortunes"
+HOMEPAGE="http://korpus.juls.savba.sk/~garabik/software/fortunes-zx-error.html"
+SRC_URI="http://korpus.juls.savba.sk/~garabik/software/fortunes-zx-error/${MY_P}.tar.gz"
+
+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=""
+
+RDEPEND="games-misc/fortune-mod"
+
+S=${WORKDIR}/${MY_P}
+
+src_install() {
+ insinto /usr/share/fortune
+ newins zx/error zx-error
+ newins zx/error.dat zx-error.dat
+ dodoc README
+}
diff --git a/games-misc/fortune-mod-zx-error/metadata.xml b/games-misc/fortune-mod-zx-error/metadata.xml
new file mode 100644
index 000000000000..d3c2cc926f0b
--- /dev/null
+++ b/games-misc/fortune-mod-zx-error/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>
diff --git a/games-misc/fortune-mod/Manifest b/games-misc/fortune-mod/Manifest
new file mode 100644
index 000000000000..89665e20b623
--- /dev/null
+++ b/games-misc/fortune-mod/Manifest
@@ -0,0 +1 @@
+DIST fortune-mod-1.99.1.tar.gz 1812089 SHA256 fc51aee1f73c936c885f4e0f8b6b48f4f68103e3896eaddc6a45d2b71e14eace SHA512 4c06ea37532dd59f0251d7c49538bee703852c60a3247aba7c516f4f0d4b8ab15b9d7495d004a6423acd74c4dd7532e3dbe1679d6904ab373b617a3386205cde WHIRLPOOL 4968663675bdb03db39d31c2ed359b99d5b2416d474d773c59b90cae5193caf213ee41cc70f34c3247af971da34f83e724f3d11c6ac266fd9fad766ed1ec7285
diff --git a/games-misc/fortune-mod/files/01_all_fortune_all-fix.patch b/games-misc/fortune-mod/files/01_all_fortune_all-fix.patch
new file mode 100644
index 000000000000..b4175ac81bfc
--- /dev/null
+++ b/games-misc/fortune-mod/files/01_all_fortune_all-fix.patch
@@ -0,0 +1,21 @@
+--- fortune/fortune.c.old 2006-03-11 15:33:14.000000000 +0100
++++ fortune/fortune.c 2006-03-11 15:43:16.000000000 +0100
+@@ -974,7 +974,7 @@
+ if (!ret)
+ ret=add_file(percent, fullpathname, NULL, &File_list,
+ &File_tail, NULL);
+- if ( (!ret && fullpathname != locpathname) || strcmp(sp, "all") == 0 )
++ if (!ret && strncmp(fullpathname, locpathname, sizeof(fullpathname)))
+ ret=add_file(percent, locpathname, NULL, &File_list,
+ &File_tail, NULL);
+
+@@ -985,7 +985,8 @@
+ }
+ if (!ret)
+ return FALSE;
+-
++ if (strncmp(fullpathname, locpathname, sizeof(fullpathname)) && strcmp(sp, "all") == 0)
++ add_file(percent, locpathname, NULL, &File_list, &File_tail, NULL);
+ }
+ else
+ if (!add_file(percent, fullpathname, NULL, &File_list,
diff --git a/games-misc/fortune-mod/files/fortune-mod-1.99.1-gentoo.patch b/games-misc/fortune-mod/files/fortune-mod-1.99.1-gentoo.patch
new file mode 100644
index 000000000000..d9b27fb350e5
--- /dev/null
+++ b/games-misc/fortune-mod/files/fortune-mod-1.99.1-gentoo.patch
@@ -0,0 +1,99 @@
+--- fortune-mod-1.99.1/datfiles/Makefile
++++ fortune-mod-1.99.1/datfiles/Makefile
+@@ -58,7 +58,7 @@
+ if [ $(WEB) = 1 ] ; then cd html && $(MAKE) install ; fi
+ for i in $(COOKIES) ; do \
+ install -m 0644 $$i $$i.dat $(COOKIEDIR) || exit $? ; \
+- cp -d $$i.u8 $(COOKIEDIR) ; \
++ cp -P $$i.u8 $(COOKIEDIR) ; \
+ done
+
+ clean:
+--- fortune-mod-1.99.1/datfiles/off/Makefile
++++ fortune-mod-1.99.1/datfiles/off/Makefile
+@@ -38,7 +38,7 @@
+ install -m 0755 -d $(OCOOKIEDIR)
+ for i in $(OCOOKIES) ; \
+ do install -m 0644 $$i $$i.dat $(OCOOKIEDIR) || exit $$? ; \
+- cp -d $$i.u8 $(OCOOKIEDIR) ; \
++ cp -P $$i.u8 $(OCOOKIEDIR) ; \
+ done
+
+ clean:
+--- fortune-mod-1.99.1/Makefile
++++ fortune-mod-1.99.1/Makefile
+@@ -65,8 +65,7 @@
+ RECODELIBS=-lrecode
+
+ DEFINES=-DFORTDIR="\"$(COOKIEDIR)\"" -DOFFDIR="\"$(OCOOKIEDIR)\"" -DLOCFORTDIR="\"$(LOCALDIR)\"" -DLOCOFFDIR="\"$(LOCALODIR)\""
+-CFLAGS=-O2 $(DEFINES) -Wall -fomit-frame-pointer -pipe -fsigned-char
+-LDFLAGS=-s
++CFLAGS += $(DEFINES) -fsigned-char
+
+ # The above flags are used by default; the debug flags are used when make
+ # is called with a debug target, such as 'make debug'
+--- fortune-mod-1.99.1/fortune/fortune.c
++++ fortune-mod-1.99.1/fortune/fortune.c
+@@ -97,7 +97,7 @@
+ #endif /* killing warnings */
+
+ #define PROGRAM_NAME "fortune-mod"
+-#define PROGRAM_VERSION "9708"
++#define PROGRAM_VERSION "1.99.1"
+
+ #ifdef HAVE_STDBOOL_H
+ #include <stdbool.h>
+@@ -256,6 +256,7 @@
+
+ int add_dir(register FILEDESC *);
+
++const char *program_name;
+ char *program_version(void)
+ {
+ static char buf[BUFSIZ];
+@@ -1675,14 +1675,17 @@
+ char *ctype, *crequest;
+ getargs(ac, av);
+
++ program_name = (char *const) av[0];
+ outer = recode_new_outer(true);
+ request = recode_new_request (outer);
+
+ setlocale(LC_ALL,"");
+ ctype = nl_langinfo(CODESET);
+- if(strcmp(ctype,"ANSI_X3.4-1968") == 0)
+- ctype="ISO-8859-1";
+-
++ if (!ctype || !*ctype)
++ ctype="C"; /* revert to C if no valid envvars! */
++ else
++ if(strcmp(ctype,"ANSI_X3.4-1968") == 0)
++ ctype="ISO-8859-1";
+ crequest = malloc(strlen(ctype) + 7 + 1);
+ sprintf(crequest, "UTF-8..%s", ctype);
+ recode_scan_request (request, crequest);
+--- fortune-mod-1.99.1/util/rot.c
++++ fortune-mod-1.99.1/util/rot.c
+@@ -5,10 +5,11 @@
+
+ #include <stdio.h>
+ #include <ctype.h>
++#include <stdlib.h>
+
+ int main(void)
+ {
+- char a, b;
++ short int a, b;
+
+ while ((a = getchar()) != EOF)
+ {
+--- fortune-mod-1.99.1/util/unstr.c
++++ fortune-mod-1.99.1/util/unstr.c
+@@ -96,6 +96,7 @@
+ #include <string.h>
+ #include <unistd.h>
+
++#include <stdlib.h>
+ #ifndef MAXPATHLEN
+ #define MAXPATHLEN 1024
+ #endif /* MAXPATHLEN */
diff --git a/games-misc/fortune-mod/fortune-mod-1.99.1-r2.ebuild b/games-misc/fortune-mod/fortune-mod-1.99.1-r2.ebuild
new file mode 100644
index 000000000000..ad6ed77428fb
--- /dev/null
+++ b/games-misc/fortune-mod/fortune-mod-1.99.1-r2.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit eutils toolchain-funcs
+
+DESCRIPTION="The notorious fortune program"
+HOMEPAGE="http://www.redellipse.net/code/fortune"
+SRC_URI="http://www.redellipse.net/code/downloads/${P}.tar.gz"
+
+LICENSE="BSD"
+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 ~x64-macos ~x86-macos ~x86-solaris"
+IUSE="offensive elibc_glibc"
+
+DEPEND="app-text/recode"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-gentoo.patch \
+ "${FILESDIR}"/01_all_fortune_all-fix.patch
+
+ sed -i \
+ -e 's:/games::' \
+ -e 's:/fortunes:/fortune:' \
+ -e '/^FORTDIR=/s:=.*:=$(prefix)/usr/bin:' \
+ -e '/^all:/s:$: fortune/fortune.man:' \
+ -e "/^OFFENSIVE=/s:=.*:=`use offensive && echo 1 || echo 0`:" \
+ Makefile || die "sed Makefile failed"
+
+ if ! use elibc_glibc ; then
+ [[ ${CHOST} == *-*bsd* ]] && local reglibs="-lcompat"
+ [[ ${CHOST} == *-darwin* ]] && local reglibs="-lc"
+ has_version "app-text/recode[nls]" && reglibs="${reglibs} -lintl"
+ sed -i \
+ -e "/^REGEXLIBS=/s:=.*:= ${reglibs}:" \
+ Makefile \
+ || die "sed REGEXLIBS failed"
+ fi
+ if [[ ${CHOST} == *-solaris* ]] ; then
+ sed -i -e 's:u_int:uint:g' util/strfile.h || die "sed strfile.h failed"
+ fi
+ if [[ ${CHOST} == *-darwin* ]] ; then
+ sed -i -e 's/-DBSD_REGEX/-DPOSIX_REGEX/' Makefile || die "sed Makefile failed"
+ fi
+}
+
+src_compile() {
+ local myrex=
+ [[ ${CHOST} == *-interix* ]] && myrex="REGEXDEFS=-DNO_REGEX"
+ emake prefix="${EPREFIX}" CC="$(tc-getCC)" $myrex
+}
+
+src_install() {
+ emake prefix="${ED}" install
+ dodoc ChangeLog INDEX Notes Offensive README TODO cookie-files
+}
diff --git a/games-misc/fortune-mod/metadata.xml b/games-misc/fortune-mod/metadata.xml
new file mode 100644
index 000000000000..d3c2cc926f0b
--- /dev/null
+++ b/games-misc/fortune-mod/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>
diff --git a/games-misc/funny-manpages/Manifest b/games-misc/funny-manpages/Manifest
new file mode 100644
index 000000000000..b3d094d80dfd
--- /dev/null
+++ b/games-misc/funny-manpages/Manifest
@@ -0,0 +1,2 @@
+DIST funny-manpages_1.3-5.diff.gz 2639 SHA256 aea8369726213a8294f70c0d0b1637b2cf961d6208ad52fa97daf105e9452a53 SHA512 69110989da9071321a8d8e9ea4f09bd7635704caeaccbdbf7fb2fb1abd540632f19d63d15de3232fabbc35e76dfe2eefb64ce84b6f4606d8dbe581e15f83d24c WHIRLPOOL f35a816d9ba0ebad7ac11ed78d6ddd5225d3cdc0a3b39a93235592688b95d1a52057f37cc437afe73dca9d252f027316a5f228e4f45ab8de5ef9da2a1a617412
+DIST funny-manpages_1.3.orig.tar.gz 22691 SHA256 5dcfcbb30a26585b53f27dc591b7e9cd485f738e603fa3fc9f074c55eabb6f91 SHA512 83c753540d9a9829017246f4a9de22ba09965fa5b8af8276f55ef141129876ca3e641b367ebc31ca99301f37a56132c07eee1ebc9616c954a2e84387fe62383d WHIRLPOOL 15f61ba576b7d674bfe2db6ee18f919b3b9851ded47dc8aa6ed0a710a77dbf9defd4c4da35106aa12df4b0c11382c345e3fcb9ae82d5fbe2ceac65fdad633c8c
diff --git a/games-misc/funny-manpages/funny-manpages-1.3_rc5-r1.ebuild b/games-misc/funny-manpages/funny-manpages-1.3_rc5-r1.ebuild
new file mode 100644
index 000000000000..31f85443613a
--- /dev/null
+++ b/games-misc/funny-manpages/funny-manpages-1.3_rc5-r1.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI=5
+inherit eutils
+
+MY_R=${PV:0-1}
+MY_P=${PN}_${PV/_rc?/}
+DESCRIPTION="funny manpages collected from various sources"
+HOMEPAGE="http://debian.org/"
+SRC_URI="mirror://debian/pool/main/f/funny-manpages/${MY_P}.orig.tar.gz
+ mirror://debian/pool/main/f/funny-manpages/${MY_P}-${MY_R}.diff.gz"
+
+LICENSE="freedist" #465704
+SLOT="0"
+KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86"
+IUSE=""
+
+RDEPEND="virtual/man"
+
+S=${WORKDIR}/${MY_P/_/-}.orig
+
+src_prepare() {
+ epatch ../${MY_P}-${MY_R}.diff
+
+ for f in *.[0-57-9]fun ; do
+ mv ${f} ${f/.?fun/.6fun} || die "renaming ${f} failed"
+ done
+}
+
+src_install() {
+ doman *.6fun
+}
diff --git a/games-misc/funny-manpages/metadata.xml b/games-misc/funny-manpages/metadata.xml
new file mode 100644
index 000000000000..d3c2cc926f0b
--- /dev/null
+++ b/games-misc/funny-manpages/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>
diff --git a/games-misc/gBhed/Manifest b/games-misc/gBhed/Manifest
new file mode 100644
index 000000000000..b559cf7e421d
--- /dev/null
+++ b/games-misc/gBhed/Manifest
@@ -0,0 +1 @@
+DIST gBhed-0.17.tar.gz 460425 SHA256 dfbec23e210fd19b8b8128c3e2140d4360730fa3fcd5b5cc22bb9f01302019b8 SHA512 036dcdef2de70ebc0774e9907c7697d28369d71fdb763e9034efe9ab2385ac482d2f301e7291a1b4787338080943260cd22715067d10d5f8c8d3690db2f0cc27 WHIRLPOOL e09d61b56739f4710e0d8addd50f7bed7df948e346ea65fd2897f93208ad764d7946d1d174b9c82b247ba314ff8f1478545b20a35d99ad7b84a22de79f019639
diff --git a/games-misc/gBhed/gBhed-0.17.ebuild b/games-misc/gBhed/gBhed-0.17.ebuild
new file mode 100644
index 000000000000..ddd5b4827054
--- /dev/null
+++ b/games-misc/gBhed/gBhed-0.17.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit eutils games
+
+DESCRIPTION="An Al Bhed translator"
+HOMEPAGE="http://liquidchile.net/software/gbhed/"
+SRC_URI="http://liquidchile.net/software/gbhed/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc x86"
+IUSE="gtk"
+
+DEPEND="gtk? ( x11-libs/gtk+:2 )"
+
+src_prepare() {
+ sed -i 's/19/32/' src/gui/translation_fork.c || die
+}
+
+src_configure() {
+ egamesconf \
+ --datadir="${GAMES_DATADIR}"/${PN} \
+ $(use_enable gtk gbhed)
+}
+
+src_install() {
+ emake -C src DESTDIR="${D}" install
+ dodoc AUTHORS ChangeLog NEWS README THANKS TODO
+ doman doc/abtranslate.1
+
+ if use gtk ; then
+ insinto "${GAMES_DATADIR}"/${PN}/pixmaps
+ doins pixmaps/*.{jpg,png,xpm}
+ newicon pixmaps/gbhed48.png ${PN}.png
+ make_desktop_entry gbhed ${PN}
+ doman doc/gbhed.1
+ fi
+
+ prepgamesdirs
+}
diff --git a/games-misc/gBhed/metadata.xml b/games-misc/gBhed/metadata.xml
new file mode 100644
index 000000000000..d3c2cc926f0b
--- /dev/null
+++ b/games-misc/gBhed/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>
diff --git a/games-misc/games-envd/games-envd-0.ebuild b/games-misc/games-envd/games-envd-0.ebuild
new file mode 100644
index 000000000000..3da7695f0e97
--- /dev/null
+++ b/games-misc/games-envd/games-envd-0.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit multilib games
+
+DESCRIPTION="Environment file for gentoo games"
+HOMEPAGE="http://www.gentoo.org/proj/en/desktop/games/index.xml"
+SRC_URI=""
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+
+S=${WORKDIR}
+
+pkg_setup() {
+ games_pkg_setup
+ if [[ -z "${REPLACING_VERSIONS}" ]] ; then
+ if [[ -e "${EROOT%/}/etc/env.d/${GAMES_ENVD}" ]] ; then
+ einfo "removing ${EROOT%/}/etc/env.d/${GAMES_ENVD}"
+ rm "${EROOT%/}/etc/env.d/${GAMES_ENVD}" || die
+ fi
+ fi
+}
+
+src_prepare() {
+ local d libdirs
+
+ for d in $(get_all_libdirs) ; do
+ libdirs="${libdirs}:${GAMES_PREFIX}/${d}"
+ done
+
+ cat <<-EOF > ${GAMES_ENVD} || die
+ # if you don't want these added for non-games users
+ # see https://bugs.gentoo.org/show_bug.cgi?id=408615
+ LDPATH="${libdirs:1}"
+ PATH="${GAMES_BINDIR}"
+ EOF
+}
+
+src_configure() { :; }
+
+src_compile() { :; }
+
+src_install() {
+ doenvd ${GAMES_ENVD}
+ gamesowners "${ED%/}"/etc/env.d/${GAMES_ENVD}
+ gamesperms "${ED%/}"/etc/env.d/${GAMES_ENVD}
+}
+
+pkg_preinst() { :; }
+
+pkg_postinst() { :; }
diff --git a/games-misc/games-envd/metadata.xml b/games-misc/games-envd/metadata.xml
new file mode 100644
index 000000000000..cad5a2aa1773
--- /dev/null
+++ b/games-misc/games-envd/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>
diff --git a/games-misc/ggencoder/Manifest b/games-misc/ggencoder/Manifest
new file mode 100644
index 000000000000..432d6ffc5827
--- /dev/null
+++ b/games-misc/ggencoder/Manifest
@@ -0,0 +1 @@
+DIST ggencoder-0.91a.tar.bz2 82184 SHA256 3c6f5546bd5c758d0a676546e1ad9a0c9d4c79ad2be54f2c00209c5f9f69b611
diff --git a/games-misc/ggencoder/ggencoder-0.91a.ebuild b/games-misc/ggencoder/ggencoder-0.91a.ebuild
new file mode 100644
index 000000000000..4c80b2d1c81c
--- /dev/null
+++ b/games-misc/ggencoder/ggencoder-0.91a.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+inherit eutils qt4-r2
+
+DESCRIPTION="Utility to encode and decode Game Genie (tm) codes"
+HOMEPAGE="http://games.technoplaza.net/ggencoder/qt/"
+SRC_URI="http://games.technoplaza.net/ggencoder/qt/history/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE="doc"
+
+DEPEND="dev-qt/qtcore:4
+ dev-qt/qtgui:4"
+
+S=${WORKDIR}/${P}/source
+
+src_install() {
+ dobin ${PN}
+ dodoc ../docs/ggencoder.txt
+ if use doc ; then
+ dohtml -r ../apidocs/html/*
+ fi
+}
diff --git a/games-misc/ggencoder/metadata.xml b/games-misc/ggencoder/metadata.xml
new file mode 100644
index 000000000000..d3c2cc926f0b
--- /dev/null
+++ b/games-misc/ggencoder/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>
diff --git a/games-misc/gtklife/Manifest b/games-misc/gtklife/Manifest
new file mode 100644
index 000000000000..d60e538a5304
--- /dev/null
+++ b/games-misc/gtklife/Manifest
@@ -0,0 +1 @@
+DIST gtklife-5.1.tar.gz 809542 SHA256 fcf5a6515595d1822291fd6da4fec93dcfb5162cfce48445686ba73ab4a98191 SHA512 b80a2f0fc41583c2905e84e00baf689870c22262a55af25dfc2fe9e914d214f9c01b6800125e68516b63067005d25338ee7edf0c63ee37327479411693840025 WHIRLPOOL 6553956c570bd83d4237c02055d77a82944f30c9a6760c8dd6bbaafbca97633589c94ede839ea7abb4c2e3537856c6733de4fc1f369c8bd56e40361bc6469d27
diff --git a/games-misc/gtklife/files/gtklife-5.1-link.patch b/games-misc/gtklife/files/gtklife-5.1-link.patch
new file mode 100644
index 000000000000..8aae429def1c
--- /dev/null
+++ b/games-misc/gtklife/files/gtklife-5.1-link.patch
@@ -0,0 +1,20 @@
+--- Makefile.in.old 2014-07-24 21:25:09.072431615 +0200
++++ Makefile.in 2014-07-24 21:26:34.898037740 +0200
+@@ -22,7 +22,7 @@
+ # Preprocessor and linking flags
+
+ CPPFLAGS:=$(CPPFLAGS) $(GTK_CFLAGS) -DVERSION=\"$(VERSION)\" -DDATADIR=\"$(pkgdatadir)\" -DDOCDIR=\"$(docdir)\"
+-LDFLAGS:=$(LDFLAGS) $(GTK_LIBS)
++LDLIBS:=$(GTK_LIBS) -lX11
+
+ # Object files
+
+@@ -51,7 +51,7 @@
+ $(INSTALL_DATA) doc/* $(docdir)
+
+ gtklife: $(OBJS)
+- $(CC) -o gtklife $(OBJS) $(LDFLAGS)
++ $(CC) -o gtklife $(OBJS) $(LDFLAGS) $(LDLIBS)
+
+ create_lookup: $(CL_OBJS)
+ $(CC) -o create_lookup $(CL_OBJS)
diff --git a/games-misc/gtklife/gtklife-5.1.ebuild b/games-misc/gtklife/gtklife-5.1.ebuild
new file mode 100644
index 000000000000..08cdc4311d75
--- /dev/null
+++ b/games-misc/gtklife/gtklife-5.1.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+inherit eutils games
+
+DESCRIPTION="A Conway's Life simulator for Unix"
+HOMEPAGE="http://ironphoenix.org/tril/gtklife/"
+SRC_URI="http://ironphoenix.org/tril/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 hppa ~ppc x86"
+IUSE=""
+
+RDEPEND="x11-libs/gtk+:2
+ dev-libs/glib:2
+ x11-libs/libX11"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-link.patch
+}
+
+src_configure() {
+ egamesconf \
+ --with-gtk2 \
+ --with-docdir=/usr/share/doc/${PF}/html
+}
+
+src_install() {
+ dogamesbin ${PN}
+
+ insinto "${GAMES_DATADIR}"/${PN}
+ doins -r graphics patterns
+
+ newicon icon_48x48.png ${PN}.png
+ make_desktop_entry ${PN} GtkLife
+
+ dohtml doc/*
+ dodoc AUTHORS README NEWS
+ prepgamesdirs
+}
diff --git a/games-misc/gtklife/metadata.xml b/games-misc/gtklife/metadata.xml
new file mode 100644
index 000000000000..d3c2cc926f0b
--- /dev/null
+++ b/games-misc/gtklife/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>
diff --git a/games-misc/katawa-shoujo/Manifest b/games-misc/katawa-shoujo/Manifest
new file mode 100644
index 000000000000..1b6d0095b578
--- /dev/null
+++ b/games-misc/katawa-shoujo/Manifest
@@ -0,0 +1,3 @@
+DIST katawa-shoujo-1.3.tar.bz2 496193762 SHA256 a7fbe9330e60a5457ce504f20de357191f0809beab345a9c00974fedd74ae573 SHA512 228ea474746541e0f812789a504c75005c9f3d496d9a255aba77ed926cb6302ed9815126b5facba6a29e560fbfca2ac2d584c62870157704ed7e99c9eabed9b6 WHIRLPOOL 3ccd9d9f555e817e805fc294f41bd0d7c0937ad71bc31d819be54e0bfae4a8a4e4cedee7cdff4cff7f389c26578a119989c7f029014992ebeb5a6afa9dc55931
+DIST katawa-shoujo-256.png 59803 SHA256 8130b39af5341b0e1c85cbd6ef5be229de2877d696e5b372e1aacf176778df45 SHA512 7d920c24f4182ba72d5b3d641d7d373c166ca4c7d0b6a396f5e3b9281cb43f7e6e8e761f2f181ff061705118b3080807866fcd290d2b471e98c3a584d5fa8e0e WHIRLPOOL d2b06b26d2ea5bae5292fc5e6f3f4571fa82a4f70155e38a3c8a21778caabc37b2a13b2cb7637a0fb05a55243a63e23c96d0538bbcbc631810f15c069d26f590
+DIST katawa-shoujo-48.png 3621 SHA256 a366a52fd9dd241182d163e28a37f537fa71d5d46f1fc899da08b492c371a0fd SHA512 ad24156cf446ffe92068baaa6d512e6bab90587db5ce01b3c18e6c42bb9b8c91f7eae3e9547099d3f8f0a5d3f144676c3499c0a38d9af845abf79e153b543bef WHIRLPOOL b62253218dbb981f32007e22cdd36decac8948e4dff416ca60de3daaab8cfad9773622e194b885c0145a499008751c5a09184b7f0a0dc3b9153d751dd0d1b584
diff --git a/games-misc/katawa-shoujo/katawa-shoujo-1.3.ebuild b/games-misc/katawa-shoujo/katawa-shoujo-1.3.ebuild
new file mode 100644
index 000000000000..bb6e39c77a42
--- /dev/null
+++ b/games-misc/katawa-shoujo/katawa-shoujo-1.3.ebuild
@@ -0,0 +1,87 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit eutils gnome2-utils games
+
+DESCRIPTION="Bishoujo-style visual novel set in the fictional Yamaku High School for disabled children"
+HOMEPAGE="http://katawa-shoujo.com/"
+SRC_URI="http://dl.katawa-shoujo.com/gold_1.3/%5b4ls%5d_katawa_shoujo_1.3-%5blinux-x86%5d%5bFCF758CC%5d.tar.bz2 -> ${P}.tar.bz2
+ http://dev.gentoo.org/~hasufell/distfiles/katawa-shoujo-48.png
+ http://dev.gentoo.org/~hasufell/distfiles/katawa-shoujo-256.png"
+
+# bundled renpy includes licenses of all libraries
+LICENSE="CC-BY-NC-ND-3.0
+ !system-renpy? ( MIT PSF-2 LGPL-2.1 || ( FTL GPL-2+ ) IJG libpng ZLIB BZIP2 )"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE="doc +system-renpy"
+
+RDEPEND="system-renpy? ( games-engines/renpy )"
+
+REQUIRED_USE="!system-renpy? ( || ( amd64 x86 ) )"
+
+# Binaries are built extremely weirdly, resulting in errors like:
+# BFD: Not enough room for program headers, try linking with -N
+#
+# Technically, we could make this unconditional because there are no other
+# binaries, but it's still good practice.
+RESTRICT="!system-renpy? ( strip )"
+
+QA_PREBUILT="${GAMES_PREFIX_OPT}/${PN}/lib/*"
+
+S="${WORKDIR}/Katawa Shoujo-${PV}-linux"
+
+src_install() {
+ if use system-renpy; then
+ insinto "${GAMES_DATADIR}/${PN}"
+ doins -r game/.
+
+ games_make_wrapper ${PN} "renpy '${GAMES_DATADIR}/${PN}'"
+ else
+ insinto "${GAMES_PREFIX_OPT}/${PN}"
+ doins -r game localizations renpy "Katawa Shoujo."{py,sh}
+
+ local host="${CTARGET:-${CHOST}}"
+ local arch="${host%%-*}"
+
+ cd lib
+ insinto "${GAMES_PREFIX_OPT}/${PN}/lib"
+ doins -r linux-${arch} pythonlib2.7
+ cd ..
+
+ fperms +x "${GAMES_PREFIX_OPT}/${PN}/lib/linux-${arch}/"{python,"Katawa Shoujo"} \
+ "${GAMES_PREFIX_OPT}/${PN}/Katawa Shoujo."{py,sh}
+
+ games_make_wrapper ${PN} "./Katawa\ Shoujo.sh" "${GAMES_PREFIX_OPT}/${PN}"
+ fi
+
+ local i
+ for i in 48 256; do
+ newicon -s ${i} "${DISTDIR}"/${PN}-${i}.png ${PN}.png
+ done
+
+ make_desktop_entry ${PN} "Katawa Shoujo"
+
+ if use doc; then
+ dodoc "Game Manual.pdf"
+ fi
+
+ prepgamesdirs
+}
+
+pkg_preinst() {
+ games_pkg_preinst
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ games_pkg_postinst
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+}
diff --git a/games-misc/katawa-shoujo/metadata.xml b/games-misc/katawa-shoujo/metadata.xml
new file mode 100644
index 000000000000..37434ac31bd8
--- /dev/null
+++ b/games-misc/katawa-shoujo/metadata.xml
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>games</herd>
+ <herd>proxy-maintainers</herd>
+ <maintainer>
+ <email>maksverver@geocities.com</email>
+ <name>Maks Verver</name>
+ <description>Proxy maintainer. CC him on bugs</description>
+ </maintainer>
+ <maintainer>
+ <email>alex_y_xu@yahoo.ca</email>
+ <name>Alex Xu</name>
+ <description>Proxied maintainer</description>
+ </maintainer>
+ <use>
+ <flag name="system-renpy">Use <pkg>games-engines/renpy</pkg> instead of the bundled one (experimental)</flag>
+ </use>
+ <longdescription>
+ Katawa Shoujo is a bishoujo-style visual novel set in the fictional
+ Yamaku High School for disabled children, located somewhere in modern
+ Japan. Hisao Nakai, a normal boy living a normal life, has his life
+ turned upside down when a congenital heart defect forces him to move to
+ a new school after a long hospitalization. Despite his difficulties,
+ Hisao is able to find friends—and perhaps love, if he plays his cards
+ right. There are five main paths corresponding to the 5 main female
+ characters, each path following the storyline pertaining to that
+ character.
+ </longdescription>
+</pkgmetadata>
+
diff --git a/games-misc/little-inferno/Manifest b/games-misc/little-inferno/Manifest
new file mode 100644
index 000000000000..163e2101b38d
--- /dev/null
+++ b/games-misc/little-inferno/Manifest
@@ -0,0 +1 @@
+DIST LittleInferno-20130509.sh 194304242 SHA256 3848f4037652699c162ebf3ae78f6dce81772394911483c9f1ef49cb51f6a198 SHA512 19e2e616b1b1a6e7f8974ba12756c4b54c1daa99c99056891c56f7ed578f20a15143d683960efbb69f3d680243dd219051fc0bdac60ab74dcddc1c69df7d00dd WHIRLPOOL 2a25aa0fd1103dca63fa422cc3573eefa8a7acc819735b591a44ce89c9f9581a75287dcae8dbd8d2be52c63782af97a3b36fc676ee98288d73b9d08f2b2b2ec4
diff --git a/games-misc/little-inferno/little-inferno-20130509.ebuild b/games-misc/little-inferno/little-inferno-20130509.ebuild
new file mode 100644
index 000000000000..bd89a01ff044
--- /dev/null
+++ b/games-misc/little-inferno/little-inferno-20130509.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit eutils gnome2-utils unpacker games
+
+DESCRIPTION="Throw your toys into your fire, and play with them as they burn"
+HOMEPAGE="http://tomorrowcorporation.com/"
+SRC_URI="LittleInferno-${PV}.sh"
+
+LICENSE="Gameplay-Group-EULA"
+SLOT="0"
+KEYWORDS="-* amd64 x86"
+IUSE="bundled-libs"
+RESTRICT="bindist fetch bundled-libs? ( splitdebug )"
+
+MYGAMEDIR=${GAMES_PREFIX_OPT}/${PN}
+QA_PREBUILT="${MYGAMEDIR#/}/LittleInferno.bin.x86
+ ${MYGAMEDIR#/}/lib/*"
+
+RDEPEND="
+ >=net-misc/curl-7.37.0-r1[abi_x86_32(-)]
+ x11-libs/libX11[abi_x86_32(-)]
+ virtual/opengl[abi_x86_32(-)]
+ !bundled-libs? (
+ >=media-libs/libogg-1.3.1[abi_x86_32(-)]
+ >=media-libs/libvorbis-1.3.3-r1[abi_x86_32(-)]
+ >=media-libs/openal-1.15.1-r1[abi_x86_32(-)] )"
+DEPEND="app-arch/xz-utils"
+
+src_unpack() {
+ unpack_makeself ${A}
+
+ mkdir ${P} || die
+ cd ${P} || die
+
+ local i
+ for i in instarchive_{,linux_}all ; do
+ mv ../"${i}" ../"${i}".tar.xz || die
+ unpack ./../"${i}".tar.xz
+ done
+}
+
+src_prepare() {
+ if use !bundled-libs ; then
+ rm -rv lib || die
+ fi
+}
+
+src_install() {
+ insinto "${MYGAMEDIR}"
+ doins -r *
+
+ doicon -s 128 LittleInferno.png
+ make_desktop_entry ${PN} "Little Inferno" LittleInferno
+ games_make_wrapper ${PN} "./LittleInferno.bin.x86" "${MYGAMEDIR}" "${MYGAMEDIR}/lib"
+
+ fperms +x "${MYGAMEDIR}"/LittleInferno.bin.x86
+
+ prepgamesdirs
+}
+
+pkg_preinst() {
+ games_pkg_preinst
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ games_pkg_postinst
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+}
diff --git a/games-misc/little-inferno/metadata.xml b/games-misc/little-inferno/metadata.xml
new file mode 100644
index 000000000000..89f2b6934dc8
--- /dev/null
+++ b/games-misc/little-inferno/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>games</herd>
+ <use>
+ <flag name='bundled-libs'>Use bundled libraries.</flag>
+ </use>
+</pkgmetadata>
diff --git a/games-misc/lolcat/Manifest b/games-misc/lolcat/Manifest
new file mode 100644
index 000000000000..03513c32181c
--- /dev/null
+++ b/games-misc/lolcat/Manifest
@@ -0,0 +1 @@
+DIST lolcat-42.1.0.gem 205312 SHA256 ecf19c507f1e4df8436678b3ba1fdd24d686b23d1a87da1238afa192e679e0ca SHA512 b0c8f7122317b31efbf81a2023dded8a6c27ad17539b88c882af99983d377c308862d7ee4be85e891c2aca0bee25ac6d2ef3bf536b88d7db18d11176d3245b83 WHIRLPOOL 070e94fa38ced5b554a103b166f9694c75afe2dfa5ffe7a65f3bb62895638cb5c7a825290f2ca99a59e57a1017df79441cb24c2e23373ee90abbae6c0e8dc9a1
diff --git a/games-misc/lolcat/files/lolcat-42.1.0-paint.patch b/games-misc/lolcat/files/lolcat-42.1.0-paint.patch
new file mode 100644
index 000000000000..6b62b6bd933c
--- /dev/null
+++ b/games-misc/lolcat/files/lolcat-42.1.0-paint.patch
@@ -0,0 +1,11 @@
+--- all.orig/lolcat-42.1.0/lolcat.gemspec 2015-05-13 01:21:05.898321678 -0400
++++ all/lolcat-42.1.0/lolcat.gemspec 2015-05-13 02:02:11.987935841 -0400
+@@ -12,7 +12,7 @@
+ s.summary = %q{Okay, no unicorns. But rainbows!!}
+
+ s.add_development_dependency "rake"
+- s.add_dependency "paint", "~> 0.8.3"
++ s.add_dependency "paint"
+ s.add_dependency "trollop", "~> 1.16.2"
+
+ s.files = `git ls-files`.split("\n")
diff --git a/games-misc/lolcat/lolcat-42.1.0.ebuild b/games-misc/lolcat/lolcat-42.1.0.ebuild
new file mode 100644
index 000000000000..532a2e0a9271
--- /dev/null
+++ b/games-misc/lolcat/lolcat-42.1.0.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+USE_RUBY="ruby19 ruby20"
+
+RUBY_FAKEGEM_TASK_TEST=""
+RUBY_FAKEGEM_TASK_DOC=""
+RUBY_FAKEGEM_EXTRADOC="README.md"
+RUBY_FAKEGEM_GEMSPEC="lolcat.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Rainbows and unicorns!"
+HOMEPAGE="https://github.com/busyloop/lolcat"
+
+LICENSE="WTFPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+DEPEND="dev-vcs/git"
+
+RUBY_PATCHES=( "${FILESDIR}"/${P}-paint.patch )
+
+ruby_add_rdepend ">=dev-ruby/trollop-1.16.2-r3:0
+ dev-ruby/paint"
diff --git a/games-misc/lolcat/metadata.xml b/games-misc/lolcat/metadata.xml
new file mode 100644
index 000000000000..8a24ef8c3bd0
--- /dev/null
+++ b/games-misc/lolcat/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>games</herd>
+ <upstream>
+ <remote-id type="github">busyloop/lolcat</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/games-misc/lucidlife/Manifest b/games-misc/lucidlife/Manifest
new file mode 100644
index 000000000000..c89c8e9dd8b5
--- /dev/null
+++ b/games-misc/lucidlife/Manifest
@@ -0,0 +1 @@
+DIST lucidlife-0.9.2.tar.gz 1506448 SHA256 7ef3e3a71e771642e2749ccff2adf1c88c9f1798444d6a34665ce528aef58048 SHA512 5184d6a5a2d48b38b2a72edbab6ca4f251547e5c54234792d3821482d39e5fbb2b96ab171544dc3e6843f9976c1dc40935eb3537dcf06c1cb0c717260bd04b01 WHIRLPOOL 41339dacc97fde20d7951f8e51b07b3913ec1155f4b7393b8dfc38ccf1ac58f532f54c339f05f7568bf53d88d2ca25f45611122d781615737b651124feb427b6
diff --git a/games-misc/lucidlife/files/lucidlife-0.9.2-gnome-vfs.patch b/games-misc/lucidlife/files/lucidlife-0.9.2-gnome-vfs.patch
new file mode 100644
index 000000000000..49918b62146a
--- /dev/null
+++ b/games-misc/lucidlife/files/lucidlife-0.9.2-gnome-vfs.patch
@@ -0,0 +1,70 @@
+--- lucidlife-0.9.2/configure.ac
++++ lucidlife-0.9.2/configure.ac
+@@ -23,7 +23,7 @@
+ AC_SUBST(CFLAGS)
+ AC_SUBST(LDFLAGS)
+
+-GNOME_MODULES="[gtk+-2.0 >= 2.6.0 gnome-vfs-2.0 >= 2.0.0]"
++GNOME_MODULES="[gtk+-2.0 >= 2.6.0]"
+ PKG_CHECK_MODULES(GNOME, $GNOME_MODULES)
+ AC_SUBST(GNOME_CFLAGS)
+ AC_SUBST(GNOME_LIBS)
+--- lucidlife-0.9.2/src/lucidlife.c
++++ lucidlife-0.9.2/src/lucidlife.c
+@@ -35,8 +35,6 @@
+
+ #include <gtk/gtk.h>
+ #include <glib.h>
+-#include <libgnomevfs/gnome-vfs-init.h>
+-#include <libgnomevfs/gnome-vfs-utils.h>
+
+ #include <libintl.h>
+ #define _(String) gettext (String)
+@@ -418,7 +416,6 @@
+ state_from_config();
+ load_recent_files_list();
+
+- gnome_vfs_init();
+ gtk_init(&argc, &argv);
+ init_gui();
+
+@@ -445,8 +442,6 @@
+
+ main_loop();
+
+- gnome_vfs_shutdown();
+-
+ return 0;
+ }
+
+@@ -1635,7 +1630,7 @@
+
+ void activate_url(GtkAboutDialog *about, const gchar *url, gpointer data)
+ {
+- gnome_vfs_url_show (url);
++ gtk_show_uri (NULL, url, GDK_CURRENT_TIME, NULL );
+ }
+
+ /*** Bound Function Helpers ***/
+@@ -1859,7 +1856,7 @@
+ char* url;
+
+ url = dsprintf("file://%s/%s", DOCDIR, filename);
+- gnome_vfs_url_show(url);
++ gtk_show_uri (NULL, url, GDK_CURRENT_TIME, NULL );
+ free(url);
+ }
+
+--- lucidlife-0.9.2/lucidlife.desktop.in
++++ lucidlife-0.9.2/lucidlife.desktop.in
+@@ -2,8 +2,7 @@
+ Name=LucidLife
+ Comment=A user-friendly version of Conway's game of life
+ Exec=lucidlife
+-Icon=lucidlife.png
++Icon=lucidlife
+ Terminal=false
+ Type=Application
+-Categories=GNOME;Application;Game;
+-Encoding=UTF-8
++Categories=GNOME;GTK;Game;
diff --git a/games-misc/lucidlife/files/lucidlife-0.9.2-underlink.patch b/games-misc/lucidlife/files/lucidlife-0.9.2-underlink.patch
new file mode 100644
index 000000000000..af74e85e8c77
--- /dev/null
+++ b/games-misc/lucidlife/files/lucidlife-0.9.2-underlink.patch
@@ -0,0 +1,11 @@
+--- src/Makefile.am.old 2011-06-17 17:31:54.078600741 +0200
++++ src/Makefile.am 2011-06-17 17:32:05.491299944 +0200
+@@ -2,7 +2,7 @@
+ -DDATADIR=\""$(datadir)/lucidlife"\" \
+ -DDOCDIR=\""$(datadir)/doc/lucidlife"\"
+
+-LIBS = $(GNOME_LIBS)
++LIBS = $(GNOME_LIBS) -lX11
+
+ bin_PROGRAMS = lucidlife
+
diff --git a/games-misc/lucidlife/lucidlife-0.9.2.ebuild b/games-misc/lucidlife/lucidlife-0.9.2.ebuild
new file mode 100644
index 000000000000..8c92724bc16a
--- /dev/null
+++ b/games-misc/lucidlife/lucidlife-0.9.2.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit autotools eutils games
+
+DESCRIPTION="A Conway's Life simulator written in GTK+2 - fork from Gtklife"
+HOMEPAGE="http://gtk-apps.org/content/show.php/LucidLife?content=130867"
+SRC_URI="mirror://gentoo/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE=""
+
+RDEPEND="x11-libs/gtk+:2"
+DEPEND="${DEPEND}
+ dev-util/intltool
+ virtual/pkgconfig
+ sys-devel/gettext"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-gnome-vfs.patch \
+ "${FILESDIR}"/${P}-underlink.patch
+ eautoreconf
+ intltoolize --force --copy --automake || die
+}
+
+src_install() {
+ emake install \
+ desktopdir=/usr/share/applications \
+ pixmapdir=/usr/share/pixmaps \
+ DESTDIR="${D}"
+
+ prepgamesdirs
+
+ dodoc AUTHORS ChangeLog NEWS README TODO
+}
diff --git a/games-misc/lucidlife/metadata.xml b/games-misc/lucidlife/metadata.xml
new file mode 100644
index 000000000000..a562c4775bb2
--- /dev/null
+++ b/games-misc/lucidlife/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>games</herd>
+<maintainer>
+<email>xmw@gentoo.org</email>
+<name>Michael Weber</name>
+</maintainer>
+</pkgmetadata>
+
diff --git a/games-misc/metadata.xml b/games-misc/metadata.xml
new file mode 100644
index 000000000000..ebeb7bde2ed2
--- /dev/null
+++ b/games-misc/metadata.xml
@@ -0,0 +1,39 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE catmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<catmetadata>
+ <longdescription lang="en">
+ The games-misc category contains miscellaneous games which do not fit
+ into other games- categories.
+ </longdescription>
+ <longdescription lang="de">
+ Die Kategorie games-misc enthält verschiedenste Spiele die sich nicht
+ in andere Kategorien einordnen lassen.
+ </longdescription>
+ <longdescription lang="es">
+ La categoría games-misc contiene juegos que no encajan en ninguna de las
+ otras categorías games-.
+ </longdescription>
+ <longdescription lang="ja">
+ games-miscカテゴリーには他のgame-カテゴリーに分類されない多種多様な
+ ゲームが含まれています。
+ </longdescription>
+ <longdescription lang="nl">
+ De games-misc categorie bevat spellen die niet in een van de andere
+ categorieen ingedeeld konden worden.
+ </longdescription>
+ <longdescription lang="vi">
+ Nhóm games-misc chứa các trò chơi linh tinh không thích hợp với các nhóm games- khác.
+ </longdescription>
+ <longdescription lang="it">
+ La categoria games-misc contiene giochi che non ricadono in altre categorie games-.
+ </longdescription>
+ <longdescription lang="pt">
+ A categoria games-misc contém jogos que não se encaixam em
+ nenhuma das outras categorias games-.
+ </longdescription>
+ <longdescription lang="pl">
+ Kategoria games-misc zawiera gry, które nie pasowały do pozostałych
+ kategorii.
+ </longdescription>
+</catmetadata>
+
diff --git a/games-misc/nyancat/Manifest b/games-misc/nyancat/Manifest
new file mode 100644
index 000000000000..de59210dd015
--- /dev/null
+++ b/games-misc/nyancat/Manifest
@@ -0,0 +1 @@
+DIST nyancat-1.2.1.tar.gz 14109 SHA256 a5bfafb6ea69917071aa05f9a52db43e47e97272eb2f4c6c827630cddb015972 SHA512 882bdcfe702d4613484b293f767a2ed74da63f222071e59f56a4246f56947882540930bcb2deae22f6e3326064f1c6f0ff7eb78ac6d7aa08125ebe64ebdf16eb WHIRLPOOL 3c263a35cee24babac92b3ed6ec33a8a4324adcec3364ffef2d0a3ac01786689a9969a21fde3ce1d278f572cd204be336d32d2411168bf6ac46ae47de20a5204
diff --git a/games-misc/nyancat/metadata.xml b/games-misc/nyancat/metadata.xml
new file mode 100644
index 000000000000..bc44a06a0e1e
--- /dev/null
+++ b/games-misc/nyancat/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>games</herd>
+ <upstream>
+ <remote-id type="github">klange/nyancat</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/games-misc/nyancat/nyancat-1.2.1.ebuild b/games-misc/nyancat/nyancat-1.2.1.ebuild
new file mode 100644
index 000000000000..9bfc7f48e1e8
--- /dev/null
+++ b/games-misc/nyancat/nyancat-1.2.1.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit games
+
+DESCRIPTION="Nyan Cat Telnet Server"
+HOMEPAGE="http://github.com/klange/nyancat"
+SRC_URI="https://github.com/klange/nyancat/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="UoI-NCSA"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE=""
+
+src_compile() {
+ emake LFLAGS="${LDFLAGS} ${CFLAGS}"
+}
+
+src_install() {
+ dogamesbin src/${PN}
+ dodoc README.md
+ prepgamesdirs
+}
diff --git a/games-misc/opengfx/Manifest b/games-misc/opengfx/Manifest
new file mode 100644
index 000000000000..bc6cfc57e6de
--- /dev/null
+++ b/games-misc/opengfx/Manifest
@@ -0,0 +1,2 @@
+DIST opengfx-0.5.1-source.tar.xz 9553608 SHA256 5737760de04034504dbf552f75a45d713a59659dca4bfbdd4e215429c148d7a9 SHA512 30dee5ae2065d76205d21c911b875777878fc66c3df159ca49d8745db843bc8c00f9d022670ceb872f20bc8b64d41fbe3f12cb8ce3b3eb0e8b9c30a6e5bfde04 WHIRLPOOL f387e474ad8d1fa6b43adfce00df64a388702d5f21350ad60a76d25577aba18af798ba7cc4cb8a0ab06d49f76c48f7f59757cdb384e3630d5ff7d63b9a47da4b
+DIST opengfx-0.5.2-source.tar.xz 9639176 SHA256 fba70b19e9e69e1f51a0b36675e25c5ec90157dc842de9a405c0d5700f36e647 SHA512 d42d819bec314c3e29c68e8bbb60e40c5d43ff52878f5e771edd49b27d8dabe7406a8c5050797934dc4ba78a30e1fd543482c8ea86a3e562670ce71c04e50d22 WHIRLPOOL 4fa6ebf69e2d7495658fd799329fac3127363e2d3265ecdd85f2ed2d20689a675120b669335308ef15da2b6e6b1a818d93fe8dad691134bd3894b45c523b64b4
diff --git a/games-misc/opengfx/files/opengfx-0.5.1-gcc48.patch b/games-misc/opengfx/files/opengfx-0.5.1-gcc48.patch
new file mode 100644
index 000000000000..51a32c8766b7
--- /dev/null
+++ b/games-misc/opengfx/files/opengfx-0.5.1-gcc48.patch
@@ -0,0 +1,16 @@
+--- scripts/Makefile.nml.old
++++ scripts/Makefile.nml
+@@ -14,11 +14,11 @@
+
+ %.src.dep: $(SRC_DIR)/%.pnml
+ $(_E) "[DEP] $@"
+- $(_V) $(CC) -C -M -MF $@ -E -MT $(patsubst %.src.dep,%.nml,$@) - < $<
++ $(_V) $(CC) -P -C -M -MF $@ -E -MT $(patsubst %.src.dep,%.nml,$@) - < $<
+
+ %.nml: $(SRC_DIR)/%.pnml $(TAG_FILENAME)
+ $(_E) "[CPP] $@"
+- $(_V) $(CC) -D REPO_REVISION=$(REPO_REVISION) $(CC_FLAGS) $< > $@
++ $(_V) $(CC) -P -D REPO_REVISION=$(REPO_REVISION) $(CC_FLAGS) $< > $@
+
+ %.gfx.dep: %.nml
+ $(_E) "[DEP] $@"
diff --git a/games-misc/opengfx/files/opengfx-0.5.2-Makefile.patch b/games-misc/opengfx/files/opengfx-0.5.2-Makefile.patch
new file mode 100644
index 000000000000..ee301b8190f4
--- /dev/null
+++ b/games-misc/opengfx/files/opengfx-0.5.2-Makefile.patch
@@ -0,0 +1,45 @@
+diff -ru opengfx-0.5.2-source.orig/Makefile opengfx-0.5.2-source/Makefile
+--- opengfx-0.5.2-source.orig/Makefile 2015-04-12 12:57:17.000000000 -0400
++++ opengfx-0.5.2-source/Makefile 2015-07-28 21:13:46.496708233 -0400
+@@ -99,8 +99,8 @@
+ AWK ?= awk
+ GREP ?= grep
+ PYTHON ?= python
+-UNIX2DOS ?= unix2dos
+-UNIX2DOS_FLAGS ?= $(shell [ -n $(UNIX2DOS) ] && $(UNIX2DOS) -q --version 2>/dev/null && echo "-q" || echo "")
++UNIX2DOS ?= $(shell which unix2dos 2>/dev/null)
++UNIX2DOS_FLAGS ?= $(shell [ -n $(UNIX2DOS) ] && $(UNIX2DOS) -q --version 2>/dev/null >&2 && echo "-q" || echo "")
+
+ # Graphics processing
+ GIMP ?= gimp
+@@ -196,7 +196,7 @@
+ endif
+
+ # Days of commit since 2000-1-1 00-00
+-REPO_DAYS_SINCE_2000 ?= $(shell $(PYTHON) -c "from datetime import date; print (date(`echo "$(REPO_DATE)" | sed s/-/,/g | sed s/,0/,/g`)-date(2000,1,1)).days")
++REPO_DAYS_SINCE_2000 ?= $(shell $(PYTHON) -c "from datetime import date; print ((date(`echo "$(REPO_DATE)" | sed s/-/,/g | sed s/,0/,/g`)-date(2000,1,1)).days)")
+
+ # Filename addition, if we're not building the default branch
+ REPO_BRANCH_STRING ?= $(shell if [ "$(REPO_BRANCH)" = "$(DEFAULT_BRANCH_NAME)" ]; then echo ""; else echo "-$(REPO_BRANCH)"; fi)
+@@ -377,7 +377,11 @@
+ | sed -e "s/$(REPLACE_REVISION)/$(NEWGRF_VERSION)/" \
+ | sed -e "s/$(REPLACE_FILENAME)/$(OUTPUT_FILENAME)/" \
+ > $@
+- $(_V) [ -z "$(UNIX2DOS)" ] || $(UNIX2DOS) $(UNIX2DOS_FLAGS) $@
++ifeq ($(UNIX2DOS),)
++ $(_E) Warning: unix2dos not available. $@ keeps current eol style.
++else
++ $(_V) $(UNIX2DOS) $(UNIX2DOS_FLAGS) $@
++endif
+
+ clean::
+ $(_E) "[CLEAN DOC]"
+@@ -714,7 +718,7 @@
+ $(_E)
+ endif
+ $(_E) "Release:"
+- $(_E) "bananas: Upload bundle to BaNaNaS
++ $(_E) "bananas: Upload bundle to BaNaNaS"
+ $(_E)
+ $(_E) "Valid command line variables are:"
+ $(_E) "Helper programmes:"
diff --git a/games-misc/opengfx/metadata.xml b/games-misc/opengfx/metadata.xml
new file mode 100644
index 000000000000..d3c2cc926f0b
--- /dev/null
+++ b/games-misc/opengfx/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>
diff --git a/games-misc/opengfx/opengfx-0.5.1.ebuild b/games-misc/opengfx/opengfx-0.5.1.ebuild
new file mode 100644
index 000000000000..f73d4b6b05e2
--- /dev/null
+++ b/games-misc/opengfx/opengfx-0.5.1.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit eutils games
+
+DESCRIPTION="OpenGFX data files for OpenTTD"
+HOMEPAGE="http://bundles.openttdcoop.org/opengfx/"
+SRC_URI="http://bundles.openttdcoop.org/opengfx/releases/${PV}/${P}-source.tar.xz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ~arm ~ppc x86"
+IUSE=""
+RESTRICT="test" # nml version affects the checksums that the test uses (bug #451444)
+
+DEPEND=">=games-util/nml-0.3.0
+ games-util/grfcodec"
+RDEPEND=""
+
+S=${WORKDIR}/${P}-source
+
+src_prepare() {
+ # ensure that we will not use gimp to regenerate the pngs
+ # causes sandbox violations and not worth the effort anyway
+ sed -i -e '/^GFX_SCRIPT_LIST_FILES/s/^/#/' Makefile.config || die
+ # work with later versions of unix2dos from app-text/dos2unix
+ sed -i -e '/^UNIX2DOS_FLAGS/s/null/null >&2/' Makefile || die
+}
+
+src_compile() {
+ emake help # print out the env to make bug reports better
+ _V= emake bundle_tar
+}
+
+src_install() {
+ insinto "${GAMES_DATADIR}/openttd/data/"
+ doins *.grf opengfx.obg
+ dodoc docs/{changelog.txt,readme.txt}
+ prepgamesdirs
+}
diff --git a/games-misc/opengfx/opengfx-0.5.2.ebuild b/games-misc/opengfx/opengfx-0.5.2.ebuild
new file mode 100644
index 000000000000..ca291533e9b6
--- /dev/null
+++ b/games-misc/opengfx/opengfx-0.5.2.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit eutils games
+
+DESCRIPTION="OpenGFX data files for OpenTTD"
+HOMEPAGE="http://bundles.openttdcoop.org/opengfx/"
+SRC_URI="http://bundles.openttdcoop.org/opengfx/releases/${PV}/${P}-source.tar.xz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~ppc ~x86"
+IUSE=""
+RESTRICT="test" # nml version affects the checksums that the test uses (bug #451444)
+
+DEPEND=">=games-util/nml-0.3.0
+ games-util/grfcodec"
+RDEPEND=""
+
+S=${WORKDIR}/${P}-source
+
+src_prepare() {
+ epatch "${FILESDIR}/${P}-Makefile.patch"
+}
+
+src_compile() {
+ GIMP= emake help # print out the env to make bug reports better
+ GIMP= _V= emake bundle_tar
+}
+
+src_install() {
+ insinto "${GAMES_DATADIR}/openttd/data/"
+ doins *.grf opengfx.obg
+ dodoc docs/{changelog.txt,readme.txt}
+ prepgamesdirs
+}
diff --git a/games-misc/openmsx/Manifest b/games-misc/openmsx/Manifest
new file mode 100644
index 000000000000..303c232b83b4
--- /dev/null
+++ b/games-misc/openmsx/Manifest
@@ -0,0 +1 @@
+DIST openmsx-0.3.1-source.tar.gz 152798 SHA256 ecb827353b727f3bd41e57d101a9c5f0438e961fee0bd3cc0e5b3ba34ec2535b SHA512 e455f99f32d1daa77157def4f109dd1456169ae2b527290035b6a52f591c13fb7464fd221e00eb46bf03f51e8d0101de08a9e47cebe2430ad05a840ab235973e WHIRLPOOL c5c04e0c5681206482a4baa4526fbcc6289e519187950639cbc3ec85f5f8744ecd5449855027b96f6178252ac38c88ba1245f39ea8d881e05fb92191b5677d9d
diff --git a/games-misc/openmsx/metadata.xml b/games-misc/openmsx/metadata.xml
new file mode 100644
index 000000000000..d3c2cc926f0b
--- /dev/null
+++ b/games-misc/openmsx/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>
diff --git a/games-misc/openmsx/openmsx-0.3.1-r1.ebuild b/games-misc/openmsx/openmsx-0.3.1-r1.ebuild
new file mode 100644
index 000000000000..2fa2dd8c1e3c
--- /dev/null
+++ b/games-misc/openmsx/openmsx-0.3.1-r1.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+PYTHON_COMPAT=( python2_7 )
+inherit python-any-r1 games
+
+DESCRIPTION="An ambiguously named music replacement set for OpenTTD"
+HOMEPAGE="http://bundles.openttdcoop.org/openmsx/"
+SRC_URI="http://bundles.openttdcoop.org/openmsx/releases/${PV}/${P}-source.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ~arm ppc ~ppc64 x86"
+IUSE=""
+
+DEPEND="${PYTHON_DEPS}"
+
+S=${WORKDIR}/${P}-source
+
+pkg_setup() {
+ python-any-r1_pkg_setup
+ games_pkg_setup
+}
+
+src_compile() {
+ emake _V= bundle || die
+}
+
+src_install() {
+ insinto "${GAMES_DATADIR}"/openttd/gm/${P}
+ doins ${P}/{*.mid,openmsx.obm} || die
+ dodoc ${P}/{changelog.txt,readme.txt} || die
+ prepgamesdirs
+}
diff --git a/games-misc/opensfx/Manifest b/games-misc/opensfx/Manifest
new file mode 100644
index 000000000000..ac766879025e
--- /dev/null
+++ b/games-misc/opensfx/Manifest
@@ -0,0 +1 @@
+DIST opensfx-0.2.3-source.tar.gz 11364270 SHA256 e512b855cb6d271f98bb894d25916ee0ac795907b013d8748561e829c07d5d0e SHA512 7575c8febcbcabe8f9042a1a197ba76b9020e335663bf70b0aaebafe4b0758f82ff7acc624b1dfdc12d38e346f139454b78ea29e18a8bb8bd2afd3d6a209669c WHIRLPOOL d748441b86881b8b2a56002b886aa0303b000f9c0569b0f109ef1b3e64df62953b39091785cbd3945d32bfcc90f7a65d64520fa6abdbb1915102dfed93ff62de
diff --git a/games-misc/opensfx/metadata.xml b/games-misc/opensfx/metadata.xml
new file mode 100644
index 000000000000..d3c2cc926f0b
--- /dev/null
+++ b/games-misc/opensfx/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>
diff --git a/games-misc/opensfx/opensfx-0.2.3.ebuild b/games-misc/opensfx/opensfx-0.2.3.ebuild
new file mode 100644
index 000000000000..115b00fd0fc8
--- /dev/null
+++ b/games-misc/opensfx/opensfx-0.2.3.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit games
+
+DESCRIPTION="OpenSFX data files for OpenTTD"
+HOMEPAGE="http://bundles.openttdcoop.org/opensfx/"
+SRC_URI="http://bundles.openttdcoop.org/${PN}/releases/${P}-source.tar.gz"
+
+LICENSE="CC-Sampling-Plus-1.0"
+SLOT="0"
+KEYWORDS="amd64 ~arm ppc ppc64 x86"
+IUSE=""
+
+DEPEND="games-util/catcodec"
+RDEPEND=""
+
+S=${WORKDIR}/${P}-source
+
+src_install() {
+ insinto "${GAMES_DATADIR}"/openttd/data/
+ doins opensfx.cat opensfx.obs
+ dodoc docs/{changelog.txt,readme.ptxt}
+ prepgamesdirs
+}
diff --git a/games-misc/papers-please/Manifest b/games-misc/papers-please/Manifest
new file mode 100644
index 000000000000..68d9493fe9ce
--- /dev/null
+++ b/games-misc/papers-please/Manifest
@@ -0,0 +1 @@
+DIST papers-please_1.1.65_i386.tar.gz 31566799 SHA256 50562ad2b01cb7558147cd05de4dc37c02deb2e66fc5d3bff77994785f9551d7 SHA512 093990a61c1b61d2999e6484335f4deddfecd3d66b7a5e29555c3170e890f6049f7d42a83529dcd993439de940b5dc96b8485d30ab46995d0f6814d5282669e0 WHIRLPOOL 8da4e0d3720159637bf8248cf53c2d7e6388bb3234469da71ae22720c6c76f0ba26a5ebbd116664f217165dc3cd06dd55cf001fd8203469f285570494eea95fc
diff --git a/games-misc/papers-please/metadata.xml b/games-misc/papers-please/metadata.xml
new file mode 100644
index 000000000000..cad5a2aa1773
--- /dev/null
+++ b/games-misc/papers-please/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>
diff --git a/games-misc/papers-please/papers-please-1.1.65.ebuild b/games-misc/papers-please/papers-please-1.1.65.ebuild
new file mode 100644
index 000000000000..56e52008b6b5
--- /dev/null
+++ b/games-misc/papers-please/papers-please-1.1.65.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit eutils games
+
+DESCRIPTION="A Dystopian Document Thriller"
+HOMEPAGE="http://papersplea.se"
+SRC_URI="papers-please_${PV}_i386.tar.gz"
+
+LICENSE="PAPERS-PLEASE"
+SLOT="0"
+KEYWORDS="amd64 ~x86"
+IUSE=""
+RESTRICT="fetch bindist"
+
+QA_PREBUILT="${GAMES_PREFIX_OPT#/}/${PN}/*"
+
+RDEPEND="
+ amd64? (
+ >=x11-libs/libX11-1.6.2[abi_x86_32]
+ >=x11-libs/libXau-1.0.7-r1[abi_x86_32]
+ >=x11-libs/libXdmcp-1.1.1-r1[abi_x86_32]
+ >=x11-libs/libXext-1.3.2[abi_x86_32]
+ >=x11-libs/libXxf86vm-1.1.3[abi_x86_32]
+ >=x11-libs/libdrm-2.4.46[abi_x86_32]
+ >=x11-libs/libxcb-1.9.1[abi_x86_32]
+ >=virtual/opengl-7.0-r1[abi_x86_32]
+ )
+ x86? (
+ x11-libs/libX11
+ x11-libs/libXau
+ x11-libs/libXdmcp
+ x11-libs/libXext
+ x11-libs/libXxf86vm
+ x11-libs/libdrm
+ x11-libs/libxcb
+ virtual/opengl
+ )"
+
+S=${WORKDIR}/${PN}
+
+pkg_nofetch() {
+ einfo
+ einfo "Please buy & download \"${SRC_URI}\" from:"
+ einfo " ${HOMEPAGE}"
+ einfo "and move/link it to \"${DISTDIR}\""
+ einfo
+}
+
+src_prepare() {
+ rm -v launch.sh LICENSE || die
+ mv README "${T}"/README || die
+}
+
+src_install() {
+ local dir=${GAMES_PREFIX_OPT}/${PN}
+
+ insinto "${dir}"
+ doins -r *
+ fperms +x "${dir}"/PapersPlease
+
+ games_make_wrapper ${PN} "./PapersPlease" "${dir}" "${dir}"
+ make_desktop_entry ${PN} "Papers, Please"
+
+ dodoc "${T}"/README
+
+ prepgamesdirs
+}
diff --git a/games-misc/qlife/Manifest b/games-misc/qlife/Manifest
new file mode 100644
index 000000000000..cfab3e553507
--- /dev/null
+++ b/games-misc/qlife/Manifest
@@ -0,0 +1 @@
+DIST qlife_linux.tar.gz 66056 SHA256 73df11d20ff670d3b6f41dd3c2bff1ad44f5f1a82589998c8c71447f8b4259c0 SHA512 3cd3cddff667476bb7d89c52ed85be3a3c8a8018cce19aff2e8bd54e7a2a54d4b1453d16d693edf17545519373f96b448e468bd5ca6b675291e7b3d1ab378eaf WHIRLPOOL 58fbdbd757cd54472a4bb66e9184253fc63a032ca213c9a19d72fed05f0a82925a12e0216a7b35af16df0cd818e9e9138056a9144a98dd2c950da43572357e84
diff --git a/games-misc/qlife/metadata.xml b/games-misc/qlife/metadata.xml
new file mode 100644
index 000000000000..d3c2cc926f0b
--- /dev/null
+++ b/games-misc/qlife/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>
diff --git a/games-misc/qlife/qlife-1.1.ebuild b/games-misc/qlife/qlife-1.1.ebuild
new file mode 100644
index 000000000000..6e7c7d7c82c8
--- /dev/null
+++ b/games-misc/qlife/qlife-1.1.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit eutils qt4-r2 games
+
+MY_PN=${PN/ql/QL}
+
+DESCRIPTION="Simulates the classical Game of Life invented by John Conway"
+HOMEPAGE="http://open-maker.tuxfamily.org/blog/index.php?post/2009/03/28/QLife"
+SRC_URI="http://open-maker.tuxfamily.org/blog/public/${PN}_linux.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="amd64 ppc x86"
+IUSE=""
+
+DEPEND="dev-qt/qtgui:4"
+RDEPEND="${DEPEND}"
+
+S=${WORKDIR}/${MY_PN}/sources
+
+src_configure() {
+ eqmake4 ${MY_PN}.pro
+}
+
+src_install() {
+ dogamesbin ${MY_PN}
+ newicon data/egg.png ${PN}.png
+ make_desktop_entry ${MY_PN} ${MY_PN}
+ prepgamesdirs
+}
diff --git a/games-misc/rfksay/Manifest b/games-misc/rfksay/Manifest
new file mode 100644
index 000000000000..051cd60da1fd
--- /dev/null
+++ b/games-misc/rfksay/Manifest
@@ -0,0 +1 @@
+DIST rfksay.tar.gz 997 SHA256 8b90eca517ba8e14708c0cc3b2712c14b829042a347490f43c23537678b0a8f9 SHA512 8eb5766b8a3efc31a20a128be0ec95eba7f61599ca402dc48d7c247516ac9f221d9f72a471923da566645b53e119831e61a7caa94f7b8c17ee4af802c42f6714 WHIRLPOOL 379bc65d4fb8fbb7dbe2d7fd7e30c4d5e3322a433f02cf0eaa8053f6e0bbdacf046bb7546cffd9de5277f6f00c24d0999c94a9de04869871387197a772ec9d56
diff --git a/games-misc/rfksay/metadata.xml b/games-misc/rfksay/metadata.xml
new file mode 100644
index 000000000000..d3c2cc926f0b
--- /dev/null
+++ b/games-misc/rfksay/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>
diff --git a/games-misc/rfksay/rfksay-0.1.ebuild b/games-misc/rfksay/rfksay-0.1.ebuild
new file mode 100644
index 000000000000..422279d9d5a2
--- /dev/null
+++ b/games-misc/rfksay/rfksay-0.1.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI=5
+inherit games
+
+DESCRIPTION="Like cowsay, but different because it involves robots and kittens"
+HOMEPAGE="http://www.robotfindskitten.org/"
+#SRC_URI="http://www.redhotlunix.com/${PN}.tar.gz"
+SRC_URI="mirror://gentoo/${PN}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc sparc x86"
+IUSE=""
+
+DEPEND="dev-lang/perl"
+RDEPEND="${DEPEND}"
+
+S=${WORKDIR}
+
+src_install() {
+ dogamesbin kittensay rfksay robotsay
+ prepgamesdirs
+}
diff --git a/games-misc/robotfindskitten/Manifest b/games-misc/robotfindskitten/Manifest
new file mode 100644
index 000000000000..095f9ead88b7
--- /dev/null
+++ b/games-misc/robotfindskitten/Manifest
@@ -0,0 +1 @@
+DIST robotfindskitten-1.7320508.406.tar.gz 406412 SHA256 08c8a826c3cf90a7f3dc1d42b087425af661971585f125b9bedca2bcc2a11852 SHA512 96c8f9968336cda5f079ca4b69a17a76444a3291b1354d594d2a9b89cb0d88296b983c70076da3334774710d811b33a90fe513ba5dca330808e5345e6c920865 WHIRLPOOL 6a60e847d96db16cee9e2a2788ee412c9cf3fc859af164f5e281d4180fad7d9001fb36a58e0ae75a149fe8229780a7024d5dc5f5eb71c9b272c878f87d44312f
diff --git a/games-misc/robotfindskitten/metadata.xml b/games-misc/robotfindskitten/metadata.xml
new file mode 100644
index 000000000000..aac5d18a769d
--- /dev/null
+++ b/games-misc/robotfindskitten/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>games</herd>
+ <upstream>
+ <remote-id type="sourceforge">rfk</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/games-misc/robotfindskitten/robotfindskitten-1.7320508.406.ebuild b/games-misc/robotfindskitten/robotfindskitten-1.7320508.406.ebuild
new file mode 100644
index 000000000000..6add5474dd41
--- /dev/null
+++ b/games-misc/robotfindskitten/robotfindskitten-1.7320508.406.ebuild
@@ -0,0 +1,24 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI=5
+inherit games
+
+DESCRIPTION="Help robot find kitten"
+HOMEPAGE="http://robotfindskitten.org/"
+SRC_URI="mirror://sourceforge/rfk/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc x86"
+IUSE=""
+
+DEPEND="sys-libs/ncurses"
+RDEPEND="${DEPEND}"
+
+src_install() {
+ dogamesbin src/robotfindskitten
+ doinfo doc/robotfindskitten.info
+ dodoc AUTHORS BUGS ChangeLog NEWS README
+ prepgamesdirs
+}
diff --git a/games-misc/sdljoytest/Manifest b/games-misc/sdljoytest/Manifest
new file mode 100644
index 000000000000..6745793e88e1
--- /dev/null
+++ b/games-misc/sdljoytest/Manifest
@@ -0,0 +1 @@
+DIST SDLJoytest-GL-11102003.tar.bz2 85997 SHA256 306aa4b825ad880e71aac77d410f7a040ee6c1a372eb3d1db3301a8536a3c468 SHA512 4994e878eaacacb156d4d9988d1e7864ed4e5e3d4db6bc0be8a883d7edde87d56698eb22de5d39e2110be7f960e5bf080283a7563bb2bc3f17c390181e097c6a WHIRLPOOL d029b72346c92c4502fb28d5070cb695110f84e1d5be4a12c303f6b342c948ac7adffe9c9168037efd652b92c607e2fbf438cdbc7ceb2241b926edc261d7acd3
diff --git a/games-misc/sdljoytest/metadata.xml b/games-misc/sdljoytest/metadata.xml
new file mode 100644
index 000000000000..7a55811def1a
--- /dev/null
+++ b/games-misc/sdljoytest/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>games</herd>
+ <upstream>
+ <remote-id type="sourceforge">sdljoytest</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/games-misc/sdljoytest/sdljoytest-11102003.ebuild b/games-misc/sdljoytest/sdljoytest-11102003.ebuild
new file mode 100644
index 000000000000..56c9598d6600
--- /dev/null
+++ b/games-misc/sdljoytest/sdljoytest-11102003.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit toolchain-funcs
+
+DESCRIPTION="SDL app to test joysticks and game controllers"
+HOMEPAGE="http://sdljoytest.sourceforge.net/"
+SRC_URI="mirror://sourceforge/sdljoytest/SDLJoytest-GL-${PV}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc x86"
+IUSE=""
+
+DEPEND="media-libs/libsdl[joystick,opengl,video]
+ virtual/opengl
+ media-libs/sdl-image"
+RDEPEND=${DEPEND}
+
+S=${WORKDIR}/SDLJoytest-GL
+
+src_prepare() {
+ emake clean
+ sed -i -e 's:/usr/local:/usr:' joytest.h || die
+ sed -i -e 's:SDL/::' *.c || die
+}
+
+src_compile() {
+ emake \
+ CC=$(tc-getCC) \
+ CFLAGS="$(sdl-config --cflags) ${CFLAGS}" \
+ LDFLAGS="$(sdl-config --libs) -lGL ${LDFLAGS}"
+}
+
+src_install() {
+ dobin SDLJoytest-GL
+ insinto /usr/share/SDLJoytest-GL
+ doins *.bmp
+ doman SDLJoytest.1
+}
diff --git a/games-misc/sex/Manifest b/games-misc/sex/Manifest
new file mode 100644
index 000000000000..3405f8b0ed94
--- /dev/null
+++ b/games-misc/sex/Manifest
@@ -0,0 +1 @@
+DIST sex-1.0.tar.gz 4820 SHA256 0f21831cd583ed917c2fc5f17bbe4e42f1d700417260b2e5924bf86b7f06eea8 SHA512 5b4802b63d20dc6ec5ab2b95210eadac02fe2887525d1235d0426589666d7413f2631504c69852ba494129ca66620f03b31fd6bf578642e88746b8639c3bba40 WHIRLPOOL d95cb2e4f7fdbab13bc62b1310e743ad783ee3cfb014f95867deb9dd0f7a89db7afbd7da86d698fc48d09855c41293ddc1f178aa34ae3dccb99868c7740dccbb
diff --git a/games-misc/sex/metadata.xml b/games-misc/sex/metadata.xml
new file mode 100644
index 000000000000..d3c2cc926f0b
--- /dev/null
+++ b/games-misc/sex/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>
diff --git a/games-misc/sex/sex-1.0.ebuild b/games-misc/sex/sex-1.0.ebuild
new file mode 100644
index 000000000000..dccd88334c7c
--- /dev/null
+++ b/games-misc/sex/sex-1.0.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI=5
+inherit games
+
+DESCRIPTION="Spouts silly mad-lib-style porn-like text"
+HOMEPAGE="http://spatula.net/software/sex/"
+SRC_URI="http://spatula.net/software/sex/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="alpha amd64 ppc ppc64 x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
+IUSE=""
+
+src_prepare() {
+ rm -f Makefile
+}
+
+src_compile() {
+ emake sex
+}
+
+src_install() {
+ dogamesbin sex
+ doman sex.6
+ dodoc README
+ prepgamesdirs
+}
diff --git a/games-misc/sound-of-sorting/Manifest b/games-misc/sound-of-sorting/Manifest
new file mode 100644
index 000000000000..58e6cdd0a8ff
--- /dev/null
+++ b/games-misc/sound-of-sorting/Manifest
@@ -0,0 +1,2 @@
+DIST sound-of-sorting-0.6.3.tar.bz2 135529 SHA256 1a81398391e322c2b9939153d27e638f11f2472fbd50b4def83ae58a68bc17af SHA512 b8b2cf628ccf8092e8a8e37caea2d4a865ffdebc0d140ad42db67dbead923921538bd530a08f339baeaace03f2ec426454f2907689d486332699b805adfafdcd WHIRLPOOL 54dfbf6c70612a85c40769e5c72404f3c9208af28cef3fe4ad35228d84583d88d61008b533e0deef69aca9459b5aa86ad9a8e50c4f2981374b0ee4f4bd1e75ca
+DIST sound-of-sorting-0.6.5.tar.bz2 144446 SHA256 937c9f9b53289cf80283cfc64afd96a4b9a146b142e36eba5dfdaf0a63ef4ada SHA512 c0dc8761ac8c110d4c516e47dd2dc472714ed9b5d09d1401f11db019abd8933dd5172c540fdb1afc8b3f3b87f0c8d0fa33ffdd4eab6ed1044ed05b704412e34f WHIRLPOOL a29693e9b87b845dceb6cfe77974af204b921df43eb76a5fdf6166eedc069daee9507265de825838b5f89f033edb7af41b23e8741cd14081753896439afdf25e
diff --git a/games-misc/sound-of-sorting/metadata.xml b/games-misc/sound-of-sorting/metadata.xml
new file mode 100644
index 000000000000..1e7587374fdf
--- /dev/null
+++ b/games-misc/sound-of-sorting/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>blueness@gentoo.org</email>
+ <name>Anthony G. Basile</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/games-misc/sound-of-sorting/sound-of-sorting-0.6.3.ebuild b/games-misc/sound-of-sorting/sound-of-sorting-0.6.3.ebuild
new file mode 100644
index 000000000000..3c70c50c944a
--- /dev/null
+++ b/games-misc/sound-of-sorting/sound-of-sorting-0.6.3.ebuild
@@ -0,0 +1,20 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit games
+
+DESCRIPTION="Visualization and Audibilization of Sorting Algorithms"
+HOMEPAGE="http://panthema.net/2013/sound-of-sorting/"
+SRC_URI="http://panthema.net/2013/sound-of-sorting/${P}.tar.bz2"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+DEPEND="media-libs/libsdl
+ x11-libs/wxGTK"
+RDEPEND="${DEPEND}"
diff --git a/games-misc/sound-of-sorting/sound-of-sorting-0.6.5.ebuild b/games-misc/sound-of-sorting/sound-of-sorting-0.6.5.ebuild
new file mode 100644
index 000000000000..8c1a7fa95bde
--- /dev/null
+++ b/games-misc/sound-of-sorting/sound-of-sorting-0.6.5.ebuild
@@ -0,0 +1,20 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit games
+
+DESCRIPTION="Visualization and Audibilization of Sorting Algorithms"
+HOMEPAGE="http://panthema.net/2013/sound-of-sorting/"
+SRC_URI="http://panthema.net/2013/sound-of-sorting/${P}.tar.bz2"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+DEPEND="media-libs/libsdl
+ x11-libs/wxGTK"
+RDEPEND="${DEPEND}"
diff --git a/games-misc/typespeed/Manifest b/games-misc/typespeed/Manifest
new file mode 100644
index 000000000000..487231740ffc
--- /dev/null
+++ b/games-misc/typespeed/Manifest
@@ -0,0 +1 @@
+DIST typespeed-0.6.5.tar.gz 254170 SHA256 5c860385ceed8a60f13217cc0192c4c2b4705c3e80f9866f7d72ff306eb72961 SHA512 cf3a8cdeb5fb1ee81bd5cf50d6b2aca1e7331b0bfde518c38050abae35ca617fbeed5bf2a37830a7568712ab71920f60c89197317a2721ae8c89829b0eede190 WHIRLPOOL db6b279889778573e1b2ac56b0ca1532a458ab80c768e9746d39d3717a501b921b05dc999b8f9056f35b95c850bd56c5190fa08d51a1f232de61b24ef7ab2412
diff --git a/games-misc/typespeed/metadata.xml b/games-misc/typespeed/metadata.xml
new file mode 100644
index 000000000000..712b1eb014a5
--- /dev/null
+++ b/games-misc/typespeed/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>games</herd>
+ <upstream>
+ <remote-id type="sourceforge">typespeed</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/games-misc/typespeed/typespeed-0.6.5.ebuild b/games-misc/typespeed/typespeed-0.6.5.ebuild
new file mode 100644
index 000000000000..66dfb6aa7575
--- /dev/null
+++ b/games-misc/typespeed/typespeed-0.6.5.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit autotools games
+
+DESCRIPTION="Test your typing speed, and get your fingers CPS"
+HOMEPAGE="http://typespeed.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="alpha amd64 ppc ~ppc64 x86"
+IUSE="nls"
+
+RDEPEND="sys-libs/ncurses
+ nls? ( virtual/libintl )"
+DEPEND="${RDEPEND}
+ nls? ( sys-devel/gettext )"
+
+src_prepare() {
+ sed -i \
+ -e 's/testsuite//' \
+ -e 's/doc//' \
+ Makefile.am \
+ || die
+ sed -i \
+ -e '/^CC =/d' \
+ src/Makefile.am \
+ || die
+ rm -rf m4 #417265
+ eautoreconf
+}
+
+src_configure() {
+ egamesconf \
+ --localedir=/usr/share/locale \
+ --docdir=/usr/share/doc/${PF} \
+ --with-highscoredir="${GAMES_STATEDIR}" \
+ $(use_enable nls)
+}
+
+src_install() {
+ default
+ dodoc doc/README
+ prepgamesdirs
+}
diff --git a/games-misc/wtf/Manifest b/games-misc/wtf/Manifest
new file mode 100644
index 000000000000..f03e9825fc06
--- /dev/null
+++ b/games-misc/wtf/Manifest
@@ -0,0 +1 @@
+DIST wtf-20090924.tar.bz2 9888 SHA256 2da6ed16657d78e6bd58855803de4e1b7cb2467196b2897781529c19df5d5b23 SHA512 85a7b5b7add12f775272851095f86efa2962875aa9008aec5079d3aec31a74a2d475d5c904013134b4045872fb8e301e95f3c5fa25ab8872a7d31012653bddb0 WHIRLPOOL be5647823d7d88fed827dc44d9107b20f3b3bfed4d8972b567d74b8cf01a81a47bb2e4ae3d28a22f008f466b5b764a2a5fec12b2b777b285b683d1661a8cff21
diff --git a/games-misc/wtf/files/wtf-20090924-prefix.patch b/games-misc/wtf/files/wtf-20090924-prefix.patch
new file mode 100644
index 000000000000..87dc6436e086
--- /dev/null
+++ b/games-misc/wtf/files/wtf-20090924-prefix.patch
@@ -0,0 +1,11 @@
+--- wtf.orig 2009-09-27 10:46:12 +0200
++++ wtf 2009-09-27 10:46:57 +0200
+@@ -12,7 +12,7 @@
+ exit 1
+ }
+
+-acronyms=${ACRONYMDB:-`ls /usr/share/misc/acronyms* 2>/dev/null`}
++acronyms=${ACRONYMDB:-`ls "@GENTOO_PORTAGE_EPREFIX@"/usr/share/misc/acronyms* 2>/dev/null`}
+
+ if [ "$acronyms" = "" ]; then
+ echo "$PROGNAME: acronyms database not found!" >&2
diff --git a/games-misc/wtf/metadata.xml b/games-misc/wtf/metadata.xml
new file mode 100644
index 000000000000..d3c2cc926f0b
--- /dev/null
+++ b/games-misc/wtf/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>
diff --git a/games-misc/wtf/wtf-20090924.ebuild b/games-misc/wtf/wtf-20090924.ebuild
new file mode 100644
index 000000000000..52bec1e45130
--- /dev/null
+++ b/games-misc/wtf/wtf-20090924.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit eutils prefix
+
+DESCRIPTION="translates acronyms for you"
+HOMEPAGE="http://netbsd.org/"
+SRC_URI="http://dev.gentooexperimental.org/~darkside/distfiles/${PN}/${P}.tar.bz2"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~ppc-aix ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
+IUSE=""
+
+DEPEND="!games-misc/bsd-games"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-prefix.patch
+ eprefixify wtf
+}
+
+src_compile() {
+ :
+}
+
+src_install() {
+ dobin wtf
+ doman wtf.6
+ insinto /usr/share/misc
+ doins acronyms*
+ dodoc README
+}
diff --git a/games-misc/wumpus/Manifest b/games-misc/wumpus/Manifest
new file mode 100644
index 000000000000..128df71d3e26
--- /dev/null
+++ b/games-misc/wumpus/Manifest
@@ -0,0 +1,3 @@
+DIST wump.6 4821 SHA256 290cf47bec06550563b7aa38e98c203d4928d09104b4a852cb89d2933d045af4 SHA512 51e61efa71d46bace722dae3dbc7ea782f97ef02cb529054c1f5ea56139017b90e6a31ae70314c4a4c82bbcb821f826aa0f6032d934104bf3e7851437377e471 WHIRLPOOL 1e2ac8daeeb9493ad33cc00f13a7987f77582746b788eba99342cb7dce412f3351f14a99ecaac44b583a8231d5adaef85cab2a0e025787b9e79d0da654bb6428
+DIST wump.c 22691 SHA256 6c85a36af61922d939ccd307ef22731b67c8792c91ebe0e88ca92e1d0752d057 SHA512 a914e1eb9e6204e5d763a7c32445721b849a753c3007312c7f9bbbaed9fc3f133639e7ef27a66636e9c5bc7bb13ab7a54f4f607272403014042723de38cbd878 WHIRLPOOL e1f64cf5c95342a1e090d1bc2bd4887367e2b3be6ed43ec13b460666aa9ff96a3ddf2ea4ed44c83096826e98cade1787fe0a315401b769c08b45afa03f6f0ae6
+DIST wump.info 1883 SHA256 5e67570605fccbc2af25ff8eba565bcb74a08bb01470dc4520d1368e6bc9cdc3 SHA512 faee0552c7065f6cc98db53d0ed085b7b4c6aadb5f457733e36a621f9ea1753cb627d4a3813cc9b9aaaa1cd178458fd7ceb4ef9114892e0f8faeb303cc0351d8 WHIRLPOOL b255c40d683a16356a5c9f884efafedf7d97fa708b3c76d6db4bed65588e5ee6a7cc272ef463dc54589c1c0565e8ed9bf731c10e412566c8e39393de7946e648
diff --git a/games-misc/wumpus/metadata.xml b/games-misc/wumpus/metadata.xml
new file mode 100644
index 000000000000..d3c2cc926f0b
--- /dev/null
+++ b/games-misc/wumpus/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>
diff --git a/games-misc/wumpus/wumpus-1.4.ebuild b/games-misc/wumpus/wumpus-1.4.ebuild
new file mode 100644
index 000000000000..d70e491acd21
--- /dev/null
+++ b/games-misc/wumpus/wumpus-1.4.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit toolchain-funcs games
+
+DESCRIPTION="Classic Hunt the Wumpus Adventure Game"
+HOMEPAGE="http://cvsweb.netbsd.org/bsdweb.cgi/src/games/wump/"
+SRC_URI="ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-release-1-6/src/games/wump/wump.c
+ ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-release-1-6/src/games/wump/wump.6
+ ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-release-1-6/src/games/wump/wump.info"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="amd64 ppc x86"
+IUSE=""
+
+DEPEND="sys-apps/less"
+RDEPEND=${DEPEND}
+
+S=${WORKDIR}
+
+src_unpack() {
+ local i
+
+ for i in wump.{info,c,6} ; do
+ cp "${DISTDIR}"/${i} "${S}/"
+ done
+}
+
+src_compile() {
+ touch pathnames.h
+ [ -z "${PAGER}" ] && PAGER=/usr/bin/less
+ $(tc-getCC) ${LDFLAGS} -Dlint -D_PATH_PAGER=\"${PAGER}\" \
+ -D_PATH_WUMPINFO=\""${GAMES_DATADIR}"/${PN}/wump.info\" ${CFLAGS} \
+ -o wump wump.c || die
+}
+
+src_install() {
+ dogamesbin wump
+ doman wump.6
+ insinto "${GAMES_DATADIR}/${PN}"
+ doins wump.info
+ prepgamesdirs
+}
diff --git a/games-misc/xcowsay/Manifest b/games-misc/xcowsay/Manifest
new file mode 100644
index 000000000000..2a0daa59382c
--- /dev/null
+++ b/games-misc/xcowsay/Manifest
@@ -0,0 +1 @@
+DIST xcowsay-1.3.tar.gz 269836 RMD160 485ebcc25ee2e31a8731debe1b8d4b790cc6ed4b SHA1 3af39a051a3bbd9940f3aa315f492099bb22bdad SHA256 e055a35d7bb8bf17f07b5336bbd081a1a53f0b02f83c250b714bb6531789ebcf
diff --git a/games-misc/xcowsay/files/xcowsay-1.2-no-dbus.patch b/games-misc/xcowsay/files/xcowsay-1.2-no-dbus.patch
new file mode 100644
index 000000000000..a35f34984732
--- /dev/null
+++ b/games-misc/xcowsay/files/xcowsay-1.2-no-dbus.patch
@@ -0,0 +1,14 @@
+diff --git a/configure.ac b/configure.ac
+index 3554e67..b8b66c1 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -35,8 +35,8 @@ AC_ARG_ENABLE(dbus,
+ [AS_HELP_STRING([--enable-dbus], [Build the DBus daemon.])],
+ [if test "$enableval" = "yes" ; then
+ modules="$xcowsayd_modules"
++ CFLAGS="$CFLAGS -DWITH_DBUS"
+ fi
+- CFLAGS="$CFLAGS -DWITH_DBUS"
+ AC_FUNC_FORK])
+
+ PKG_CHECK_MODULES(XCOWSAY, $modules)
diff --git a/games-misc/xcowsay/metadata.xml b/games-misc/xcowsay/metadata.xml
new file mode 100644
index 000000000000..2ab4df704c96
--- /dev/null
+++ b/games-misc/xcowsay/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer>
+<email>hwoarang@gentoo.org</email>
+<name>Markos Chandras</name>
+</maintainer>
+<use>
+ <flag name="fortune">Installs the fortune-mod xcow binary</flag>
+</use>
+<longdescription lang="en">
+</longdescription>
+</pkgmetadata>
+
diff --git a/games-misc/xcowsay/xcowsay-1.3.ebuild b/games-misc/xcowsay/xcowsay-1.3.ebuild
new file mode 100644
index 000000000000..66a2cb0d006d
--- /dev/null
+++ b/games-misc/xcowsay/xcowsay-1.3.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="2"
+
+DESCRIPTION="configurable talking graphical cow (inspired by cowsay)"
+HOMEPAGE="http://www.doof.me.uk/xcowsay/"
+SRC_URI="http://www.nickg.me.uk/files/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE="dbus fortune"
+
+RDEPEND="dbus? ( sys-apps/dbus )
+ dev-libs/dbus-glib
+ fortune? ( games-misc/fortune-mod )
+ media-libs/freetype:2
+ media-libs/libpng
+ x11-libs/pango
+ x11-libs/gtk+:2
+ x11-libs/gdk-pixbuf:2"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+src_configure() {
+ econf $(use_enable dbus)
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake failed"
+ if ! use fortune; then
+ rm -f "${D}"/usr/bin/xcowfortune
+ fi
+}
diff --git a/games-misc/xcruiser/Manifest b/games-misc/xcruiser/Manifest
new file mode 100644
index 000000000000..d105edcbe747
--- /dev/null
+++ b/games-misc/xcruiser/Manifest
@@ -0,0 +1 @@
+DIST xcruiser-0.30.tar.gz 38667 SHA256 917b68dc06389bfcdde742f0798f61cdeaea2ae3c6567960c33f7634d4861ce5 SHA512 77f1dbfd4497e30bb1ee0f41121a6f85cd1bf2b59fc542e88326bded8b806ecd7439689765a73ea88215c768a3bdca1370ae80b956de38a131b927b6af9e674b WHIRLPOOL 7dc4ad1013c629198f311857f2deecaaae178ef164d800c511d59718ab19cd137d8010c104c4ecdc94dcc4f32a2402777189384df220ada06f0b67592bcfafce
diff --git a/games-misc/xcruiser/metadata.xml b/games-misc/xcruiser/metadata.xml
new file mode 100644
index 000000000000..1a97e4bca997
--- /dev/null
+++ b/games-misc/xcruiser/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>games</herd>
+ <upstream>
+ <remote-id type="sourceforge">xcruiser</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/games-misc/xcruiser/xcruiser-0.30.ebuild b/games-misc/xcruiser/xcruiser-0.30.ebuild
new file mode 100644
index 000000000000..c25aa07477fc
--- /dev/null
+++ b/games-misc/xcruiser/xcruiser-0.30.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI=5
+inherit toolchain-funcs
+
+DESCRIPTION="Fly about 3D-formed file system"
+HOMEPAGE="http://xcruiser.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc x86"
+IUSE=""
+RESTRICT="test"
+
+RDEPEND="x11-libs/libXaw
+ x11-libs/libXp"
+DEPEND="${RDEPEND}
+ app-text/rman
+ x11-misc/gccmakedep
+ x11-misc/imake"
+
+src_compile() {
+ xmkmf -a
+ emake CC=$(tc-getCC) CDEBUGFLAGS="${CFLAGS}" LOCAL_LDFLAGS="${LDFLAGS}"
+}
+
+src_install() {
+ dobin xcruiser
+ dodoc CHANGES README README.jp TODO
+ newman xcruiser.man xcruiser.1
+}
diff --git a/games-misc/xpenguins/Manifest b/games-misc/xpenguins/Manifest
new file mode 100644
index 000000000000..f8dc969b8996
--- /dev/null
+++ b/games-misc/xpenguins/Manifest
@@ -0,0 +1,2 @@
+DIST xpenguins-2.2.tar.gz 275210 SHA256 60881bac15419aa2875fb56f0c1d8fbdb12c5083db0e1e761436178baa86117e SHA512 cb24e17a5a19df0de162b2214dec2fbfc07396cdea9d138b8426d8fc38e248b1faba65ebfb8ba74a5cf515063ba8f4032c4588586b23b5be6aa0a208cfcfebf1 WHIRLPOOL 3b1b176306109d5839cd230e00b5486ea6fa2a1466b0926ee1261dab2d30f657e07bb4cc53c747b79b2a92f935eb79ff9903db3161a2a46fbd2786da3aa3ec88
+DIST xpenguins_themes-1.0.tar.gz 215487 SHA256 d6aeee8c7b0c5a02b187cbe1d781341576d711a25f837c75e11f997a92e9a957 SHA512 577dedccfff8f4581c9285deb809d43a09631e15461783bfb5f00d2bf0e687d54f04ad3bcf1051113777d74f57c94c278b99749265a3efe8ebc6aabb1501eaf8 WHIRLPOOL 97c1df45c75aa74b77915844cfa43461b75f8e5ac5d7576076dd4477c9bdb33b03e1f8c0cd93d23375b36bb829f16002541d6223823564c1b472f97eee864bae
diff --git a/games-misc/xpenguins/metadata.xml b/games-misc/xpenguins/metadata.xml
new file mode 100644
index 000000000000..d3c2cc926f0b
--- /dev/null
+++ b/games-misc/xpenguins/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>
diff --git a/games-misc/xpenguins/xpenguins-2.2-r1.ebuild b/games-misc/xpenguins/xpenguins-2.2-r1.ebuild
new file mode 100644
index 000000000000..98d956c2fc4a
--- /dev/null
+++ b/games-misc/xpenguins/xpenguins-2.2-r1.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI=5
+inherit games
+
+THEMES_VERSION="1.0"
+DESCRIPTION="Cute little penguins invading your desktop"
+HOMEPAGE="http://xpenguins.seul.org/"
+SRC_URI="http://xpenguins.seul.org/${P}.tar.gz
+ http://xpenguins.seul.org/xpenguins_themes-${THEMES_VERSION}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="alpha amd64 ppc sparc x86"
+IUSE=""
+
+RDEPEND="x11-libs/libXpm"
+DEPEND="${RDEPEND}
+ x11-proto/xextproto"
+
+src_install() {
+ default
+ insinto "${GAMES_DATADIR}"/${PN}
+ doins -r ../themes/
+ prepgamesdirs
+}
diff --git a/games-misc/yadex/Manifest b/games-misc/yadex/Manifest
new file mode 100644
index 000000000000..7794efce151a
--- /dev/null
+++ b/games-misc/yadex/Manifest
@@ -0,0 +1 @@
+DIST yadex-1.7.0.tar.gz 551318 SHA256 316aca295b647b45d6d0d359fd7bba0448e7e114d295347add7ac0e87aa0f446 SHA512 017f0ffc21b7b49e25e81a16c5badc3159f0b34954e278d658175da51b7ecf1e15e12579a244530afb10e133c890761d78c1f1a209a800887c145c5c1af5d317 WHIRLPOOL c59b2d6127d1e536b96cfb1cf87c2b4e181ae2f0882b0593e286de0bbda273bb13cc908adfcde9e56c1ed83e25ca7ec27a27d1c670d730137b0af2923c514968
diff --git a/games-misc/yadex/files/yadex-1.7.0-NULL-is-not-zero.patch b/games-misc/yadex/files/yadex-1.7.0-NULL-is-not-zero.patch
new file mode 100644
index 000000000000..7ceb7a558873
--- /dev/null
+++ b/games-misc/yadex/files/yadex-1.7.0-NULL-is-not-zero.patch
@@ -0,0 +1,11 @@
+--- yadex-1.7.0/src/wadlist.cc.old 2003-01-29 14:45:19.000000000 -0700
++++ yadex-1.7.0/src/wadlist.cc 2003-01-29 14:45:56.000000000 -0700
+@@ -175,7 +175,7 @@
+ priv->iter = priv->list.erase (i);
+ if (priv->iter == priv->list.begin ())
+ {
+- priv->iter = 0; // Catch bugs
++ priv->iter = (std::_List_iterator<boost::shared_ptr<Wad_file> >)NULL; // Catch bugs
+ priv->rewound = true;
+ }
+ }
diff --git a/games-misc/yadex/files/yadex-1.7.0-elif.patch b/games-misc/yadex/files/yadex-1.7.0-elif.patch
new file mode 100644
index 000000000000..a170cbe0ad77
--- /dev/null
+++ b/games-misc/yadex/files/yadex-1.7.0-elif.patch
@@ -0,0 +1,11 @@
+--- src/gfx.cc.old 2009-08-01 18:47:46.000000000 +0200
++++ src/gfx.cc 2009-08-01 18:46:03.000000000 +0200
+@@ -310,7 +310,7 @@
+ win_vis_id = vis_info->visualid;
+ #if defined _cplusplus || defined __cplusplus
+ win_vis_class = vis_info->c_class;
+-#elif
++#else
+ win_vis_class = vis_info->class;
+ #endif
+ win_ncolours = vis_info->colormap_size;
diff --git a/games-misc/yadex/metadata.xml b/games-misc/yadex/metadata.xml
new file mode 100644
index 000000000000..d3c2cc926f0b
--- /dev/null
+++ b/games-misc/yadex/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>
diff --git a/games-misc/yadex/yadex-1.7.0.ebuild b/games-misc/yadex/yadex-1.7.0.ebuild
new file mode 100644
index 000000000000..b994c167d853
--- /dev/null
+++ b/games-misc/yadex/yadex-1.7.0.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit eutils games
+
+DESCRIPTION="A Doom level (wad) editor"
+HOMEPAGE="http://www.teaser.fr/~amajorel/yadex/"
+SRC_URI="http://www.teaser.fr/~amajorel/yadex/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~ppc x86"
+IUSE=""
+RESTRICT="test"
+
+DEPEND="x11-libs/libX11"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ sed -i \
+ -e '/iwad/s/local\///' \
+ "${S}"/yadex.cfg \
+ || die "sed yadex.cfg failed"
+ epatch "${FILESDIR}/${P}"-NULL-is-not-zero.patch \
+ "${FILESDIR}/${P}"-elif.patch
+ # Force the patched file to be old, otherwise the compile fails
+ touch -t 197010101010 "${S}"/src/wadlist.cc
+ touch -t 197010101010 "${S}"/src/gfx.cc
+}
+
+src_configure() {
+ # not an autoconf script
+ ./configure --prefix="/usr" || die "configure failed"
+}
+
+src_compile() {
+ emake CC="${CC}" CXX="${CXX}" CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}"
+}
+
+src_install() {
+ dogamesbin obj/0/yadex
+ insinto "${GAMES_DATADIR}/${PN}/${PV}"
+ doins ygd/*
+ doman doc/yadex.6
+ dodoc CHANGES FAQ README TODO VERSION
+ dohtml doc/*
+ insinto /etc/yadex/${PV}
+ doins yadex.cfg
+ prepgamesdirs
+}