you don't expect me to say "bs port", do you

This commit is contained in:
angelos 1998-05-20 03:09:37 +00:00
parent d9deb28d8f
commit ef3c99344e
6 changed files with 87 additions and 0 deletions

22
games/bs/Makefile Normal file
View File

@ -0,0 +1,22 @@
# OpenBSD makefile for: bs
# Version required: 2.1
# Date created: May 19 1998
# Whom: Angelos D. Keromytis
#
# $OpenBSD: Makefile,v 1.1.1.1 1998/05/20 03:09:37 angelos Exp $
#
DISTNAME= bs-2.1
CATEGORIES= games
MASTER_SITES=
MAINTAINER= angelos@openbsd.org
ALL_TARGET=
MAN6= bs.6
do-install:
@ ${INSTALL_PROGRAM} ${WRKSRC}/bs ${PREFIX}/bin/bs
@ ${INSTALL_MAN} ${WRKSRC}/bs.6 ${PREFIX}/man/man6
.include <bsd.port.mk>

1
games/bs/files/md5 Normal file
View File

@ -0,0 +1 @@
MD5 (bs-2.1.tar.gz) = 6ec710ae68358894309a351a274a6eb6

19
games/bs/patches/patch-aa Normal file
View File

@ -0,0 +1,19 @@
*** Makefile Thu Dec 7 23:05:56 1995
--- /home/andy/tmp/wrk/Makefile Mon May 26 17:58:13 1997
***************
*** 6,12 ****
V=2.1
# Flags for use with the Linux ncurses package (recommended)
! TERMLIB = -lncurses
CC = gcc
# Flags for use with stock curses
--- 6,12 ----
V=2.1
# Flags for use with the Linux ncurses package (recommended)
! TERMLIB = -lcurses -ltermlib
CC = gcc
# Flags for use with stock curses

1
games/bs/pkg/COMMENT Normal file
View File

@ -0,0 +1 @@
Battleships solitaire game with a color interface

42
games/bs/pkg/DESCR Normal file
View File

@ -0,0 +1,42 @@
Battleships solitaire game with a color point-and-shoot
interface in the style of blue and galaxis games.
BS 2.0
Battleships is an intrinsically silly game, but I couldn't resist fixing this
sucker. It now has a purely visual interface (you place ships and call for
shots by moving the cursor around the board using the standard yuhjklbn keys).
The default game now disallows placement of ships so that they touch. A new
-c option is available to force the older behavior.
I also removed the `seemiss' option (now always on) and `ask' (which is only
useful for cheating). And I ifdefed out the ditsy opening screen; if you want
it back, compile with -DPENGUIN. One strike against featureitis...
The code now lints as clean as the broken SysV curses lint library will let it.
Some #ifdefs in the code should result in the right things being done for
BSD or USG systems. They key off A_UNDERLINE. If you're using the Linux
ncurses library, tell the makefile.
This was probably a waste of a day or so. But what the hack -- rewriting the
strategy robot as an FSM was fun, and maybe the interface will set a good
example for the next guy.
<*** FLAME ON ***>
People who write termcap games that require you to enter #@!!#$! coordinates
rather than doing the natural pick-and-place with cursor motions should be
stuffed in suits and condemned to write COBOL for the rest of their days...
<*** FLAME OFF ***>
O.K., I feel better now that I've got that off my chest...
November 1993: I've added function key support, and ANSI/POSIXized the code.
Eric S. Raymond
esr@snark.thyrsus.com
(WWW: http://www.ccil.org/~esr/home.html)

2
games/bs/pkg/PLIST Normal file
View File

@ -0,0 +1,2 @@
bin/bs
man/man6/bs.6