git: af349ed90147 - main - cad/jspice3: Remove expired port

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Sun, 31 Dec 2023 00:07:15 UTC
The branch main has been updated by bofh:

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

commit af349ed90147260c18ca9d19e7c1a64acb8066b8
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-12-29 20:53:02 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-12-31 00:06:12 +0000

    cad/jspice3: Remove expired port
    
    2023-12-31 cad/jspice3: BROKEN for more than 2 years on all supported versions after the EOL of 12
---
 MOVED                                          |  1 +
 cad/Makefile                                   |  1 -
 cad/jspice3/Makefile                           | 74 --------------------------
 cad/jspice3/distinfo                           |  2 -
 cad/jspice3/files/patch-build                  | 26 ---------
 cad/jspice3/files/patch-conf_util_configure    | 15 ------
 cad/jspice3/files/patch-src_bin_help.c         | 27 ----------
 cad/jspice3/files/patch-src_bin_spiced.c       | 18 -------
 cad/jspice3/files/patch-src_lib_fte_misccoms.c | 11 ----
 cad/jspice3/files/patch-src_lib_fte_resource.c | 11 ----
 cad/jspice3/files/patch-src_lib_plot_x11.c     | 20 -------
 cad/jspice3/pkg-descr                          | 14 -----
 cad/jspice3/pkg-plist                          | 62 ---------------------
 13 files changed, 1 insertion(+), 281 deletions(-)

diff --git a/MOVED b/MOVED
index 376641e1326a..de5eafebdb57 100644
--- a/MOVED
+++ b/MOVED
@@ -8191,3 +8191,4 @@ databases/mysql-udf||2023-12-31|Has expired: Upstream last update was in 2007
 databases/mysqlwsrep57-server||2023-12-31|Depends on upstream EOL MySQL 5.7
 net-mgmt/glpi-plugins-fusioninventory-server||2023-12-31|Has expired: Requires php80 which is set to expire on 2023-11-26
 x11-fonts/fontmatrix||2023-12-31|Has expired: Depends on deprecated www/qt5-webkit
+cad/jspice3||2023-12-31|Has expired: BROKEN for more than 2 years on all supported versions after the EOL of 12
diff --git a/cad/Makefile b/cad/Makefile
index 84e61e892167..9a21e6a96a0e 100644
--- a/cad/Makefile
+++ b/cad/Makefile
@@ -55,7 +55,6 @@
     SUBDIR += impact
     SUBDIR += irsim
     SUBDIR += iverilog
-    SUBDIR += jspice3
     SUBDIR += k40-whisperer
     SUBDIR += kicad
     SUBDIR += kicad-devel
