From owner-svn-ports-all@freebsd.org Sat Jun 13 01:58:15 2020 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id CA70334C7DE; Sat, 13 Jun 2020 01:58:15 +0000 (UTC) (envelope-from skreuzer@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49kLN753Rdz4MkG; Sat, 13 Jun 2020 01:58:15 +0000 (UTC) (envelope-from skreuzer@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id A8BBD13648; Sat, 13 Jun 2020 01:58:15 +0000 (UTC) (envelope-from skreuzer@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 05D1wFdf039159; Sat, 13 Jun 2020 01:58:15 GMT (envelope-from skreuzer@FreeBSD.org) Received: (from skreuzer@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 05D1wEsJ039154; Sat, 13 Jun 2020 01:58:14 GMT (envelope-from skreuzer@FreeBSD.org) Message-Id: <202006130158.05D1wEsJ039154@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: skreuzer set sender to skreuzer@FreeBSD.org using -f From: Steven Kreuzer Date: Sat, 13 Jun 2020 01:58:14 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r538635 - in head/games/robotfindskitten: . files X-SVN-Group: ports-head X-SVN-Commit-Author: skreuzer X-SVN-Commit-Paths: in head/games/robotfindskitten: . files X-SVN-Commit-Revision: 538635 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Jun 2020 01:58:15 -0000 Author: skreuzer Date: Sat Jun 13 01:58:14 2020 New Revision: 538635 URL: https://svnweb.freebsd.org/changeset/ports/538635 Log: Update to version 2.8284271.702 Added: head/games/robotfindskitten/files/patch-doc_robotfindskitten.6 (contents, props changed) head/games/robotfindskitten/files/patch-nki_Makefile.am (contents, props changed) head/games/robotfindskitten/files/patch-src_Makefile.am (contents, props changed) Deleted: head/games/robotfindskitten/files/patch-src-Makefile.in Modified: head/games/robotfindskitten/Makefile head/games/robotfindskitten/distinfo head/games/robotfindskitten/files/extrapatch-megahyperdeath Modified: head/games/robotfindskitten/Makefile ============================================================================== --- head/games/robotfindskitten/Makefile Sat Jun 13 01:39:29 2020 (r538634) +++ head/games/robotfindskitten/Makefile Sat Jun 13 01:58:14 2020 (r538635) @@ -2,11 +2,9 @@ # $FreeBSD$ PORTNAME= robotfindskitten -PORTVERSION= 2.7182818.701 -PORTREVISION= 1 +PORTVERSION= 2.8284271.702 PORTEPOCH= 1 CATEGORIES= games -MASTER_SITES= http://robotfindskitten.org/download/POSIX/ MAINTAINER= skreuzer@FreeBSD.org COMMENT= Yet another zen simulation @@ -14,8 +12,11 @@ COMMENT= Yet another zen simulation LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING -USES= ncurses +USES= autoreconf libtool ncurses GNU_CONFIGURE= YES + +USE_GITHUB= yes +GH_ACCOUNT= robotfindskitten OPTIONS_DEFINE= EXTRANKI MEGAHYPERDEATH Modified: head/games/robotfindskitten/distinfo ============================================================================== --- head/games/robotfindskitten/distinfo Sat Jun 13 01:39:29 2020 (r538634) +++ head/games/robotfindskitten/distinfo Sat Jun 13 01:58:14 2020 (r538635) @@ -1,2 +1,3 @@ -SHA256 (robotfindskitten-2.7182818.701.tar.gz) = 7749a370796fd23e3b306b00de5f7fb7997a35fef30e3910ff159448c932d719 -SIZE (robotfindskitten-2.7182818.701.tar.gz) = 437810 +TIMESTAMP = 1591991760 +SHA256 (robotfindskitten-robotfindskitten-2.8284271.702_GH0.tar.gz) = bc199c96a0a2ef79621b548d0f223bd8dce5cff798b7277708e31037e32df9fb +SIZE (robotfindskitten-robotfindskitten-2.8284271.702_GH0.tar.gz) = 79605 Modified: head/games/robotfindskitten/files/extrapatch-megahyperdeath ============================================================================== --- head/games/robotfindskitten/files/extrapatch-megahyperdeath Sat Jun 13 01:39:29 2020 (r538634) +++ head/games/robotfindskitten/files/extrapatch-megahyperdeath Sat Jun 13 01:58:14 2020 (r538635) @@ -1,16 +1,17 @@ ---- src/robotfindskitten.c.orig 2012-11-27 07:41:21.000000000 +0000 -+++ src/robotfindskitten.c 2013-02-07 14:44:42.000000000 +0000 -@@ -119,6 +119,9 @@ +--- src/robotfindskitten.c.orig 2020-03-01 17:25:06 UTC ++++ src/robotfindskitten.c +@@ -119,6 +119,10 @@ #define KITTEN 1 #define BOGUS 2 +/* Finish him! */ +#define FATALITIES (sizeof fatalities / sizeof (char*)) + ++ typedef struct { int x; int y; -@@ -139,6 +142,17 @@ +@@ -139,6 +143,17 @@ typedef struct { char **messages; } game_state; @@ -25,35 +26,32 @@ + "Your generation has no attention span anymore, so you get bored and leave." +}; + - /* global state */ - static game_state state; + char *nki_file; -@@ -547,6 +561,8 @@ + /* global state */ +@@ -556,6 +571,8 @@ static void instructions(void) { "Robot must touch items to determine if they are kitten or not. The game\n"\ "ends when robotfindskitten. Alternatively, you may end the game by hitting\n" "the q key or a good old-fashioned Ctrl-C.\n\n"\ -+"This version contains MegaHyperDeath(TM) technology. Every time you find\n"\ -+"something that is not kitten, you have a 1 in 10 chance of dying.\n\n"\ ++"This version contains MegaHyperDeath(TM) technology. Every time you find\n"\ ++"a kitten, you have a 1 in 10 chance of dying.\n\n"\ "See the documentation for more information.\n\n"\ "Press any key to start.\n" ); -@@ -710,8 +726,17 @@ +@@ -719,7 +736,15 @@ static void main_loop(void) { /* nothing happened */ break; case BKITTEN: - play_animation ( fromright ); -- finish ( 0 ); + if ((rand() % 10) == 0) { /*RFK is boring, let's add explosions!*/ + move ( 0, 0 ); + addstr ( fatalities[rand() % FATALITIES] ); + move ( 1, 0 ); + addstr("You are dead. Sorry it didn't work out. Please insert $0.25 to continue."); + refresh(); -+ finish ( 0 ); + } else { + play_animation ( fromright ); -+ finish ( 0 ); + } + finish ( 0 ); break; case BBOGUS: - message ( state.messages[bnum] ); Added: head/games/robotfindskitten/files/patch-doc_robotfindskitten.6 ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/robotfindskitten/files/patch-doc_robotfindskitten.6 Sat Jun 13 01:58:14 2020 (r538635) @@ -0,0 +1,24 @@ +--- doc/robotfindskitten.6.orig 2020-06-13 01:48:25 UTC ++++ doc/robotfindskitten.6 +@@ -31,10 +31,10 @@ at any time to quit. A good old-fashioned Ctrl-C quit + .\" + .SH OPTIONS + You can optionally specify the number of Non Kitten Items to use with +-the -s option. The default is 20. ++the -n option. The default is 20. + + You can set the random-number seed, normally initialized from the +-system clock, with the -t option. This may be useful for debugging. ++system clock, with the -s option. This may be useful for debugging. + + You can supply an arbitrary file from which to draw NKIs using the -f option. + .\" +@@ -72,7 +72,7 @@ done, when the grey box on wheels was complete and whe + I, knew what had to be done, I felt deep sympathy for the machine. For I + had not destroyed the phantom, but merely exorcized it into another + body. The robot knew not why this task had to be performed, for I could +-not imbue it with knowledge I did not myself posess. And at the same ++not imbue it with knowledge I did not myself possess. And at the same + time, I felt a sweeping sense of relief sweep over me, that somehow, the + dream that had driven me for my entire life had come one step closer to + fruition. Added: head/games/robotfindskitten/files/patch-nki_Makefile.am ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/robotfindskitten/files/patch-nki_Makefile.am Sat Jun 13 01:58:14 2020 (r538635) @@ -0,0 +1,7 @@ +--- nki/Makefile.am.orig 2020-06-12 22:14:15 UTC ++++ nki/Makefile.am +@@ -1,3 +1,3 @@ +-nkidir = $(datadir)/games/robotfindskitten ++nkidir = $(datadir)/robotfindskitten + nki_DATA = vanilla.nki + EXTRA_DIST=$(nki_DATA) Added: head/games/robotfindskitten/files/patch-src_Makefile.am ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/robotfindskitten/files/patch-src_Makefile.am Sat Jun 13 01:58:14 2020 (r538635) @@ -0,0 +1,12 @@ +--- src/Makefile.am.orig 2020-06-12 22:12:10 UTC ++++ src/Makefile.am +@@ -1,7 +1,7 @@ +-execgamesdir= $(prefix)/games ++execgamesdir= $(prefix)/bin + execgames_PROGRAMS=robotfindskitten + +-AM_CPPFLAGS = -DSYSTEM_NKI_DIR=\"$(datadir)/games/robotfindskitten\" ++AM_CPPFLAGS = -DSYSTEM_NKI_DIR=\"$(datadir)/robotfindskitten\" + + robotfindskitten_SOURCES= robotfindskitten.c + #robotfindskitten_LDADD= -lncurses