aboutsummaryrefslogtreecommitdiffstats
path: root/games/galaxis
diff options
context:
space:
mode:
authortg <tg@FreeBSD.org>1997-06-30 19:57:52 +0800
committertg <tg@FreeBSD.org>1997-06-30 19:57:52 +0800
commite39d3ea70f015101307d0939721e25e632ed835d (patch)
tree0700aecece73a352b65cfe82e5c9a3d13268661c /games/galaxis
parent1e0d093fbc5703fc2ce4b9aa7b8e8a246eb60ace (diff)
downloadfreebsd-ports-gnome-e39d3ea70f015101307d0939721e25e632ed835d.tar.gz
freebsd-ports-gnome-e39d3ea70f015101307d0939721e25e632ed835d.tar.zst
freebsd-ports-gnome-e39d3ea70f015101307d0939721e25e632ed835d.zip
Import of galaxis port. Save lifeboats from a crippled
interstellar liner. PR: 3989 Submitted by: Andrey Zakhvatov <andy@icc.surw.chel.su>
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