pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/games/bastet Imported bastet.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3323e3e3e520
branches:  trunk
changeset: 518599:3323e3e3e520
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Thu Sep 14 13:55:10 2006 +0000

description:
Imported bastet.

   "For people who enjoy swearing at their computer, Bastet (short for
    Bastard Tetris) is an attractive alternative to Microsoft Word."

        (taken from http://hublog.hubmed.org/)

Have you ever thought Tetris(R) was evil because it wouldn't send you
that straight "I" brick you needed in order to clear four rows at the
same time?  Well Tetris(R) probably isn't evil, but Bastet certainly is.
>:-)

Bastet stands for "bastard tetris", and is a simple ncurses-based
Tetris(R) clone. Unlike normal Tetris(R), however, Bastet does not
choose your next brick at random.  Instead, Bastet uses a special
algorithm designed to choose the worst brick possible.  As you can
imagine, playing Bastet can be a very frustrating experience!

diffstat:

 games/bastet/DESCR            |  15 +++++++++++++++
 games/bastet/Makefile         |  25 +++++++++++++++++++++++++
 games/bastet/PLIST            |   3 +++
 games/bastet/distinfo         |   7 +++++++
 games/bastet/patches/patch-aa |  16 ++++++++++++++++
 games/bastet/patches/patch-ab |  13 +++++++++++++
 6 files changed, 79 insertions(+), 0 deletions(-)

diffs (103 lines):

diff -r f4c917181858 -r 3323e3e3e520 games/bastet/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/games/bastet/DESCR        Thu Sep 14 13:55:10 2006 +0000
@@ -0,0 +1,15 @@
+   "For people who enjoy swearing at their computer, Bastet (short for
+    Bastard Tetris) is an attractive alternative to Microsoft Word."
+
+        (taken from http://hublog.hubmed.org/)
+
+Have you ever thought Tetris(R) was evil because it wouldn't send you
+that straight "I" brick you needed in order to clear four rows at the
+same time?  Well Tetris(R) probably isn't evil, but Bastet certainly is.
+>:-)
+
+Bastet stands for "bastard tetris", and is a simple ncurses-based
+Tetris(R) clone. Unlike normal Tetris(R), however, Bastet does not
+choose your next brick at random.  Instead, Bastet uses a special
+algorithm designed to choose the worst brick possible.  As you can
+imagine, playing Bastet can be a very frustrating experience!
diff -r f4c917181858 -r 3323e3e3e520 games/bastet/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/games/bastet/Makefile     Thu Sep 14 13:55:10 2006 +0000
@@ -0,0 +1,25 @@
+# $NetBSD: Makefile,v 1.1.1.1 2006/09/14 13:55:10 rillig Exp $
+#
+
+DISTNAME=              bastet-0.41
+CATEGORIES=            games
+MASTER_SITES=          http://fph.altervista.org/prog/
+EXTRACT_SUFX=          .tgz
+
+MAINTAINER=            rillig%NetBSD.org@localhost
+HOMEPAGE=              http://fph.altervista.org/prog/
+COMMENT=               Bastard Tetris
+
+USE_TOOLS+=            gmake
+MAKE_FLAGS+=           BIN_PREFIX=${PREFIX}/bin/
+MAKE_FLAGS+=           DATA_PREFIX=${VARBASE}/games/
+BUILD_DEFS+=           VARBASE
+
+INSTALLATION_DIRS=     bin ${PKGMANDIR}/man6
+
+do-install:
+       ${INSTALL_GAME} ${WRKSRC}/bastet ${PREFIX}/bin/
+       ${INSTALL_MAN} ${WRKSRC}/bastet.6 ${PREFIX}/${PKGMANDIR}/man6/
+
+.include "../../devel/ncurses/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r f4c917181858 -r 3323e3e3e520 games/bastet/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/games/bastet/PLIST        Thu Sep 14 13:55:10 2006 +0000
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2006/09/14 13:55:10 rillig Exp $
+bin/bastet
+man/man6/bastet.6
diff -r f4c917181858 -r 3323e3e3e520 games/bastet/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/games/bastet/distinfo     Thu Sep 14 13:55:10 2006 +0000
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1.1.1 2006/09/14 13:55:10 rillig Exp $
+
+SHA1 (bastet-0.41.tgz) = 644a0f76adedef84946159520c1639ff0c6c47ec
+RMD160 (bastet-0.41.tgz) = 00801881e8ee5d42f91fe5f231d3151606032851
+Size (bastet-0.41.tgz) = 24195 bytes
+SHA1 (patch-aa) = 70896f37c9a05af877ab0f5f31a17a51f0bfe2f1
+SHA1 (patch-ab) = 8d388877f15291c3e0e071b36d88c50558cbc559
diff -r f4c917181858 -r 3323e3e3e520 games/bastet/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/games/bastet/patches/patch-aa     Thu Sep 14 13:55:10 2006 +0000
@@ -0,0 +1,16 @@
+$NetBSD: patch-aa,v 1.1.1.1 2006/09/14 13:55:10 rillig Exp $
+
+--- bast.c.orig        2004-10-15 23:58:52.000000000 +0200
++++ bast.c     2006-09-14 15:46:12.000000000 +0200
+@@ -1,7 +1,11 @@
+ #include <stdlib.h>
+ #include <stdio.h>
+ #include <ncurses.h>
++#if defined(__linux)
+ #include <termio.h>
++#else
++#include <termios.h>
++#endif
+ #include <assert.h>
+ #include <unistd.h>
+ #include <string.h>
diff -r f4c917181858 -r 3323e3e3e520 games/bastet/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/games/bastet/patches/patch-ab     Thu Sep 14 13:55:10 2006 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1.1.1 2006/09/14 13:55:10 rillig Exp $
+
+--- game.c.orig        2004-10-15 23:58:52.000000000 +0200
++++ game.c     2006-09-14 15:46:25.000000000 +0200
+@@ -66,7 +66,7 @@ unsigned char *well_data;
+ 
+ /* Delay before block drop one step down (usec).
+    We start at one sec. and then decreases the delay by 23% at each level. */
+-const int delay[NO_LEVELS] = {1000000, 770000, 593000, 457000, 352000, 271000, 208000, 160000, 124000, 95000};
++const int delay[NO_LEVELS] = {999999, 770000, 593000, 457000, 352000, 271000, 208000, 160000, 124000, 95000};
+ 
+ /* Window in which the action takes place. */
+ WINDOW *well_win;



Home | Main Index | Thread Index | Old Index