diff --git a/cad/jspice3/Makefile b/cad/jspice3/Makefile
deleted file mode 100644
index bf0fa3ced1c4..000000000000
--- a/cad/jspice3/Makefile
+++ /dev/null
@@ -1,74 +0,0 @@
-PORTNAME=	jspice3
-DISTVERSION=	2.5-110615
-CATEGORIES=	cad
-MASTER_SITES=	http://www.wrcad.com/ftp/pub/
-
-MAINTAINER=	ports@FreeBSD.org
-COMMENT=	Adaptation of the Berkeley Spice3f4 with superconductivity
-WWW=		http://www.wrcad.com/jspice3.html
-
-DEPRECATED=	BROKEN for more than 2 years on all supported versions after the EOL of 12
-EXPIRATION_DATE=	2023-12-31
-BROKEN_aarch64=		fails to install: jspice3: No such file or directory
-BROKEN_riscv64=		fails to install: jspice3: No such file or directory
-BROKEN_FreeBSD_13=	fails to install: jspice3: No such file or directory
-BROKEN_FreeBSD_14=	fails to install: jspice3: No such file or directory
-
-CONFLICTS=	spice
-
-OPTIONS_DEFINE=	X11 EXAMPLES
-OPTIONS_DEFAULT=	X11
-OPTIONS_SUB=		yes
-
-WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION:R}
-
-X11_USES=	xorg
-X11_USE=	XORG=x11,xaw,xt
-
-post-patch:
-	@${REINPLACE_CMD} -e \
-		'/^prefix/s|=.*|= ${PREFIX}| ; \
-		 /^SPICE_HOST/s|=.*|= localhost| ; \
-		 /^CC_OPT/s|=.*|= ${CFLAGS}|' \
-		${WRKSRC}/conf/unixconf/mkheader.0
-	@cd ${WRKSRC}/src && \
-		${REINPLACE_CMD} 's,va_copy,var_copy,g' include/cpextern.h \
-		lib/fte/options.c lib/cp/variable.c
-
-post-patch-X11-off:
-	@${REINPLACE_CMD} -e \
-		'/$$makeprog depend/s|^|#|' \
-		${WRKSRC}/build
-	@${REINPLACE_CMD} -e \
-		's|^LIBX|#LIBX| ; \
-		 s|-DWANT_X11||' \
-		${WRKSRC}/conf/unixconf/mkheader.0
-
-do-build:
-	(cd ${WRKSRC};${SETENV} ${MAKE_ENV} ${SH} build)
-
-do-install:
-	${MKDIR} ${STAGEDIR}${PREFIX}/lib/jspice3/helpdir \
-		${STAGEDIR}${PREFIX}/lib/jspice3/sced \
-		${STAGEDIR}${PREFIX}/lib/jspice3/scripts
-	(cd ${WRKSRC}/src/bin && ${INSTALL_PROGRAM} jspice3 nutmeg help \
-		multidec proc2mod spiced xeditor ${STAGEDIR}${PREFIX}/bin)
-	${INSTALL_DATA} ${WRKSRC}/lib/mfbcap ${WRKSRC}/lib/news \
-		${STAGEDIR}${PREFIX}/lib/jspice3
-	${INSTALL_DATA} ${WRKSRC}/lib/helpdir/* \
-		${STAGEDIR}${PREFIX}/lib/jspice3/helpdir
-	${INSTALL_DATA} ${WRKSRC}//lib/sced/* \
-		${STAGEDIR}${PREFIX}/lib/jspice3/sced
-	${INSTALL_DATA} ${WRKSRC}/lib/scripts/* \
-		${STAGEDIR}${PREFIX}/lib/jspice3/scripts
-do-install-EXAMPLES-on:
-	${MKDIR} ${STAGEDIR}${PREFIX}/share/examples/jspice3/cryocmos \
-		${STAGEDIR}${PREFIX}/share/examples/jspice3/josephson
-	${INSTALL_DATA} ${WRKSRC}/examples/*.* \
-		${STAGEDIR}${PREFIX}/share/examples/jspice3
-	${INSTALL_DATA} ${WRKSRC}/examples/cryocmos/* \
-		${STAGEDIR}${PREFIX}/share/examples/jspice3/cryocmos
-	${INSTALL_DATA} ${WRKSRC}/examples/josephson/* \
-		${STAGEDIR}${PREFIX}/share/examples/jspice3/josephson
-
-.include <bsd.port.mk>
diff --git a/cad/jspice3/distinfo b/cad/jspice3/distinfo
deleted file mode 100644
index 98a72eaed694..000000000000
--- a/cad/jspice3/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (jspice3-2.5-110615.tar.gz) = f40e23b2d5c554a5b7be7037fe41c6f179c33e07ab9da365d97c2b517dcd6af6
-SIZE (jspice3-2.5-110615.tar.gz) = 1145726
diff --git a/cad/jspice3/files/patch-build b/cad/jspice3/files/patch-build
deleted file mode 100644
index c6b9b0bc4505..000000000000
--- a/cad/jspice3/files/patch-build
+++ /dev/null
@@ -1,26 +0,0 @@
---- build.orig	2015-11-05 18:10:02 UTC
-+++ build
-@@ -51,7 +51,7 @@ if [ -f conf/util/configure ]; then
-     if [ `uname -s` = Darwin -a -d /opt/X11 ]; then
-         util/configure --x-includes=/opt/X11/include --x-libraries=/opt/X11/lib -srcdir .
-     else
--        util/configure -srcdir .
-+        util/configure --prefix=${PREFIX} --x-includes=${LOCALBASE}/include --x-libraries=${LOCALBASE}/lib -srcdir .
-     fi
- 
-     if  [ ! -f ../src/include/config.h ] || \
-@@ -102,8 +102,14 @@ if [ -f conf/mkheader ]; then
-         fi
-         echo Creating makefiles in the subdirectories...
-         $makeprog make
-+        if [ $? -ne 0 ]; then
-+		exit $?
-+	fi
-         echo ...done
-         $makeprog all 2> ../../errs
-+        if [ $? -ne 0 ]; then
-+		exit $?
-+	fi
-         echo done
-         echo Check the errs file for any problems.
-         echo To finish the installation, cd to src/bin, become root, and type
diff --git a/cad/jspice3/files/patch-conf_util_configure b/cad/jspice3/files/patch-conf_util_configure
deleted file mode 100644
index ba94f82853b7..000000000000
--- a/cad/jspice3/files/patch-conf_util_configure
+++ /dev/null
@@ -1,15 +0,0 @@
---- conf/util/configure.orig	2002-01-15 19:21:25 UTC
-+++ conf/util/configure
-@@ -805,11 +805,7 @@ else
- fi
- 
- 
--if test "$GCC" = yes; then
--    DEPEND_PROG="gcc -MM"
--else
--    DEPEND_PROG="cc -M"
--fi
-+DEPEND_PROG="cc -MM"
- 
- if test -x /usr/ucb/install; then
-     INSTALL="/usr/ucb/install"
diff --git a/cad/jspice3/files/patch-src_bin_help.c b/cad/jspice3/files/patch-src_bin_help.c
deleted file mode 100644
index 1ca588c6470c..000000000000
--- a/cad/jspice3/files/patch-src_bin_help.c
+++ /dev/null
@@ -1,27 +0,0 @@
---- src/bin/help.c.orig	2015-11-05 17:57:50 UTC
-+++ src/bin/help.c
-@@ -14,6 +14,7 @@ Authors: 1986 Wayne A. Christopher
- #include <pwd.h>
- #endif
- 
-+static char *hcopydev;
- #ifdef HAVE_X11
- 
- #include <X11/Intrinsic.h>
-@@ -22,7 +23,6 @@ Authors: 1986 Wayne A. Christopher
- Display *Xdisplay;
- static XtAppContext app_con;
- static Widget toplevel;
--static char *hcopydev;
- 
- static String fallback_resources[] = {
-     
-@@ -188,7 +188,7 @@ int t;
- {
-     if (!strcmp(n, kw_hcopydev)) {
-         strcpy(r, hcopydev);
--        return (True);
-+        return (1);
-     }
-     return (false);
- }
diff --git a/cad/jspice3/files/patch-src_bin_spiced.c b/cad/jspice3/files/patch-src_bin_spiced.c
deleted file mode 100644
index 7e391a1415b5..000000000000
--- a/cad/jspice3/files/patch-src_bin_spiced.c
+++ /dev/null
@@ -1,18 +0,0 @@
---- src/bin/spiced.c.orig	2015-11-05 17:58:45 UTC
-+++ src/bin/spiced.c
-@@ -16,12 +16,11 @@ Author: 1985 Wayne A. Christopher, U. C.
- 
- #include "spice.h"
- #include <stdio.h>
--#ifdef HAVE_STRINGS_H
--#include <strings.h>
--#else
- #include <string.h>
--#endif
- #include <errno.h>
-+#include <unistd.h>
-+#include <stdlib.h>
-+#include <ctype.h>
- #include <sys/types.h>
- 
- #ifdef HAVE_SOCKET
diff --git a/cad/jspice3/files/patch-src_lib_fte_misccoms.c b/cad/jspice3/files/patch-src_lib_fte_misccoms.c
deleted file mode 100644
index 3d355747d161..000000000000
--- a/cad/jspice3/files/patch-src_lib_fte_misccoms.c
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/lib/fte/misccoms.c.orig	2001-05-01 20:58:18 UTC
-+++ src/lib/fte/misccoms.c
-@@ -284,7 +284,7 @@ wordlist *wl;
-                                 pl->pl_title,
-                                 pl->pl_name);
-             }
--            (void) SCEDfgets(buf,BSIZE_SP,cp_in,zz);
-+            (void) SCEDfgets(buf, sizeof buf,cp_in,zz);
- 
-             if ((*buf == 'y') || (*buf == 'Y') || (*buf == '\n'))
-                 byemesg();
diff --git a/cad/jspice3/files/patch-src_lib_fte_resource.c b/cad/jspice3/files/patch-src_lib_fte_resource.c
deleted file mode 100644
index 71caa541fcd9..000000000000
--- a/cad/jspice3/files/patch-src_lib_fte_resource.c
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/lib/fte/resource.c.orig	1997-03-21 22:03:41 UTC
-+++ src/lib/fte/resource.c
-@@ -36,7 +36,7 @@ static struct timeb lasttime;
- #endif
- #endif
- #endif 
--static char *enddata;
-+char *enddata;
- static int origsec;
- static int origusec;
- static int lastsec;
diff --git a/cad/jspice3/files/patch-src_lib_plot_x11.c b/cad/jspice3/files/patch-src_lib_plot_x11.c
deleted file mode 100644
index 895f3483b1e8..000000000000
--- a/cad/jspice3/files/patch-src_lib_plot_x11.c
+++ /dev/null
@@ -1,20 +0,0 @@
---- src/lib/plot/x11.c.orig	2004-09-02 21:43:35 UTC
-+++ src/lib/plot/x11.c
-@@ -2205,7 +2205,7 @@ ScedESC()
- void
- com_setrdb(wl)
- 
--wordlist *wl;
-+void *wl;
- {
- /* be silent */
- }
-@@ -2213,7 +2213,7 @@ wordlist *wl;
- int
- PopUpErrMessage(fp)
- 
--File *fp;
-+void *fp;
- {
-     return (0);
- }
diff --git a/cad/jspice3/pkg-descr b/cad/jspice3/pkg-descr
deleted file mode 100644
index 3115ad0323af..000000000000
--- a/cad/jspice3/pkg-descr
+++ /dev/null
@@ -1,14 +0,0 @@
-Jspice3 is a circuit simulator developed to meet the needs of researchers
-working with superconducting Josephson junction circuits, yet the program
-has the flexibility and power to meet the needs of other technologies.
-
-Jspice3 is an adaptation of the Berkeley Spice3f4 program, with added
-features. One added feature is a built-in graphical input front end for
-schematic capture. While displayed, simulations can be run and data
-plotted through this graphical interface.
-
-While not as powerful or as pretty as the Xic graphical interface, it
-holds its own in functionality.
-
-A significantly enhanced output plotting capability is provided, and
-Jspice3 has enhanced script interpretation capability.
diff --git a/cad/jspice3/pkg-plist b/cad/jspice3/pkg-plist
deleted file mode 100644
index 3efbe1d92f21..000000000000
--- a/cad/jspice3/pkg-plist
+++ /dev/null
@@ -1,62 +0,0 @@
-bin/jspice3
-%%X11%%bin/help
-bin/nutmeg
-bin/proc2mod
-bin/multidec
-bin/spiced
-bin/xeditor
-lib/jspice3/mfbcap
-lib/jspice3/news
-lib/jspice3/helpdir/spicehlp.txt
-lib/jspice3/sced/device.lib
-lib/jspice3/sced/model.lib
-lib/jspice3/sced/sced.rc
-lib/jspice3/scripts/margins
-lib/jspice3/scripts/merit
-lib/jspice3/scripts/optimize
-lib/jspice3/scripts/setplot
-lib/jspice3/scripts/spinit
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/bjtnoise.cir
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/bsim1tst.cir
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/bsim2tst.cir
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/diffpair.cir
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/diodisto.cir
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ltra_1.cir
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ltra_2.cir
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ltra_3.cir
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/mixdisto.cir
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/mos6inv.cir
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/mosamp2.cir
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/mosmem.cir
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/process.mod
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/process.pro
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/pz2.cir
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/pzt.cir
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/rc.cir
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/rca3040.cir
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/resnoise.cir
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/rtlinv.cir
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/schmitt.cir
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/simplepz.cir
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/testc.cir
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/cryocmos/cryo_model.lib
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/cryocmos/nmos_test.sp
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/cryocmos/pmos_test.sp
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/cryocmos/ringosc_meas.dat
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/cryocmos/ringosc_test.out
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/cryocmos/ringosc_test.sp
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/josephson/ex8.cir
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/josephson/exjjintr.cir
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/josephson/exjjiv.cir
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/josephson/intr
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/josephson/jjcntr.cir
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/josephson/jjoprng
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/josephson/jtl
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/josephson/jtl1
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/josephson/mvtltest
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/josephson/shutop
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/josephson/shuttle.cir
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/josephson/shuttlea.cir
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/josephson/strange
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/josephson/thcntr
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/josephson/theta