From 679ed33c5afe34b7720791f86d2f329f6c89950d Mon Sep 17 00:00:00 2001 From: Warner Losh Date: Thu, 24 Dec 1998 05:51:21 +0000 Subject: Add the seahaven towers game. This is yet another solitare games, but this one makes you think. While an implementation exists in pysol, this one is better in many subtle ways. --- games/Makefile | 3 ++- games/seahaven/Makefile | 19 +++++++++++++++++ games/seahaven/distinfo | 1 + games/seahaven/files/patch-aa | 48 +++++++++++++++++++++++++++++++++++++++++++ games/seahaven/pkg-comment | 1 + games/seahaven/pkg-descr | 2 ++ games/seahaven/pkg-plist | 2 ++ 7 files changed, 75 insertions(+), 1 deletion(-) create mode 100644 games/seahaven/Makefile create mode 100644 games/seahaven/distinfo create mode 100644 games/seahaven/files/patch-aa create mode 100644 games/seahaven/pkg-comment create mode 100644 games/seahaven/pkg-descr create mode 100644 games/seahaven/pkg-plist diff --git a/games/Makefile b/games/Makefile index d1effeb0d3fa..3e17265e17d5 100644 --- a/games/Makefile +++ b/games/Makefile @@ -1,4 +1,4 @@ -# $Id: Makefile,v 1.175 1998/12/14 21:44:03 jseger Exp $ +# $Id: Makefile,v 1.176 1998/12/17 14:36:06 flathill Exp $ # SUBDIR += 3dc @@ -69,6 +69,7 @@ SUBDIR += qstat SUBDIR += quakeserver SUBDIR += seabattle + SUBDIR += seahaven SUBDIR += sokoban SUBDIR += spellcast SUBDIR += spider diff --git a/games/seahaven/Makefile b/games/seahaven/Makefile new file mode 100644 index 000000000000..b0b7bc6ede99 --- /dev/null +++ b/games/seahaven/Makefile @@ -0,0 +1,19 @@ +# New ports collection makefile for: seahaven +# Version required: 1.04 +# Date created: 23 Dec 1998 +# Whom: imp +# +# $Id:$ +# + +DISTNAME= seahaven-1.04 +PKGNAME= seahaven-1.04 +CATEGORIES= games +MASTER_SITES= http://www.cinenet.net/users/spitzak/seahaven/ +EXTRACT_SUFX= .tgz + +MAINTAINER= imp@FreeBSD.ORG + +GNU_CONFIGURE= yes + +.include diff --git a/games/seahaven/distinfo b/games/seahaven/distinfo new file mode 100644 index 000000000000..088894a2b5d1 --- /dev/null +++ b/games/seahaven/distinfo @@ -0,0 +1 @@ +MD5 (seahaven-1.04.tgz) = 8af5313ea9b27161acd6861772d1e4e8 diff --git a/games/seahaven/files/patch-aa b/games/seahaven/files/patch-aa new file mode 100644 index 000000000000..c9a082a104a8 --- /dev/null +++ b/games/seahaven/files/patch-aa @@ -0,0 +1,48 @@ +diff -ru Makefile seahaven-1.04/Makefile +--- Makefile Tue Dec 22 11:07:19 1998 ++++ seahaven-1.04/Makefile Wed Dec 23 14:00:23 1998 +@@ -13,6 +13,8 @@ + + OBJECTS = $(CXXFILES:.C=.o) + ++all: $(PROGRAM) ++ + $(PROGRAM) : $(OBJECTS) + $(CXX) $(CXXFLAGS) -o $(PROGRAM) $(OBJECTS) $(LIBS) $(LDLIBS) + +@@ -39,11 +41,11 @@ + + install: $(PROGRAM) + $(INSTALL) -s $(PROGRAM) $(bindir)/$(PROGRAM) +- $(INSTALL) $(PROGRAM).$(MANPAGE) /usr/man/man$(MANPAGE)/$(PROGRAM).$(MANPAGE) ++ $(INSTALL) $(PROGRAM).$(MANPAGE) $(mandir)/man$(MANPAGE)/$(PROGRAM).$(MANPAGE) + + uninstall: + -@ rm -f $(bindir)/$(PROGRAM) +- -@ rm -f /usr/man/man$(MANPAGE)/$(PROGRAM).$(MANPAGE) ++ -@ rm -f $(mandir)/man$(MANPAGE)/$(PROGRAM).$(MANPAGE) + + dist: + cat /dev/null > makedepend +diff -ru makeinclude.in seahaven-1.04/makeinclude.in +--- makeinclude.in Wed Nov 18 12:11:30 1998 ++++ seahaven-1.04/makeinclude.in Wed Dec 23 13:59:49 1998 +@@ -3,6 +3,7 @@ + prefix =@prefix@ + exec_prefix =@exec_prefix@ + bindir =@bindir@ ++mandir =@mandir@ + includedir =@includedir@ + libdir =@libdir@ + srcdir =@srcdir@ +diff -ru stack.C seahaven-1.04/stack.C +--- stack.C Thu Nov 19 23:59:27 1998 ++++ seahaven-1.04/stack.C Wed Dec 23 13:58:55 1998 +@@ -10,7 +10,6 @@ + + #include // For time() + #include // For random() +-#include + #include + #include + diff --git a/games/seahaven/pkg-comment b/games/seahaven/pkg-comment new file mode 100644 index 000000000000..5acd9b2c77eb --- /dev/null +++ b/games/seahaven/pkg-comment @@ -0,0 +1 @@ +The classic, lightweight version of Seahaven Towers diff --git a/games/seahaven/pkg-descr b/games/seahaven/pkg-descr new file mode 100644 index 000000000000..6c16348431b0 --- /dev/null +++ b/games/seahaven/pkg-descr @@ -0,0 +1,2 @@ +seahaven is an X implementation of a solitaire game sometimes known as +Seahaven Towers. diff --git a/games/seahaven/pkg-plist b/games/seahaven/pkg-plist new file mode 100644 index 000000000000..9a31656ce19a --- /dev/null +++ b/games/seahaven/pkg-plist @@ -0,0 +1,2 @@ +bin/seahaven +share/man/man6/seahaven.6 -- cgit v1.2.3