aboutsummaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorMasafumi Max NAKANE <max@FreeBSD.org>1997-04-27 14:22:30 +0000
committerMasafumi Max NAKANE <max@FreeBSD.org>1997-04-27 14:22:30 +0000
commit69e57afc66a45bb0e022e552d582b31eceefa288 (patch)
tree1f33e08f9d94ba7f4eea21e546212df6df93c158 /games
parentb39298937a2c4faeb9c2544229dc68e8faeea8c0 (diff)
downloadports-69e57afc66a45bb0e022e552d582b31eceefa288.tar.gz
ports-69e57afc66a45bb0e022e552d582b31eceefa288.zip
Notes
Diffstat (limited to 'games')
-rw-r--r--games/netris/Makefile22
-rw-r--r--games/netris/distinfo1
-rw-r--r--games/netris/files/netris.1117
-rw-r--r--games/netris/files/patch-aa29
-rw-r--r--games/netris/pkg-comment1
-rw-r--r--games/netris/pkg-descr4
-rw-r--r--games/netris/pkg-plist2
7 files changed, 176 insertions, 0 deletions
diff --git a/games/netris/Makefile b/games/netris/Makefile
new file mode 100644
index 000000000000..1c68165e8dbd
--- /dev/null
+++ b/games/netris/Makefile
@@ -0,0 +1,22 @@
+# New ports collection makefile for: netris
+# Version required: 0.4
+# Date created: 1 August 1996
+# Whom: desmo
+#
+# $Id$
+#
+
+DISTNAME= netris-0.4
+CATEGORIES= games
+MASTER_SITES= ftp://ftp.netris.org/pub/netris/
+
+MAINTAINER= desmo@bandwidth.org
+
+HAS_CONFIGURE= yes
+CONFIGURE_SCRIPT= Configure
+MAN1= netris.1
+
+post-install:
+ ${INSTALL_MAN} ${FILESDIR}/netris.1 ${PREFIX}/man/man1
+
+.include <bsd.port.mk>
diff --git a/games/netris/distinfo b/games/netris/distinfo
new file mode 100644
index 000000000000..f43c7a8217ed
--- /dev/null
+++ b/games/netris/distinfo
@@ -0,0 +1 @@
+MD5 (netris-0.4.tar.gz) = 6c0896633bf20c9fa902956ef79c183f
diff --git a/games/netris/files/netris.1 b/games/netris/files/netris.1
new file mode 100644
index 000000000000..5c8b271fec26
--- /dev/null
+++ b/games/netris/files/netris.1
@@ -0,0 +1,117 @@
+.TH NETRIS 1 "1 August 1996"
+.SH "NAME"
+netris - a network version of t*tris
+.SH "SYNOPSIS"
+.B netris
+[-DHRSh] [-w] [-c host] [-p port] [-k keys]
+.SH "DESCRIPTION"
+.I Netris
+is a networked version of t*tris. It allows either single player or head to head play via a network. To play it single user, start
+.I netris
+with no flags. To play head to head, you can either host or connect. To be the host, start
+.I netris
+with the
+.B -w
+flag. To connect to a host, use the
+.B -c <hostname>
+flag with the hostname of the computer you wish to connect to.
+
+Unlike standard T*tris,
+.I Netris
+gives you a little extra time after dropping a piece before it solidifies. This allows you to slide the
+piece into a notch without waiting for it to fall the whole way down.
+In fact, if you can even slide it off a cliff and it'll start falling
+again. If you think it should automatically drop again in this case,
+use the
+.B -D
+option.
+
+The keys are:
+.TP
+.B j
+left
+.TP
+.B k
+rotate
+.TP
+.B l
+right
+.TP
+.B Space
+drop
+.TP
+.B m
+down faster
+.TP
+.B s
+toggle spying on the other player
+.TP
+.B p
+pause
+.TP
+.B f
+make game faster (irreversable)
+.TP
+.B Ctrl-L
+redraw the screen
+.LP
+To see usage information, type "
+.I netris
+.B -h
+".
+To see distribution/warranty information, type "
+.I netris
+.B -H
+".
+To see the rules, type "
+.I netris
+.B -R
+".
+To use a port number other than the default, use the
+.B -p
+option.
+.LP
+You can remap the keys with "
+.B -k <keys>
+", where
+.B <keys>
+is a string
+containing the keys in the order listed above.
+.LP
+The default is:
+.I netris
+.B -k jkl mspf^l
+.LP
+You needn't specify all of the keys, for example
+.B -k asd
+will only
+change the main three keys.
+.B ^x
+notation can be used for control
+characters.
+.LP
+The
+.B m
+key moves the falling piece down one block, in addition to the
+usual step-down timer. Use this in repetition when "drop" would go
+too far but you don't want to wait for the piece of fall.
+.SH AUTHOR
+.TP
+Mark H. Weaver <mhw@netris.org>
+.SH BUGS
+.TP
+One-player mode is a tad boring at the moment, because it never gets any faster, and there's no scoring. This will be rectified at some point. For now, use the
+.B f
+key (by default) to make the
+game go faster. Speedups cannot be reversed for the remainder of
+the game.
+.SH COPYRIGHT
+.TP
+Copyright (C) 1994,1995,1996 Mark H. Weaver <mhw@netris.org>
+.LP
+netris is free software; you can redistribute it and/or
+modify it under the terms of the GNU General Public
+License as published by the Free Software Foundation;
+either version 2, or (at your option) any later version.
+
+
diff --git a/games/netris/files/patch-aa b/games/netris/files/patch-aa
new file mode 100644
index 000000000000..ab1a24eaca04
--- /dev/null
+++ b/games/netris/files/patch-aa
@@ -0,0 +1,29 @@
+*** Configure.orig Sat Feb 10 04:41:40 1996
+--- Configure Thu Aug 1 02:16:34 1996
+***************
+*** 159,167 ****
+--- 159,170 ----
+ PROG = netris
+ HEADERS = netris.h
+
++ PREFIX?=/usr/local
+ SRCS = -SRCS-
+ OBJS = -OBJS-
+ DISTFILES = -DISTFILES-
++ DESTDIR= $(PREFIX)/bin
++ MANDIR= $(PREFIX)/man
+
+ all: Makefile config.h proto.h $(PROG) sr
+
+***************
+*** 217,222 ****
+--- 220,228 ----
+
+ cleandir: clean
+ rm -f .depend Makefile config.h
++
++ install:
++ install -o bin -g bin -s -m 755 $(PROG) $(DESTDIR)
+
+ ##### DO NOT EDIT OR DELETE THIS LINE, it's needed by make depend #####
+ END
diff --git a/games/netris/pkg-comment b/games/netris/pkg-comment
new file mode 100644
index 000000000000..d8fce96b8aec
--- /dev/null
+++ b/games/netris/pkg-comment
@@ -0,0 +1 @@
+A network head to head version of T*tris.
diff --git a/games/netris/pkg-descr b/games/netris/pkg-descr
new file mode 100644
index 000000000000..b8d5ee06778f
--- /dev/null
+++ b/games/netris/pkg-descr
@@ -0,0 +1,4 @@
+This is netris, a networked version of t*tris. It allows head to head 2 player games via a network.
+
+-Ken Monville
+desmo@bandwidth.org
diff --git a/games/netris/pkg-plist b/games/netris/pkg-plist
new file mode 100644
index 000000000000..6e2f7fa3e20e
--- /dev/null
+++ b/games/netris/pkg-plist
@@ -0,0 +1,2 @@
+bin/netris
+man/man1/netris.1.gz