git: 645196e319ab - main - graphics/rayshade: Remove expired port

From: Rene Ladan <rene_at_FreeBSD.org>
Date: Sat, 10 Feb 2024 12:34:08 UTC
The branch main has been updated by rene:

URL: https://cgit.FreeBSD.org/ports/commit/?id=645196e319ab45bf99b478cada3b15b0be8f3eaf

commit 645196e319ab45bf99b478cada3b15b0be8f3eaf
Author:     Rene Ladan <rene@FreeBSD.org>
AuthorDate: 2024-02-10 12:33:16 +0000
Commit:     Rene Ladan <rene@FreeBSD.org>
CommitDate: 2024-02-10 12:33:16 +0000

    graphics/rayshade: Remove expired port
    
    2024-02-10 graphics/rayshade: Defunct upstream with last release in 1992
---
 MOVED                                              |  1 +
 graphics/Makefile                                  |  1 -
 graphics/rayshade/Makefile                         | 74 ----------------------
 graphics/rayshade/distinfo                         |  4 --
 graphics/rayshade/files/config.ans                 | 18 ------
 graphics/rayshade/files/patch-Configure            | 52 ---------------
 .../rayshade/files/patch-etc__rsconvert__lex.l     | 19 ------
 .../rayshade/files/patch-etc__rsconvert__yacc.y    | 10 ---
 graphics/rayshade/files/patch-libray_Makefile      | 15 -----
 .../files/patch-libray__libtext__texture.c         | 11 ----
 .../files/patch-libray_liblight_extended.c         | 11 ----
 graphics/rayshade/files/patch-libray_libobj_hf.c   | 11 ----
 graphics/rayshade/files/patch-libray_libsurf_fog.c | 10 ---
 .../rayshade/files/patch-libray_libsurf_fogdeck.c  | 10 ---
 graphics/rayshade/files/patch-libshade__lex.l      | 19 ------
 graphics/rayshade/files/patch-libshade__yacc.y     | 11 ----
 graphics/rayshade/files/patch-raypaint_Makefile.SH | 16 -----
 graphics/rayshade/pkg-descr                        |  3 -
 18 files changed, 1 insertion(+), 295 deletions(-)

diff --git a/MOVED b/MOVED
index 65d66613d6b2..61aa437bef68 100644
--- a/MOVED
+++ b/MOVED
@@ -2986,3 +2986,4 @@ audio/stmp||2024-02-01|Has expired: Broken for more than a year
 audio/baudline||2024-02-01|Has expired: upstream has gone to subscription model and no longer distributes this version. Try comms/Inspectrum or audio/xanalyser instead
 x11-themes/kde-icons-noia||2024-02-06|Has expired: Unfetchable and upstream WWW not found
 databases/pg_vector|databases/pgvector|2024-02-06|Renamed to match upstream
+graphics/rayshade||2024-02-10|Has expired: Defunct upstream with last release in 1992
diff --git a/graphics/Makefile b/graphics/Makefile
index e32cd338535f..cad2843f16a9 100644
--- a/graphics/Makefile
+++ b/graphics/Makefile
@@ -1021,7 +1021,6 @@
     SUBDIR += raster3d
     SUBDIR += rawstudio
     SUBDIR += rawtherapee
-    SUBDIR += rayshade
     SUBDIR += reactphysics3d
     SUBDIR += realesrgan-ncnn-vulkan
     SUBDIR += reallyslick
