summaryrefslogtreecommitdiff
path: root/games-misc/robotfindskitten
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
commit8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch)
tree7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /games-misc/robotfindskitten
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'games-misc/robotfindskitten')
-rw-r--r--games-misc/robotfindskitten/Manifest4
-rw-r--r--games-misc/robotfindskitten/files/robotfindskitten-2.7182818.701-gentoo.patch24
-rw-r--r--games-misc/robotfindskitten/metadata.xml11
-rw-r--r--games-misc/robotfindskitten/robotfindskitten-2.7182818.701-r1.ebuild28
4 files changed, 67 insertions, 0 deletions
diff --git a/games-misc/robotfindskitten/Manifest b/games-misc/robotfindskitten/Manifest
new file mode 100644
index 000000000000..dea7203d6ea1
--- /dev/null
+++ b/games-misc/robotfindskitten/Manifest
@@ -0,0 +1,4 @@
+AUX robotfindskitten-2.7182818.701-gentoo.patch 872 BLAKE2B b741d5ac234798e46436f3f0cad615e4abebc3199bc44cc4dffb622e33f42c66430a452256ede3f1c8a6d452445714a053fff246597f2c4a5a84bcc3fe3c6ecf SHA512 4189fc914f7047599f45b8f6a00968159e14a8c14d3e40f62e217c30ad96db5ab38f389f7cac608db27ba8f67c9841ac8a0927e2654dba9c1e04d997936ce8c2
+DIST robotfindskitten-2.7182818.701.tar.gz 437810 BLAKE2B d34a72c4120562844e17441ba8e2c4a04863ad5241c04425cf5a83296b047d2b5c0c52d6dbaab253be37534fd4de2f6a0d6cf8dd19124695805b457320b45c32 SHA512 736e44a62f016fb2a0dd03e31e6f1fb7c50a9115182812518666f3e4ad69f5703d7018f28ab14e0cfdbc8741656b15fa6ee577c2a5920e0d9af9acb658ac620b
+EBUILD robotfindskitten-2.7182818.701-r1.ebuild 522 BLAKE2B 2cb974c5427a63ae65f2b359c71137ea0d199e00e1d3cc8cfa05ecc0eabf882376c3c5e6a836e51eeba4793a493674ee1ad3c85a5d094cee85eed39c6e1a528d SHA512 7a80e3531a33086aa4a0c8a68a59bcad76a8c2b767df3be94de2258c416630a9bdbf12c464629d01f958f6360ab8691579a5db139fae8cbbc8c55963ecea994a
+MISC metadata.xml 326 BLAKE2B b7e04ad279076c022578833b14abb5f00e1decebe7e7a09f687f03c15cc71e81d1f418d5e81ece7965fff067b1ca42dea0e53f24d65dfc6b55a8e6a5f330b7ee SHA512 1620797c8b2a84b0711c6bda03a739a5a6b1fc5f527077224fe0f3d0e462260d3aa0d1516d11f0dc723f4ad74072cfb5e5e1550c00c4001f78e78b4e3d827080
diff --git a/games-misc/robotfindskitten/files/robotfindskitten-2.7182818.701-gentoo.patch b/games-misc/robotfindskitten/files/robotfindskitten-2.7182818.701-gentoo.patch
new file mode 100644
index 000000000000..6f5aa29a9f51
--- /dev/null
+++ b/games-misc/robotfindskitten/files/robotfindskitten-2.7182818.701-gentoo.patch
@@ -0,0 +1,24 @@
+--- robotfindskitten-2.7182818.701.orig/nki/Makefile.in
++++ robotfindskitten-2.7182818.701/nki/Makefile.in
+@@ -197,7 +197,7 @@
+ top_build_prefix = @top_build_prefix@
+ top_builddir = @top_builddir@
+ top_srcdir = @top_srcdir@
+-nkidir = $(datadir)/games/robotfindskitten
++nkidir = $(datadir)/robotfindskitten
+ nki_DATA = vanilla.nki
+ all: all-am
+
+--- robotfindskitten-2.7182818.701.orig/src/Makefile.in
++++ robotfindskitten-2.7182818.701/src/Makefile.in
+@@ -199,8 +199,8 @@
+ top_build_prefix = @top_build_prefix@
+ top_builddir = @top_builddir@
+ top_srcdir = @top_srcdir@
+-execgamesdir = $(prefix)/games
+-AM_CPPFLAGS = -DSYSTEM_NKI_DIR=\"$(datadir)/games/robotfindskitten\"
++execgamesdir = $(bindir)
++AM_CPPFLAGS = -DSYSTEM_NKI_DIR=\"$(datadir)/robotfindskitten\"
+ robotfindskitten_SOURCES = robotfindskitten.c
+ SPLINT_SUPPRESSIONS = +charintliteral +charindex
+ all: all-am
diff --git a/games-misc/robotfindskitten/metadata.xml b/games-misc/robotfindskitten/metadata.xml
new file mode 100644
index 000000000000..b934bfeac57e
--- /dev/null
+++ b/games-misc/robotfindskitten/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>games@gentoo.org</email>
+ <name>Gentoo Games Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">rfk</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/games-misc/robotfindskitten/robotfindskitten-2.7182818.701-r1.ebuild b/games-misc/robotfindskitten/robotfindskitten-2.7182818.701-r1.ebuild
new file mode 100644
index 000000000000..a6195c2f7a8a
--- /dev/null
+++ b/games-misc/robotfindskitten/robotfindskitten-2.7182818.701-r1.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit eutils
+
+DESCRIPTION="Help robot find kitten"
+HOMEPAGE="http://robotfindskitten.org/"
+SRC_URI="mirror://sourceforge/rfk/${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="sys-libs/ncurses:0"
+RDEPEND=${DEPEND}
+
+PATCHES=(
+ "${FILESDIR}"/${P}-gentoo.patch
+)
+
+src_install() {
+ DOCS="AUTHORS BUGS ChangeLog NEWS" \
+ default
+ insinto /usr/share/${PN}
+ doins nki/vanilla.nki
+}