aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRene Ladan <rene@FreeBSD.org>2024-04-06 13:44:52 +0000
committerRene Ladan <rene@FreeBSD.org>2024-04-06 13:44:52 +0000
commite654fefe3a50f0a62003c6c972ea680dd9deda11 (patch)
tree69889024bbbc6ad51711b35bf51af43a04cc2800
parent8509bb6725e6252f5a9bc193b57a83f4843b0e04 (diff)
games/spider: Remove expired port
2024-04-05 games/spider: SUNSITE is no longer maintained
-rw-r--r--MOVED1
-rw-r--r--games/Makefile1
-rw-r--r--games/spider/Makefile33
-rw-r--r--games/spider/distinfo2
-rw-r--r--games/spider/files/patch-Imakefile50
-rw-r--r--games/spider/files/patch-globals.h84
-rw-r--r--games/spider/files/patch-main.c11
-rw-r--r--games/spider/files/patch-movelog.c18
-rw-r--r--games/spider/files/patch-spider.c11
-rw-r--r--games/spider/files/patch-spider.man11
-rw-r--r--games/spider/pkg-descr5
-rw-r--r--games/spider/pkg-plist8
12 files changed, 1 insertions, 234 deletions
diff --git a/MOVED b/MOVED
index 6c059c021b7d..f59849246bfc 100644
--- a/MOVED
+++ b/MOVED
@@ -3155,3 +3155,4 @@ science/py-qiskit-ibm-provider||2024-04-05|Removed
science/py-qiskit-ibmq-provider||2024-04-05|Removed
science/py-qiskit-nature||2024-04-05|Removed
science/py-qiskit-optimization||2024-04-05|Removed
+games/spider||2024-04-06|Has expired: SUNSITE is no longer maintained
diff --git a/games/Makefile b/games/Makefile
index 61cff4756df4..4a774837efac 100644
--- a/games/Makefile
+++ b/games/Makefile
@@ -934,7 +934,6 @@
SUBDIR += species
SUBDIR += spellcast
SUBDIR += spicetrade
- SUBDIR += spider
SUBDIR += starfighter
SUBDIR += starlanes
SUBDIR += steelstorm
diff --git a/games/spider/Makefile b/games/spider/Makefile
deleted file mode 100644
index 13e8d054958d..000000000000
--- a/games/spider/Makefile
+++ /dev/null
@@ -1,33 +0,0 @@
-PORTNAME= spider
-PORTVERSION= 1.1
-PORTREVISION= 5
-CATEGORIES= games
-MASTER_SITES= SUNSITE/games/solitaires
-DISTNAME= ${PORTNAME}
-
-MAINTAINER= bofh@FreeBSD.org
-COMMENT= Challenging double decked solitaire game
-
-LICENSE= Spider
-LICENSE_GROUPS= BSD
-LICENSE_NAME= Spider license
-LICENSE_FILE= ${WRKSRC}/copyright.h
-LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
-
-DEPRECATED= SUNSITE is no longer maintained
-EXPIRATION_DATE=2024-04-05
-
-USES= imake tar:Z xorg
-USE_XORG= x11 xext xaw xmu xt sm ice xpm
-
-INSTALL_TARGET= install install.doc
-
-CFLAGS+= -Wno-error=return-type
-
-.include <bsd.port.pre.mk>
-
-.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
-CFLAGS+= -Wno-error=int-conversion
-.endif
-
-.include <bsd.port.post.mk>
diff --git a/games/spider/distinfo b/games/spider/distinfo
deleted file mode 100644
index f260b04f6e13..000000000000
--- a/games/spider/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (spider.tar.Z) = eac25e28ea065e8afaea9d46bd22e5680c97bae59e22dccbd40c42792aeadea5
-SIZE (spider.tar.Z) = 209283
diff --git a/games/spider/files/patch-Imakefile b/games/spider/files/patch-Imakefile
deleted file mode 100644
index 27aaf677e6f9..000000000000
--- a/games/spider/files/patch-Imakefile
+++ /dev/null
@@ -1,50 +0,0 @@
---- Imakefile.orig 1991-09-28 17:46:02 UTC
-+++ Imakefile
-@@ -1,6 +1,6 @@
--/**/# Run imake -DUseInstalled -I/usr/lib/X11/config to make a Makefile.
--/**/# This is an R5 style Imakefile, so will need the R5 config files to
--/**/# to make a Makefile. It also assume that X11 is installed in /usr/lib.
-+# Run imake -DUseInstalled -I/usr/lib/X11/config to make a Makefile.
-+# This is an R5 style Imakefile, so will need the R5 config files to
-+# to make a Makefile. It also assume that X11 is installed in /usr/lib.
-
- SHAR = shar
- COMPRESS = compress
-@@ -8,7 +8,7 @@
- SPLIT = split
- CAT = cat
- /***** Note: probably want to define this to be something else *****/
-- HELPDIR = help
-+ HELPDIR = LibDir/spider
-
- /***** Note: Used to over-ride some declarations in the default Imakefile
- configurations. If you want to use some of these things, then
-@@ -16,7 +16,7 @@
- definitions to what you would like them to be below. Delete
- or comment out those you do not wish to use *****/
- #ifndef OverrideDefs
--#define OverrideDefs YES
-+#define OverrideDefs NO
- #endif
-
- #if OverrideDefs
-@@ -94,8 +94,8 @@
- #endif
-
- #if CompileXView
--/**/# If these are not defined in the site.def file, define them now.
--/**/# set up compile time dependencies for XView clients.
-+# If these are not defined in the site.def file, define them now.
-+# set up compile time dependencies for XView clients.
- XVTOP = $(XVIEWHOME)
- XVLIBSRC = $(XVTOP)/lib
- # if UseInstalled
-@@ -253,7 +253,7 @@ MakeDirectories(install.man, $(MANDIR))
- ComplexProgramTarget($(TARGET))
-
- #ifdef SparcArchitecture
--/**/# SunOS4.0.3 sparc optimizer slimes this file
-+# SunOS4.0.3 sparc optimizer slimes this file
- util.o: util.c
- $(CC) $(CPPFLAGS) $(DEFINES) $(INCLUDES) -c util.c
- #endif
diff --git a/games/spider/files/patch-globals.h b/games/spider/files/patch-globals.h
deleted file mode 100644
index 057cf884f52b..000000000000
--- a/games/spider/files/patch-globals.h
+++ /dev/null
@@ -1,84 +0,0 @@
---- globals.h.orig 1991-09-28 17:46:20 UTC
-+++ globals.h
-@@ -10,40 +10,47 @@
- *
- */
-
-+#ifdef IN_MAIN
-+#define EXTERN
-+#warning EXTERN
-+#else
-+#define EXTERN extern
-+#endif
-+
- /*
- * spider global variables
- */
--Display *dpy;
--int screen;
--Window table;
-+EXTERN Display *dpy;
-+EXTERN int screen;
-+EXTERN Window table;
- #ifdef KITLESS
- Window message_win;
- XFontStruct *message_font;
- #endif /* KITLESS */
--Pixmap greenmap;
--Pixmap redmap;
--Pixmap logomap;
-+EXTERN Pixmap greenmap;
-+EXTERN Pixmap redmap;
-+EXTERN Pixmap logomap;
-
--unsigned long blackpixel;
--unsigned long whitepixel;
--unsigned long borderpixel;
--unsigned long greenpixel;
-+EXTERN unsigned long blackpixel;
-+EXTERN unsigned long whitepixel;
-+EXTERN unsigned long borderpixel;
-+EXTERN unsigned long greenpixel;
-
--Bool is_color;
-+EXTERN Bool is_color;
-
--CardList deck;
--CardList stack[NUM_STACKS]; /* tableau */
--CardList piles[NUM_PILES]; /* full suits */
-+EXTERN CardList deck;
-+EXTERN CardList stack[NUM_STACKS]; /* tableau */
-+EXTERN CardList piles[NUM_PILES]; /* full suits */
-
--int table_height;
--int table_width;
-+EXTERN int table_height;
-+EXTERN int table_width;
-
--int deck_index;
-+extern int deck_index;
-
--int draw_count;
-+EXTERN int draw_count;
-
--Bool restart;
--int deal_number;
-+EXTERN Bool restart;
-+EXTERN int deal_number;
-
- extern char *version;
- extern char *build_date;
-@@ -96,6 +103,10 @@ void do_expand();
- Bool can_get_help_files();
- #endif
-
--extern char *malloc();
--extern char *calloc();
--extern char *realloc();
-+#ifndef __FreeBSD__
-+EXTERN char *malloc();
-+EXTERN char *calloc();
-+EXTERN char *realloc();
-+#else
-+#include <stdlib.h>
-+#endif
diff --git a/games/spider/files/patch-main.c b/games/spider/files/patch-main.c
deleted file mode 100644
index 086c40abb690..000000000000
--- a/games/spider/files/patch-main.c
+++ /dev/null
@@ -1,11 +0,0 @@
---- main.c.orig 1991-09-28 17:46:54 UTC
-+++ main.c
-@@ -14,6 +14,8 @@
- * Spider solitaire
- */
-
-+#define IN_MAIN
-+
- #include "defs.h"
- #include "globals.h"
-
diff --git a/games/spider/files/patch-movelog.c b/games/spider/files/patch-movelog.c
deleted file mode 100644
index 9758c781944c..000000000000
--- a/games/spider/files/patch-movelog.c
+++ /dev/null
@@ -1,18 +0,0 @@
---- movelog.c.orig 1991-09-28 17:46:17 UTC
-+++ movelog.c
-@@ -28,10 +28,13 @@ static int move_index = 0;
- static int *move_cache = NULL;
- static int cache_size = 0;
-
--int deck_cache[NUM_CARDS];
--int deck_index = 0;
-+int deck_cache[NUM_CARDS];
-+int deck_index = 0;
-
- extern int cheat_count;
-+
-+static int card_to_int(CardPtr card);
-+static int restore_game(char *str, char *str2);
-
- make_deck_cache()
- {
diff --git a/games/spider/files/patch-spider.c b/games/spider/files/patch-spider.c
deleted file mode 100644
index 55a243a7aa05..000000000000
--- a/games/spider/files/patch-spider.c
+++ /dev/null
@@ -1,11 +0,0 @@
---- spider.c.orig 1991-09-28 17:46:12 UTC
-+++ spider.c
-@@ -14,6 +14,8 @@
- * Spider card logic
- */
-
-+#define IN_MAIN
-+
- #include "defs.h"
- #include "globals.h"
- #include <ctype.h>
diff --git a/games/spider/files/patch-spider.man b/games/spider/files/patch-spider.man
deleted file mode 100644
index 3572cd18096c..000000000000
--- a/games/spider/files/patch-spider.man
+++ /dev/null
@@ -1,11 +0,0 @@
---- spider.man.orig 1991-09-28 17:46:06 UTC
-+++ spider.man
-@@ -53,7 +53,7 @@ is "true".
- Specifies the time (in microseconds) to pause between each move when
- showing a Replay. The default is 200.
- .TP 8
--.B "roundsCards (\fPclass\fB RoundCards)"
-+.B "roundCards (\fPclass\fB RoundCards)"
- Specifies whether to use rounded cards are not. Rounded cards look
- better, but are considerably slower. The default is "on".
- .TP 8
diff --git a/games/spider/pkg-descr b/games/spider/pkg-descr
deleted file mode 100644
index 97e843586756..000000000000
--- a/games/spider/pkg-descr
+++ /dev/null
@@ -1,5 +0,0 @@
-Spider is a challenging double decked solitaire game. Unlike most
-soilitaire games, skill is just as important as luck.
-
-The X11 version of spider is based on the NeWS version by Don Woods,
-and uses the same save file format and card images.
diff --git a/games/spider/pkg-plist b/games/spider/pkg-plist
deleted file mode 100644
index d49faed67bf3..000000000000
--- a/games/spider/pkg-plist
+++ /dev/null
@@ -1,8 +0,0 @@
-bin/spider
-lib/X11/spider/doc.controls
-lib/X11/spider/doc.examples
-lib/X11/spider/doc.intro
-lib/X11/spider/doc.misc
-lib/X11/spider/doc.rules
-lib/X11/spider/doc.summary
-share/man/man1/spider.1.gz