diff --git a/graphics/rayshade/Makefile b/graphics/rayshade/Makefile
deleted file mode 100644
index 0fed4133c87c..000000000000
--- a/graphics/rayshade/Makefile
+++ /dev/null
@@ -1,74 +0,0 @@
-PORTNAME=	rayshade
-PORTVERSION=	4.0.6
-PORTREVISION=	7
-CATEGORIES=	graphics
-MASTER_SITES=	http://ccl.net/cca/software/SOURCES/C/rayshade/ \
-		http://www.mirrorservice.org/sites/graphics.stanford.edu/pub/rayshade/ \
-		ftp://graphics.stanford.edu/pub/rayshade/
-DISTFILES=	${PORTNAME}.${PORTVERSION}.tar.Z
-DIST_SUBDIR=	rayshade
-EXTRACT_ONLY=	${PORTNAME}.${PORTVERSION}.tar.Z
-
-MAINTAINER=	bofh@FreeBSD.org
-COMMENT=	Extensible system for creating ray-traced images
-WWW=		http://www-graphics.stanford.edu/~cek/rayshade/
-
-LICENSE=	rayshade
-LICENSE_NAME=	Rayshade license
-LICENSE_FILE=	${WRKSRC}/Doc/Copyright
-LICENSE_PERMS=	dist-mirror no-dist-sell pkg-mirror no-pkg-sell auto-accept
-
-DEPRECATED=	Defunct upstream with last release in 1992
-EXPIRATION_DATE=	2024-02-10
-
-BUILD_DEPENDS=	${LOCALBASE}/lib/librle.a:graphics/urt
-
-HAS_CONFIGURE=	yes
-CONFIGURE_SCRIPT=	Configure
-
-ALL_TARGET=	# empty
-
-WRKSRC=		${WRKDIR}/${PORTNAME}.${PORTVERSION:R}
-
-PLIST_FILES=	bin/rayshade
-PORTDOCS=	*
-PORTEXAMPLES=	*
-
-OPTIONS_DEFINE=	DOCS EXAMPLES
-
-DOCS_DISTFILES=	guide.ps.Z
-
-.include <bsd.port.options.mk>
-
-.if defined(BATCH) || defined(PACKAGE_BUILDING)
-CONFIGURE_ARGS=	< ${WRKDIR}/config.ans
-.endif
-
-.include <bsd.port.pre.mk>
-
-.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
-CFLAGS+=	-Wno-error=int-conversion
-.endif
-
-pre-configure:
-	@${SED} -e \
-		"s,@CFLAGS@,${CFLAGS},g ; \
-		 s,@CC@,${CC},g ; \
-		 s,@LOCALBASE@,${LOCALBASE},g ; \
-		 s,@PREFIX@,${PREFIX},g" \
-		< ${FILESDIR}/config.ans > ${WRKDIR}/config.ans
-
-do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/rayshade/rayshade \
-		${STAGEDIR}${PREFIX}/bin
-
-do-install-DOCS-on:
-	@${MKDIR} ${STAGEDIR}${DOCSDIR}
-	${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/guide.ps.Z \
-		${STAGEDIR}${DOCSDIR}
-
-do-install-EXAMPLES-on:
-	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
-	${INSTALL_DATA} ${WRKSRC}/Examples/* ${STAGEDIR}${EXAMPLESDIR}
-
-.include <bsd.port.post.mk>
diff --git a/graphics/rayshade/distinfo b/graphics/rayshade/distinfo
deleted file mode 100644
index 5906d51c9e7f..000000000000
--- a/graphics/rayshade/distinfo
+++ /dev/null
@@ -1,4 +0,0 @@
-SHA256 (rayshade/rayshade.4.0.6.tar.Z) = 62dec71e56b69f01c31bf6e4afcc876016a34726afd0a58d1cda32a1f0e1a842
-SIZE (rayshade/rayshade.4.0.6.tar.Z) = 369527
-SHA256 (rayshade/guide.ps.Z) = 47e3cb8c368d319bb3d91403a471249fdc894dcecebbc4ac1f619a6e73affb08
-SIZE (rayshade/guide.ps.Z) = 223707
diff --git a/graphics/rayshade/files/config.ans b/graphics/rayshade/files/config.ans
deleted file mode 100644
index 3c4ede327502..000000000000
--- a/graphics/rayshade/files/config.ans
+++ /dev/null
@@ -1,18 +0,0 @@
-
-
--lm
-
-
-@CC@
-none
-@CFLAGS@
-
-@LOCALBASE@/include
-@LOCALBASE@/lib/librle.a
-
-
-@PREFIX@/bin
-/usr/bin/mkdep
-yacc
-
-y
diff --git a/graphics/rayshade/files/patch-Configure b/graphics/rayshade/files/patch-Configure
deleted file mode 100644
index d7820200a385..000000000000
--- a/graphics/rayshade/files/patch-Configure
+++ /dev/null
@@ -1,52 +0,0 @@
---- Configure.orig	1992-02-10 03:04:23 UTC
-+++ Configure
-@@ -28,10 +28,11 @@ PATH=$PATH:'/sys5.3/bin:/sys5.3/usr/bin /bsd4.3/bin /b
- PATH=$PATH:'/bsd4.3/usr/bin:/usr/bsd'
- export PATH || (echo "OOPS, this isn't sh.  Desperation time.  I will feed myself to sh."; sh $0; kill $$)
- 
--if test ! -t 0; then
--    echo "Say 'sh Configure', not 'sh <Configure'"
--    exit 1
--fi
-+#FreeBSD's ports don't want to be interactive
-+#if test ! -t 0; then
-+#    echo "Say 'sh Configure', not 'sh <Configure'"
-+#    exit 1
-+#fi
- 
- (alias) >/dev/null 2>&1 && \
-     echo "(I see you are using the Korn shell.  Some ksh's blow up on Configure," && \
-@@ -660,6 +661,7 @@ case "$libs" in
-     ;;
- esac
- set /usr/ccs/lib/libc.so
-+test -f $1 || set /usr/lib/libc.a
- test -f $1 || set /usr/lib/libc.so
- test -f $1 || set /usr/lib/libc.so.[0-9]*
- eval set \$$#
-@@ -872,7 +874,7 @@ $eunicefix filexp
- : determine where manual pages are on this system
- echo " "
- case "$sysman" in
--	'') sysman=`loc . /usr/man/man1 /usr/man/man1 /usr/man/mann /usr/man/manl /usr/man/local/man1 /usr/man/u_man/man1 /usr/share/man/man1 /usr/catman/u_man/man1 /usr/man/l_man/man1 /usr/local/man/u_man/man1 /usr/local/man/l_man/man1 /usr/man/man.L`
-+	'') sysman=`loc . /usr/local/man/man1 /usr/man/man1 /usr/man/mann /usr/man/manl /usr/man/local/man1 /usr/man/u_man/man1 /usr/share/man/man1 /usr/catman/u_man/man1 /usr/man/l_man/man1 /usr/local/man/u_man/man1 /usr/local/man/l_man/man1 /usr/man/man.L`
-     ;;
- esac
- if test -d "$sysman"; then
-@@ -1418,14 +1420,8 @@ if $contains '^index$' libc.list >/dev/null 2>&1 ; the
- 	if $contains '^strchr$' libc.list >/dev/null 2>&1 ; then
- 		if $contains strchr "$strings" >/dev/null 2>&1 ; then
- 			if $contains index "$strings" >/dev/null 2>&1 ; then
--				echo "Your system has both index() and strchr().  Shall I use"
--				rp="index() rather than strchr()? [$dflt]"
--				$echo $n "$rp $c"
--				. myread
--				case "$ans" in
--					n*) d_index="$define" ;;
--					*)  d_index="$undef" ;;
--				esac
-+				echo "Your system has both index() and strchr(). I use index() instead."
-+				d_index="$define"
- 			else
- 				d_index="$define"
- 				echo "strchr() found."
diff --git a/graphics/rayshade/files/patch-etc__rsconvert__lex.l b/graphics/rayshade/files/patch-etc__rsconvert__lex.l
deleted file mode 100644
index 319a00ab0bf7..000000000000
--- a/graphics/rayshade/files/patch-etc__rsconvert__lex.l
+++ /dev/null
@@ -1,19 +0,0 @@
---- etc/rsconvert/lex.l.orig	1992-02-10 03:03:54 UTC
-+++ etc/rsconvert/lex.l
-@@ -22,6 +22,7 @@
- #include "libcommon/common.h"
- #include "y.tab.h"
- %}
-+%option yylineno
- alpha	[a-zA-Z]
- special	[\.\_-]
- digit	[0-9]
-@@ -113,7 +114,7 @@ skipcomments()
- 		if ((c = input()) == '/') {
- 			WriteChar(c);
- 			WriteNewline();
--			return;
-+			return FALSE;
- 		}
- 		unput(c);
- 	}
diff --git a/graphics/rayshade/files/patch-etc__rsconvert__yacc.y b/graphics/rayshade/files/patch-etc__rsconvert__yacc.y
deleted file mode 100644
index dc0847d28abf..000000000000
--- a/graphics/rayshade/files/patch-etc__rsconvert__yacc.y
+++ /dev/null
@@ -1,10 +0,0 @@
---- etc/rsconvert/yacc.y.orig	1992-02-10 03:04:17 UTC
-+++ etc/rsconvert/yacc.y
-@@ -14,6 +14,7 @@
- /* $Id: yacc.y,v 4.0.1.3 92/02/07 11:05:21 cek Exp Locker: cek $ */
- %{
- #include <stdio.h>
-+#include <stdlib.h>
- #include "libcommon/common.h"
- 
- #define NEWLINE()	WriteNewline()
diff --git a/graphics/rayshade/files/patch-libray_Makefile b/graphics/rayshade/files/patch-libray_Makefile
deleted file mode 100644
index 9345516938d6..000000000000
--- a/graphics/rayshade/files/patch-libray_Makefile
+++ /dev/null
@@ -1,15 +0,0 @@
-On really fast machines some of the .o files aren't being added to
-libray.a because they are generated so fast that make(1) thinks the
-library is up-to-date.  Marvel at the horrific hack below.
-
---- libray/Makefile.orig	1992-02-10 03:03:05 UTC
-+++ libray/Makefile
-@@ -12,6 +12,8 @@ default:
- 	for i in $(STUFF); do \
- 		(cd $$i && $(MAKE)); \
- 	done
-+	rm -f libray.a
-+	ar cur libray.a `find . -name '*.o'`
- 
- #
- # Have to keep clean/depend separete so
diff --git a/graphics/rayshade/files/patch-libray__libtext__texture.c b/graphics/rayshade/files/patch-libray__libtext__texture.c
deleted file mode 100644
index 17d6cb52d8cc..000000000000
--- a/graphics/rayshade/files/patch-libray__libtext__texture.c
+++ /dev/null
@@ -1,11 +0,0 @@
---- libray/libtext/texture.c.orig	1992-02-10 03:04:02 UTC
-+++ libray/libtext/texture.c
-@@ -162,7 +162,7 @@ Float *u, *v;
- 	*u = ptmp.x;
- 	*v = ptmp.y;
- 	if (dpdu == (Vector *)NULL || dpdv == (Vector *)NULL)
--		return;
-+		return FALSE;
- 	/*
- 	 * Here's the ugly part.
- 	 * Build initial UVN-->XYZ matrix...
diff --git a/graphics/rayshade/files/patch-libray_liblight_extended.c b/graphics/rayshade/files/patch-libray_liblight_extended.c
deleted file mode 100644
index 367137f6af9e..000000000000
--- a/graphics/rayshade/files/patch-libray_liblight_extended.c
+++ /dev/null
@@ -1,11 +0,0 @@
---- libray/liblight/extended.c.orig	1992-02-10 03:03:43 UTC
-+++ libray/liblight/extended.c
-@@ -54,7 +54,7 @@ ExtendedMethods()
- /*
-  * Compute intensity ('color') of extended light source 'lp' from 'pos'.
-  */
--static int
-+int
- ExtendedIntens(lp, lcolor, cache, ray, dist, noshadow, color)
- Extended *lp;
- Color *lcolor, *color;
diff --git a/graphics/rayshade/files/patch-libray_libobj_hf.c b/graphics/rayshade/files/patch-libray_libobj_hf.c
deleted file mode 100644
index f313c3c73eed..000000000000
--- a/graphics/rayshade/files/patch-libray_libobj_hf.c
+++ /dev/null
@@ -1,11 +0,0 @@
---- libray/libobj/hf.c.orig	1992-02-10 03:04:18 UTC
-+++ libray/libobj/hf.c
-@@ -42,7 +42,7 @@ typedef struct {
- 	Vector cp, pDX, pDY;
- } Trav2D;
- 
--hfTri *CreateHfTriangle(), *GetQueuedTri();
-+static hfTri *CreateHfTriangle(), *GetQueuedTri();
- 
- unsigned long HFTests, HFHits;
- 
diff --git a/graphics/rayshade/files/patch-libray_libsurf_fog.c b/graphics/rayshade/files/patch-libray_libsurf_fog.c
deleted file mode 100644
index 9c27f68f617d..000000000000
--- a/graphics/rayshade/files/patch-libray_libsurf_fog.c
+++ /dev/null
@@ -1,10 +0,0 @@
---- libray/libsurf/fog.c.orig	1992-02-10 03:03:33 UTC
-+++ libray/libsurf/fog.c
-@@ -28,7 +28,6 @@ FogCreate(color, trans)
- Color *color, *trans;
- {
- 	Fog *fog;
--	static void ComputeFog();
- 
- 	fog = (Fog *)Malloc(sizeof(Fog));
- 
diff --git a/graphics/rayshade/files/patch-libray_libsurf_fogdeck.c b/graphics/rayshade/files/patch-libray_libsurf_fogdeck.c
deleted file mode 100644
index e65a5da47c72..000000000000
--- a/graphics/rayshade/files/patch-libray_libsurf_fogdeck.c
+++ /dev/null
@@ -1,10 +0,0 @@
---- libray/libsurf/fogdeck.c.orig	1992-02-10 03:03:45 UTC
-+++ libray/libsurf/fogdeck.c
-@@ -31,7 +31,6 @@ int octaves;
- Color *color, *trans;
- {
- 	Fogdeck *fogdeck;
--	static void ComputeFogdeck();
- 
- 	fogdeck = (Fogdeck *)Malloc(sizeof(Fogdeck));
- 
diff --git a/graphics/rayshade/files/patch-libshade__lex.l b/graphics/rayshade/files/patch-libshade__lex.l
deleted file mode 100644
index b2e0900d6f42..000000000000
--- a/graphics/rayshade/files/patch-libshade__lex.l
+++ /dev/null
@@ -1,19 +0,0 @@
---- libshade/lex.l.orig	1992-02-10 03:04:02 UTC
-+++ libshade/lex.l
-@@ -29,6 +29,7 @@
- #include "y.tab.h"
- extern char *strsave();
- %}
-+%option yylineno
- alpha	[a-zA-Z]
- special	[\.\_-]
- digit	[0-9]
-@@ -171,7 +172,7 @@ skipcomments()
- 		while (input() != '*')
- 			;
- 		if ((c = input()) == '/')
--			return;
-+			return FALSE;
- 		unput(c);
- 	}
- }
diff --git a/graphics/rayshade/files/patch-libshade__yacc.y b/graphics/rayshade/files/patch-libshade__yacc.y
deleted file mode 100644
index 1620b93f5c6f..000000000000
--- a/graphics/rayshade/files/patch-libshade__yacc.y
+++ /dev/null
@@ -1,11 +0,0 @@
---- libshade/yacc.y.orig	1992-02-10 03:04:21 UTC
-+++ libshade/yacc.y
-@@ -13,6 +13,8 @@
- /* for any purpose.  It is provided solely "as is".			   */
- /* $Id: yacc.y,v 4.0.1.4 92/01/10 16:29:55 cek Exp Locker: cek $ */
- %{
-+#include <stdlib.h>
-+#include <string.h>
- #include "rayshade.h"
- 
- #include "symtab.h"
diff --git a/graphics/rayshade/files/patch-raypaint_Makefile.SH b/graphics/rayshade/files/patch-raypaint_Makefile.SH
deleted file mode 100644
index bb73f3d6e54c..000000000000
--- a/graphics/rayshade/files/patch-raypaint_Makefile.SH
+++ /dev/null
@@ -1,16 +0,0 @@
---- raypaint/Makefile.SH.orig	1992-02-10 03:03:47 UTC
-+++ raypaint/Makefile.SH
-@@ -55,11 +55,11 @@ YFLAGS = -d
- 
- #
- # If using X11, use:
--#GRAPHICSLIB = -lX11
-+GRAPHICSLIB = -lX11
- 
- #
- # If you are using GL, use:
--GRAPHICSLIB = -lgl_s
-+#GRAPHICSLIB = -lgl_s
- 
- LIBRAY = $(LIBRAYDIR)/libray.a
- LIBSHADE = $(LIBSHADEDIR)/libshade.a
diff --git a/graphics/rayshade/pkg-descr b/graphics/rayshade/pkg-descr
deleted file mode 100644
index eaab43c8b11a..000000000000
--- a/graphics/rayshade/pkg-descr
+++ /dev/null
@@ -1,3 +0,0 @@
-Rayshade is a system for generating ray-traced images. Rayshade's main
-function is to read a multi-line ASCII file describing a scene to be
-rendered and produce a file containing the ray traced image.