pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/games/robotfindskitten robotfindskitten: update to 2.7...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d91dcbfe7898
branches:  trunk
changeset: 380576:d91dcbfe7898
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Wed Jun 08 22:19:51 2022 +0000

description:
robotfindskitten: update to 2.7182818.701

Changes since 1.7320508.406:

Oct 27 2012 Eric S. Raymond <esr%thyrsus.com@localhost>
        * Repo conversion to git, including recovery of ancient history.
        * Merged in Alexey Toptygin's code from 2005.
        * ANSI/POSIX cleanup, magic-number removal, compiler warning fixes.
        * Added some NKIs.
        * Added comments identifying the ends of the NKI spans per version.
        * Added "BEHOLD! A History of Confusion" to the texinfo docs.
        * Esc is no longer bound, it's too slow.
        * Frame the paying field.
        * Major portion of version number changed to 1.6180339.

The NKIs are no longer hardcoded but provided in an external file. This
file is not installed by default, thus the post-install action. The
ncurses hack is still needed, even though configure.in looks as if there
were libcurses support.

diffstat:

 games/robotfindskitten/Makefile                             |  10 +++++---
 games/robotfindskitten/PLIST                                |   3 +-
 games/robotfindskitten/distinfo                             |  11 ++++-----
 games/robotfindskitten/patches/patch-src_Makefile.in        |  14 +++---------
 games/robotfindskitten/patches/patch-src_robotfindskitten.c |  14 -------------
 5 files changed, 17 insertions(+), 35 deletions(-)

diffs (95 lines):

diff -r 2078b0622aa8 -r d91dcbfe7898 games/robotfindskitten/Makefile
--- a/games/robotfindskitten/Makefile   Wed Jun 08 21:55:28 2022 +0000
+++ b/games/robotfindskitten/Makefile   Wed Jun 08 22:19:51 2022 +0000
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.5 2022/06/08 21:55:28 rillig Exp $
+# $NetBSD: Makefile,v 1.6 2022/06/08 22:19:51 rillig Exp $
 #
 
-DISTNAME=      robotfindskitten-1.7320508.406
-PKGREVISION=   3
+DISTNAME=      robotfindskitten-2.7182818.701
 CATEGORIES=    games
 MASTER_SITES=  http://robotfindskitten.org/download/POSIX/
 
@@ -13,9 +12,12 @@
 
 GNU_CONFIGURE= yes
 USE_LIBTOOL=   yes
-
+AUTO_MKDIRS=   yes
 INFO_FILES=    yes
 FAKE_NCURSES=  yes
 
+post-install:
+       ${INSTALL_DATA} ${WRKSRC}/nki/vanilla.nki ${DESTDIR}${PREFIX}/share/games/robotfindskitten/
+
 .include "../../mk/curses.buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 2078b0622aa8 -r d91dcbfe7898 games/robotfindskitten/PLIST
--- a/games/robotfindskitten/PLIST      Wed Jun 08 21:55:28 2022 +0000
+++ b/games/robotfindskitten/PLIST      Wed Jun 08 22:19:51 2022 +0000
@@ -1,4 +1,5 @@
-@comment $NetBSD: PLIST,v 1.2 2018/01/01 22:29:35 rillig Exp $
+@comment $NetBSD: PLIST,v 1.3 2022/06/08 22:19:51 rillig Exp $
 bin/robotfindskitten
 info/robotfindskitten.info
 man/man6/robotfindskitten.6
+share/games/robotfindskitten/vanilla.nki
diff -r 2078b0622aa8 -r d91dcbfe7898 games/robotfindskitten/distinfo
--- a/games/robotfindskitten/distinfo   Wed Jun 08 21:55:28 2022 +0000
+++ b/games/robotfindskitten/distinfo   Wed Jun 08 22:19:51 2022 +0000
@@ -1,7 +1,6 @@
-$NetBSD: distinfo,v 1.6 2022/06/08 21:55:28 rillig Exp $
+$NetBSD: distinfo,v 1.7 2022/06/08 22:19:51 rillig Exp $
 
-BLAKE2s (robotfindskitten-1.7320508.406.tar.gz) = 0827123f74e4077c15f2c3b56f705c1318e0a5724b213581e999d0867b12b6e1
-SHA512 (robotfindskitten-1.7320508.406.tar.gz) = 96c8f9968336cda5f079ca4b69a17a76444a3291b1354d594d2a9b89cb0d88296b983c70076da3334774710d811b33a90fe513ba5dca330808e5345e6c920865
-Size (robotfindskitten-1.7320508.406.tar.gz) = 406412 bytes
-SHA1 (patch-src_Makefile.in) = b86047359beb9ae8e37303e91b90401920cb18c0
-SHA1 (patch-src_robotfindskitten.c) = 3de2a29060bb3f3889608b3917e6e54dbc5837b1
+BLAKE2s (robotfindskitten-2.7182818.701.tar.gz) = 3bc8848c23ba0bd25b4a7decfa64e18c8ce3098e50ef57c3da1861f3dd58b576
+SHA512 (robotfindskitten-2.7182818.701.tar.gz) = 736e44a62f016fb2a0dd03e31e6f1fb7c50a9115182812518666f3e4ad69f5703d7018f28ab14e0cfdbc8741656b15fa6ee577c2a5920e0d9af9acb658ac620b
+Size (robotfindskitten-2.7182818.701.tar.gz) = 437810 bytes
+SHA1 (patch-src_Makefile.in) = e0d61d3d15f45a090ec710e55b2fabd333d6dedc
diff -r 2078b0622aa8 -r d91dcbfe7898 games/robotfindskitten/patches/patch-src_Makefile.in
--- a/games/robotfindskitten/patches/patch-src_Makefile.in      Wed Jun 08 21:55:28 2022 +0000
+++ b/games/robotfindskitten/patches/patch-src_Makefile.in      Wed Jun 08 22:19:51 2022 +0000
@@ -1,15 +1,9 @@
-$NetBSD: patch-src_Makefile.in,v 1.2 2022/06/08 21:55:28 rillig Exp $
+$NetBSD: patch-src_Makefile.in,v 1.3 2022/06/08 22:19:51 rillig Exp $
 
-Install binary in the usual location.
+Install the binary in the usual location.
 
---- src/Makefile.in.orig       2007-11-27 21:16:18.000000000 +0000
+--- src/Makefile.in.orig
 +++ src/Makefile.in
-@@ -170,7 +170,7 @@ sysconfdir = @sysconfdir@
- target_alias = @target_alias@
- top_builddir = @top_builddir@
- top_srcdir = @top_srcdir@
+@@ -173,1 +173,1 @@ sysconfdir = @sysconfdir@
 -execgamesdir = $(prefix)/games
 +execgamesdir = @bindir@
- robotfindskitten_SOURCES = draw.h messages.h robotfindskitten.c 
- all: all-am
- 
diff -r 2078b0622aa8 -r d91dcbfe7898 games/robotfindskitten/patches/patch-src_robotfindskitten.c
--- a/games/robotfindskitten/patches/patch-src_robotfindskitten.c       Wed Jun 08 21:55:28 2022 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,14 +0,0 @@
-$NetBSD: patch-src_robotfindskitten.c,v 1.2 2022/06/08 21:55:28 rillig Exp $
-
-Fix compile warning on NetBSD due to use of time(3) without <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



Home | Main Index | Thread Index | Old Index