Gentoo Archives: gentoo-commits

From: Michael Sterrett <mr_bones_@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: games-misc/robotfindskitten/files/, games-misc/robotfindskitten/
Date: Tue, 01 Dec 2015 21:54:59
Message-Id: 1449006879.42adde8586669fc97cc9026d17bfa79484434822.mr_bones_@gentoo
1 commit: 42adde8586669fc97cc9026d17bfa79484434822
2 Author: Michael Sterrett <mr_bones_ <AT> gentoo <DOT> org>
3 AuthorDate: Tue Dec 1 21:54:39 2015 +0000
4 Commit: Michael Sterrett <mr_bones_ <AT> gentoo <DOT> org>
5 CommitDate: Tue Dec 1 21:54:39 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=42adde85
7
8 version bump
9
10 Package-Manager: portage-2.2.20.1
11
12 games-misc/robotfindskitten/Manifest | 1 +
13 .../robotfindskitten-2.7182818.701-gentoo.patch | 24 +++++++++++++++++
14 .../robotfindskitten-2.7182818.701.ebuild | 30 ++++++++++++++++++++++
15 3 files changed, 55 insertions(+)
16
17 diff --git a/games-misc/robotfindskitten/Manifest b/games-misc/robotfindskitten/Manifest
18 index 095f9ea..3c8d8e0 100644
19 --- a/games-misc/robotfindskitten/Manifest
20 +++ b/games-misc/robotfindskitten/Manifest
21 @@ -1 +1,2 @@
22 DIST robotfindskitten-1.7320508.406.tar.gz 406412 SHA256 08c8a826c3cf90a7f3dc1d42b087425af661971585f125b9bedca2bcc2a11852 SHA512 96c8f9968336cda5f079ca4b69a17a76444a3291b1354d594d2a9b89cb0d88296b983c70076da3334774710d811b33a90fe513ba5dca330808e5345e6c920865 WHIRLPOOL 6a60e847d96db16cee9e2a2788ee412c9cf3fc859af164f5e281d4180fad7d9001fb36a58e0ae75a149fe8229780a7024d5dc5f5eb71c9b272c878f87d44312f
23 +DIST robotfindskitten-2.7182818.701.tar.gz 437810 SHA256 7749a370796fd23e3b306b00de5f7fb7997a35fef30e3910ff159448c932d719 SHA512 736e44a62f016fb2a0dd03e31e6f1fb7c50a9115182812518666f3e4ad69f5703d7018f28ab14e0cfdbc8741656b15fa6ee577c2a5920e0d9af9acb658ac620b WHIRLPOOL f29092a17d5e13c8d9f578e318edf5045bd478c6c4e3ae4f05258ebc4be10736b9bc71e8ab55a287e7accee6f3606a18a4d475c09dbfa59a6bb029e548225d2a
24
25 diff --git a/games-misc/robotfindskitten/files/robotfindskitten-2.7182818.701-gentoo.patch b/games-misc/robotfindskitten/files/robotfindskitten-2.7182818.701-gentoo.patch
26 new file mode 100644
27 index 0000000..6f5aa29
28 --- /dev/null
29 +++ b/games-misc/robotfindskitten/files/robotfindskitten-2.7182818.701-gentoo.patch
30 @@ -0,0 +1,24 @@
31 +--- robotfindskitten-2.7182818.701.orig/nki/Makefile.in
32 ++++ robotfindskitten-2.7182818.701/nki/Makefile.in
33 +@@ -197,7 +197,7 @@
34 + top_build_prefix = @top_build_prefix@
35 + top_builddir = @top_builddir@
36 + top_srcdir = @top_srcdir@
37 +-nkidir = $(datadir)/games/robotfindskitten
38 ++nkidir = $(datadir)/robotfindskitten
39 + nki_DATA = vanilla.nki
40 + all: all-am
41 +
42 +--- robotfindskitten-2.7182818.701.orig/src/Makefile.in
43 ++++ robotfindskitten-2.7182818.701/src/Makefile.in
44 +@@ -199,8 +199,8 @@
45 + top_build_prefix = @top_build_prefix@
46 + top_builddir = @top_builddir@
47 + top_srcdir = @top_srcdir@
48 +-execgamesdir = $(prefix)/games
49 +-AM_CPPFLAGS = -DSYSTEM_NKI_DIR=\"$(datadir)/games/robotfindskitten\"
50 ++execgamesdir = $(bindir)
51 ++AM_CPPFLAGS = -DSYSTEM_NKI_DIR=\"$(datadir)/robotfindskitten\"
52 + robotfindskitten_SOURCES = robotfindskitten.c
53 + SPLINT_SUPPRESSIONS = +charintliteral +charindex
54 + all: all-am
55
56 diff --git a/games-misc/robotfindskitten/robotfindskitten-2.7182818.701.ebuild b/games-misc/robotfindskitten/robotfindskitten-2.7182818.701.ebuild
57 new file mode 100644
58 index 0000000..ae170bc
59 --- /dev/null
60 +++ b/games-misc/robotfindskitten/robotfindskitten-2.7182818.701.ebuild
61 @@ -0,0 +1,30 @@
62 +# Copyright 1999-2015 Gentoo Foundation
63 +# Distributed under the terms of the GNU General Public License v2
64 +# $Id$
65 +
66 +EAPI=5
67 +inherit eutils games
68 +
69 +DESCRIPTION="Help robot find kitten"
70 +HOMEPAGE="http://robotfindskitten.org/"
71 +SRC_URI="mirror://sourceforge/rfk/${P}.tar.gz"
72 +
73 +LICENSE="GPL-2+"
74 +SLOT="0"
75 +KEYWORDS="~amd64 ~ppc ~x86"
76 +IUSE=""
77 +
78 +DEPEND="sys-libs/ncurses:0"
79 +RDEPEND=${DEPEND}
80 +
81 +src_prepare() {
82 + epatch "${FILESDIR}"/${P}-gentoo.patch
83 +}
84 +
85 +src_install() {
86 + DOCS="AUTHORS BUGS ChangeLog NEWS" \
87 + default
88 + insinto "${GAMES_DATADIR}"/${PN}
89 + doins nki/vanilla.nki
90 + prepgamesdirs
91 +}