summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorjakllsch <jakllsch@pkgsrc.org>2012-02-17 16:57:25 +0000
committerjakllsch <jakllsch@pkgsrc.org>2012-02-17 16:57:25 +0000
commitc0ecaf443d180469497c1447e0fd4fdb866e87f8 (patch)
tree4d234e39eea3e9f81c87b9f4248e485b5c377ff2 /games
parent521d0650c200bd1c8f0a29950426514cbe8ab2f5 (diff)
downloadpkgsrc-c0ecaf443d180469497c1447e0fd4fdb866e87f8.tar.gz
Import robotfindskitten-1.7320508.406.
In this game, you are robot (#). Your job is to find kitten. This task is complicated by the existence of various things which are not kitten. Robot must touch items to determine if they are kitten or not. The game ends when robotfindskitten.
Diffstat (limited to 'games')
-rw-r--r--games/robotfindskitten/DESCR4
-rw-r--r--games/robotfindskitten/Makefile21
-rw-r--r--games/robotfindskitten/PLIST4
-rw-r--r--games/robotfindskitten/distinfo7
-rw-r--r--games/robotfindskitten/patches/patch-src_Makefile.in13
-rw-r--r--games/robotfindskitten/patches/patch-src_robotfindskitten.c12
6 files changed, 61 insertions, 0 deletions
diff --git a/games/robotfindskitten/DESCR b/games/robotfindskitten/DESCR
new file mode 100644
index 00000000000..4e2f7f353a6
--- /dev/null
+++ b/games/robotfindskitten/DESCR
@@ -0,0 +1,4 @@
+In this game, you are robot (#). Your job is to find kitten. This task
+is complicated by the existence of various things which are not kitten.
+Robot must touch items to determine if they are kitten or not. The game
+ends when robotfindskitten.
diff --git a/games/robotfindskitten/Makefile b/games/robotfindskitten/Makefile
new file mode 100644
index 00000000000..9aa6448af5e
--- /dev/null
+++ b/games/robotfindskitten/Makefile
@@ -0,0 +1,21 @@
+# $NetBSD: Makefile,v 1.1.1.1 2012/02/17 16:57:25 jakllsch Exp $
+#
+
+DISTNAME= robotfindskitten-1.7320508.406
+CATEGORIES= games
+MASTER_SITES= http://robotfindskitten.org/download/POSIX/
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://robotfindskitten.org/
+COMMENT= Yet another zen simulation
+LICENSE= gnu-gpl-v2
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+GNU_CONFIGURE= yes
+USE_LIBTOOL= yes
+
+INFO_FILES= yes
+
+.include "../../devel/ncurses/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/games/robotfindskitten/PLIST b/games/robotfindskitten/PLIST
new file mode 100644
index 00000000000..b3c89874938
--- /dev/null
+++ b/games/robotfindskitten/PLIST
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2012/02/17 16:57:25 jakllsch Exp $
+bin/robotfindskitten
+man/man6/robotfindskitten.6
+info/robotfindskitten.info
diff --git a/games/robotfindskitten/distinfo b/games/robotfindskitten/distinfo
new file mode 100644
index 00000000000..fe71c755a91
--- /dev/null
+++ b/games/robotfindskitten/distinfo
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1.1.1 2012/02/17 16:57:25 jakllsch Exp $
+
+SHA1 (robotfindskitten-1.7320508.406.tar.gz) = 226da9cbf644d786c573b3409af26d3714dcd661
+RMD160 (robotfindskitten-1.7320508.406.tar.gz) = bfbdbfdc0b7c81cd834a2f2ab005bd301ba5996b
+Size (robotfindskitten-1.7320508.406.tar.gz) = 406412 bytes
+SHA1 (patch-src_Makefile.in) = 84636145ec95e38d25b140ce4a9adf7c7f087e15
+SHA1 (patch-src_robotfindskitten.c) = ec94eb49711f4f3d439e354a29c7217b363b23cf
diff --git a/games/robotfindskitten/patches/patch-src_Makefile.in b/games/robotfindskitten/patches/patch-src_Makefile.in
new file mode 100644
index 00000000000..bc888eaee7f
--- /dev/null
+++ b/games/robotfindskitten/patches/patch-src_Makefile.in
@@ -0,0 +1,13 @@
+$NetBSD: patch-src_Makefile.in,v 1.1.1.1 2012/02/17 16:57:25 jakllsch Exp $
+Install binary in usual location.
+--- src/Makefile.in.orig 2007-11-27 21:16:18.000000000 +0000
++++ src/Makefile.in
+@@ -170,7 +170,7 @@ sysconfdir = @sysconfdir@
+ target_alias = @target_alias@
+ top_builddir = @top_builddir@
+ top_srcdir = @top_srcdir@
+-execgamesdir = $(prefix)/games
++execgamesdir = @bindir@
+ robotfindskitten_SOURCES = draw.h messages.h robotfindskitten.c
+ all: all-am
+
diff --git a/games/robotfindskitten/patches/patch-src_robotfindskitten.c b/games/robotfindskitten/patches/patch-src_robotfindskitten.c
new file mode 100644
index 00000000000..bd4177f5eaa
--- /dev/null
+++ b/games/robotfindskitten/patches/patch-src_robotfindskitten.c
@@ -0,0 +1,12 @@
+$NetBSD: patch-src_robotfindskitten.c,v 1.1.1.1 2012/02/17 16:57:25 jakllsch Exp $
+Fix compile warning on NetBSD due to use of time(3) wihout <time.h>.
+--- src/robotfindskitten.c.orig 2007-12-01 04:25:21.000000000 +0000
++++ src/robotfindskitten.c
+@@ -37,6 +37,7 @@ static char* ver = VERSION;
+
+ #include <signal.h>
+ #include <stdlib.h>
++#include <time.h>
+
+ /*The messages go in a separate file because they are collectively
+ huge, and you might want to modify them. It would be nice to load