summaryrefslogtreecommitdiff
path: root/games/galaxis
diff options
context:
space:
mode:
authorThomas Gellekum <tg@FreeBSD.org>1997-06-30 11:57:52 +0000
committerThomas Gellekum <tg@FreeBSD.org>1997-06-30 11:57:52 +0000
commitc8504ede5f44e09739030be6846e7fddc6fd852a (patch)
treedf04b64e00c6b162479252b4b8da49c5a2615923 /games/galaxis
parentActivate oonsoo. (diff)
Import of galaxis port. Save lifeboats from a crippled
interstellar liner. PR: 3989 Submitted by: Andrey Zakhvatov <andy@icc.surw.chel.su>
Notes
Notes: svn path=/head/; revision=7146
Diffstat (limited to 'games/galaxis')
-rw-r--r--games/galaxis/Makefile22
-rw-r--r--games/galaxis/distinfo1
-rw-r--r--games/galaxis/files/patch-aa21
-rw-r--r--games/galaxis/files/patch-ab36
-rw-r--r--games/galaxis/pkg-comment1
-rw-r--r--games/galaxis/pkg-descr8
-rw-r--r--games/galaxis/pkg-plist2
7 files changed, 91 insertions, 0 deletions
diff --git a/games/galaxis/Makefile b/games/galaxis/Makefile
new file mode 100644
index 000000000000..e9dd9273c0f8
--- /dev/null
+++ b/games/galaxis/Makefile
@@ -0,0 +1,22 @@
+# New ports collection makefile for: galaxis
+# Version required: 1.1
+# Date created: 30 June 1997
+# Whom: Andrey Zakhvatov
+#
+# $Id$
+#
+
+DISTNAME= galaxis-1.1
+CATEGORIES= games
+MASTER_SITES= ftp://locke.ccil.org/pub/esr/
+
+MAINTAINER= andy@icc.surw.chel.su
+
+ALL_TARGET=
+MAN6= galaxis.6
+
+do-install:
+ @ ${INSTALL_PROGRAM} ${WRKSRC}/galaxis ${PREFIX}/bin/galaxis
+ @ ${INSTALL_MAN} ${WRKSRC}/galaxis.6 ${PREFIX}/man/man6
+
+.include <bsd.port.mk>
diff --git a/games/galaxis/distinfo b/games/galaxis/distinfo
new file mode 100644
index 000000000000..8804236b6dd7
--- /dev/null
+++ b/games/galaxis/distinfo
@@ -0,0 +1 @@
+MD5 (galaxis-1.1.tar.gz) = 032bd09747d77809d8aa796e11342e9a
diff --git a/games/galaxis/files/patch-aa b/games/galaxis/files/patch-aa
new file mode 100644
index 000000000000..feeb48673418
--- /dev/null
+++ b/games/galaxis/files/patch-aa
@@ -0,0 +1,21 @@
+*** Makefile Wed Dec 6 13:56:38 1995
+--- /home/andy/tmp/wrk/Makefile Mon Jun 30 08:44:56 1997
+***************
+*** 6,13 ****
+ V=1.1
+
+ # Flags for use with the Linux ncurses package (recommended)
+! CFLAGS = -g -DNDEBUG # -I/usr/local/include -L/usr/local/lib
+! TERMLIB = -lncurses
+ CC = gcc
+
+ # Flags for use with stock curses
+--- 6,13 ----
+ V=1.1
+
+ # Flags for use with the Linux ncurses package (recommended)
+! #CFLAGS = -g -DNDEBUG # -I/usr/local/include -L/usr/local/lib
+! TERMLIB = -lncurses -lmytinfo
+ CC = gcc
+
+ # Flags for use with stock curses
diff --git a/games/galaxis/files/patch-ab b/games/galaxis/files/patch-ab
new file mode 100644
index 000000000000..47ede080296c
--- /dev/null
+++ b/games/galaxis/files/patch-ab
@@ -0,0 +1,36 @@
+*** galaxis.c Wed Sep 20 17:16:33 1995
+--- /home/andy/tmp/wrk/galaxis.c Mon Jun 30 08:45:01 1997
+***************
+*** 8,14 ****
+
+ #include <stdio.h>
+ #include <termios.h>
+! #include <curses.h>
+ #include <signal.h>
+ #include <ctype.h>
+ #include <assert.h>
+--- 8,14 ----
+
+ #include <stdio.h>
+ #include <termios.h>
+! #include <ncurses.h>
+ #include <signal.h>
+ #include <ctype.h>
+ #include <assert.h>
+***************
+*** 131,137 ****
+
+ (void) signal(SIGINT,outro);
+ (void) signal(SIGINT,outro);
+! (void) signal(SIGIOT,outro); /* for assert(3) */
+ if(signal(SIGQUIT,SIG_IGN) != SIG_IGN)
+ (void)signal(SIGQUIT,outro);
+
+--- 131,137 ----
+
+ (void) signal(SIGINT,outro);
+ (void) signal(SIGINT,outro);
+! (void) signal(SIGABRT,outro); /* for assert(3) */
+ if(signal(SIGQUIT,SIG_IGN) != SIG_IGN)
+ (void)signal(SIGQUIT,outro);
+
diff --git a/games/galaxis/pkg-comment b/games/galaxis/pkg-comment
new file mode 100644
index 000000000000..b7d4dd2f2d80
--- /dev/null
+++ b/games/galaxis/pkg-comment
@@ -0,0 +1 @@
+Clone of the nifty little Macintosh game
diff --git a/games/galaxis/pkg-descr b/games/galaxis/pkg-descr
new file mode 100644
index 000000000000..65cbe56abc73
--- /dev/null
+++ b/games/galaxis/pkg-descr
@@ -0,0 +1,8 @@
+ GALAXIS for UNIX
+ by Eric S. Raymond <esr@snark.thyrsus.com>
+
+This directory contains curses-based clone of the nifty little Macintosh
+freeware game Galaxis.
+
+Send bug reports to esr@snark.thyrsus.com. Also, see my WWW home page
+at http://www.ccil.org/~esr/home.html for updates and other resources.
diff --git a/games/galaxis/pkg-plist b/games/galaxis/pkg-plist
new file mode 100644
index 000000000000..9507679f3093
--- /dev/null
+++ b/games/galaxis/pkg-plist
@@ -0,0 +1,2 @@
+bin/galaxis
+man/man6/galaxis.6.gz