Fri Feb 17 16:57:25 2012 UTC ()
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.

Status:

Vendor Tag:	TNF
Release Tags:	pkgsrc-base


(jakllsch)
diff -r0 -r1.1.1.1 pkgsrc/games/robotfindskitten/Makefile
diff -r0 -r1.1.1.1 pkgsrc/games/robotfindskitten/PLIST
diff -r0 -r1.1.1.1 pkgsrc/games/robotfindskitten/DESCR
diff -r0 -r1.1.1.1 pkgsrc/games/robotfindskitten/distinfo
diff -r0 -r1.1.1.1 pkgsrc/games/robotfindskitten/patches/patch-src_Makefile.in
diff -r0 -r1.1.1.1 pkgsrc/games/robotfindskitten/patches/patch-src_robotfindskitten.c

File Added: pkgsrc/games/robotfindskitten/Makefile
# $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"

File Added: pkgsrc/games/robotfindskitten/PLIST
@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

File Added: pkgsrc/games/robotfindskitten/DESCR
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.

File Added: pkgsrc/games/robotfindskitten/distinfo
$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

File Added: pkgsrc/games/robotfindskitten/patches/patch-src_Makefile.in
$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
 

File Added: pkgsrc/games/robotfindskitten/patches/Attic/patch-src_robotfindskitten.c
$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