summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-emacs/erobot')
-rw-r--r--app-emacs/erobot/Manifest1
-rw-r--r--app-emacs/erobot/erobot-2.1.0-r1.ebuild18
-rw-r--r--app-emacs/erobot/files/50erobot-gentoo.el4
-rw-r--r--app-emacs/erobot/files/erobot-2.1.0-fix-interactive.patch11
-rw-r--r--app-emacs/erobot/metadata.xml5
5 files changed, 39 insertions, 0 deletions
diff --git a/app-emacs/erobot/Manifest b/app-emacs/erobot/Manifest
new file mode 100644
index 00000000000..ce38a3a685f
--- /dev/null
+++ b/app-emacs/erobot/Manifest
@@ -0,0 +1 @@
+DIST erobot-2.1.0.tar.bz2 8748 SHA256 36c02702406ed15f8f67e148a7b098006e5cde2e1fde9f6e748e7fb22a03197c SHA512 a5e8ad1d6cbc736302d846576a3effb6ef6a22b31677e604374df50920435a8082a8b3124a3a76c5086a066956ba457bfb4d2477cdc16ae45919aa7dd8c7e874 WHIRLPOOL 69b8e0ea181f882a22254c8be9d9a7d7e03c021285fb2a3d475ee950d45cd9c246eaba2352d3d5ee77b596ed1c25eddde84abc5e59de5b15ea3f7b831a791563
diff --git a/app-emacs/erobot/erobot-2.1.0-r1.ebuild b/app-emacs/erobot/erobot-2.1.0-r1.ebuild
new file mode 100644
index 00000000000..e3d7453fe59
--- /dev/null
+++ b/app-emacs/erobot/erobot-2.1.0-r1.ebuild
@@ -0,0 +1,18 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit elisp
+
+DESCRIPTION="Battle-bots for Emacs!"
+HOMEPAGE="http://www.emacswiki.org/emacs/EmacsRobots"
+SRC_URI="mirror://gentoo/${P}.tar.bz2"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="amd64 ~ppc x86"
+
+ELISP_PATCHES="${P}-fix-interactive.patch"
+SITEFILE="50${PN}-gentoo.el"
diff --git a/app-emacs/erobot/files/50erobot-gentoo.el b/app-emacs/erobot/files/50erobot-gentoo.el
new file mode 100644
index 00000000000..9ca415017af
--- /dev/null
+++ b/app-emacs/erobot/files/50erobot-gentoo.el
@@ -0,0 +1,4 @@
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'erobot "erobot" "Starts a game of erobot." t)
+(autoload 'erobot-tour "erobot"
+ "Introduction to some of the erobots included in the package." t)
diff --git a/app-emacs/erobot/files/erobot-2.1.0-fix-interactive.patch b/app-emacs/erobot/files/erobot-2.1.0-fix-interactive.patch
new file mode 100644
index 00000000000..69b195170a8
--- /dev/null
+++ b/app-emacs/erobot/files/erobot-2.1.0-fix-interactive.patch
@@ -0,0 +1,11 @@
+--- erobot.el~ 2002-09-28 21:25:39.000000000 +0200
++++ erobot.el 2007-04-21 11:57:15.000000000 +0200
+@@ -230,7 +230,7 @@
+ `erobot-max-turns' has been exceeded, or if the char q is pressed
+ while the game is running. When the game ends, the candidates on
+ the map are returned in a list."
+- (interactive "i\n\naCandidate A: \naCandidate B: ")
++ (interactive "aCandidate A: \naCandidate B: ")
+ ;; Place candidates on the map and set erobot-candidates
+ (setq erobot-candidates nil)
+ (erobot-initialize candidates)
diff --git a/app-emacs/erobot/metadata.xml b/app-emacs/erobot/metadata.xml
new file mode 100644
index 00000000000..bc306fe5822
--- /dev/null
+++ b/app-emacs/erobot/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>emacs</herd>
+</pkgmetadata>