git: 1f05ea9eaf7c - main - lang/J: Remove expired port:

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Tue, 21 Mar 2023 00:02:15 UTC
The branch main has been updated by bofh:

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

commit 1f05ea9eaf7cc8f1a8e32f5758f7bb50b76f34e8
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-03-20 23:38:01 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-03-21 00:01:43 +0000

    lang/J: Remove expired port:
    
    2023-03-21 lang/J: Broken since 2021
---
 MOVED                                              |   1 +
 lang/J/Makefile                                    |  57 --------
 lang/J/distinfo                                    |   3 -
 lang/J/files/jconsole.in                           |   3 -
 lang/J/files/patch-Makefile                        |  21 ---
 lang/J/files/patch-jlibrary_system_config_base.cfg |  21 ---
 ...-jlibrary_system_defs_hostdefs__freebsd__64.ijs | 128 -----------------
 ...h-jlibrary_system_defs_netdefs__freebsd__64.ijs | 134 ------------------
 lang/J/files/patch-jlibrary_system_main_regex.ijs  |  19 ---
 lang/J/files/patch-jlibrary_system_main_stdlib.ijs |  55 --------
 lang/J/files/patch-jsrc_jeload.c                   |  11 --
 lang/J/files/patch-jsrc_jversion.h                 |   8 --
 lang/J/files/patch-make_build__jconsole.sh         |  25 ----
 lang/J/files/patch-make_build__libj.sh             |  42 ------
 lang/J/files/patch-make_build__tsdll.sh            |  43 ------
 lang/J/files/patch-make_domake.sh                  |  11 --
 lang/J/files/patch-make_install.sh                 |  18 ---
 lang/J/files/patch-make_jvars.sh                   |  25 ----
 lang/J/files/patch-make_makefile                   |  11 --
 lang/J/files/patch-netdefs_netdefs.c               |  11 --
 lang/J/files/pkg-message.in                        |  15 --
 lang/J/files/profile.ijs.in                        |  53 -------
 lang/J/pkg-descr                                   |   3 -
 lang/J/pkg-plist                                   | 154 ---------------------
 lang/Makefile                                      |   1 -
 25 files changed, 1 insertion(+), 872 deletions(-)

diff --git a/MOVED b/MOVED
index 09d85af288b6..c7b615dc44dc 100644
--- a/MOVED
+++ b/MOVED
@@ -17811,3 +17811,4 @@ sysutils/ioc||2023-03-20|Has expired: Broken since 2021
 sysutils/jobd||2023-03-20|Has expired: Broken since 2021
 sysutils/geomWatch||2023-03-20|Has expired: Broken since 2021
 lang/visualworks||2023-03-20|Has expired: Broken since 2021
+lang/J||2023-03-20|Has expired: Broken since 2021
diff --git a/lang/J/Makefile b/lang/J/Makefile
deleted file mode 100644
index 11e59a9da285..000000000000
--- a/lang/J/Makefile
+++ /dev/null
@@ -1,57 +0,0 @@
-PORTNAME=	J
-PORTVERSION=	${JVERSION:S/^j//:S/-release//}
-DISTVERSIONPREFIX=	j
-DISTVERSIONSUFFIX=	-release
-PORTREVISION=	1
-PORTEPOCH=	1
-CATEGORIES=	lang math
-
-MAINTAINER=	sevenjp@gmail.com
-COMMENT=	J programming language
-WWW=		https://www.jsoftware.com/
-
-LICENSE=	GPLv3
-LICENSE_FILE=	${WRKDIR}/jsource-${JVERSION}/license.txt
-
-BROKEN=		does not build
-DEPRECATED=	Broken since 2021
-EXPIRATION_DATE=	2023-03-21
-
-ONLY_FOR_ARCHS=	amd64
-ONLY_FOR_ARCHS_REASON=	not built or tested on other architectures; i386 needs hostdefs and netdefs files to be generated
-
-BUILD_DEPENDS=	bash:shells/bash
-LIB_DEPENDS=	libpcre2-8.so:devel/pcre2 \
-		libsqlite3.so:databases/sqlite3
-
-USES+=		libedit gmake shebangfix uidfix
-
-SHEBANG_GLOB=	*.sh
-
-SUB_FILES=	jconsole profile.ijs
-
-USE_GITHUB=	yes
-GH_ACCOUNT=	jsoftware
-GH_PROJECT=	jsource
-
-# J is released with ports-unfriendly versioning
-JVERSION=	j807-release
-
-BIN_FILES=	jconsole
-LIB_FILES=	libj.so libtsdll.so
-
-# J wants to install jconsole, also provided by openjdk
-CONFLICTS_INSTALL=	openjdk[0-9]*
-
-do-install:
-	${MKDIR} ${STAGEDIR}${PREFIX}/lib/j/bin
-	${MKDIR} ${STAGEDIR}${PREFIX}/share/j/system
-	${MKDIR} ${STAGEDIR}${PREFIX}/share/j/addons
-	${INSTALL_PROGRAM} ${BIN_FILES:C!^!${WRKDIR}/jbld/j64/bin/!} ${STAGEDIR}${PREFIX}/lib/j/bin/
-	${INSTALL_LIB} ${LIB_FILES:C!^!${WRKDIR}/jbld/j64/bin/!} ${STAGEDIR}${PREFIX}/lib/j/bin # Required by the J runtime
-	${INSTALL_DATA} ${WRKDIR}/profile.ijs ${STAGEDIR}${PREFIX}/share/j/
-	${INSTALL_SCRIPT} ${WRKDIR}/jconsole ${STAGEDIR}${PREFIX}/bin/
-	(cd ${WRKDIR}/jbld/j64/system && ${COPYTREE_SHARE} \* ${STAGEDIR}${PREFIX}/share/j/system)
-	(cd ${WRKDIR}/jbld/j64/addons && ${COPYTREE_SHARE} \* ${STAGEDIR}${PREFIX}/share/j/addons)
-
-.include <bsd.port.mk>
diff --git a/lang/J/distinfo b/lang/J/distinfo
deleted file mode 100644
index 5b21d640aab7..000000000000
--- a/lang/J/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-TIMESTAMP = 1546772563
-SHA256 (jsoftware-jsource-j807-release_GH0.tar.gz) = 324ff0b046c9f7f24f18a72fa8a4253ad54c99a48c397fd2c724392f5e097d7f
-SIZE (jsoftware-jsource-j807-release_GH0.tar.gz) = 2398318
diff --git a/lang/J/files/jconsole.in b/lang/J/files/jconsole.in
deleted file mode 100644
index f1ce5aa2f6f5..000000000000
--- a/lang/J/files/jconsole.in
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/sh
-
-exec %%LOCALBASE%%/lib/j/bin/jconsole -jprofile %%LOCALBASE%%/share/j/profile.ijs
diff --git a/lang/J/files/patch-Makefile b/lang/J/files/patch-Makefile
deleted file mode 100644
index 51baac860247..000000000000
--- a/lang/J/files/patch-Makefile
+++ /dev/null
@@ -1,21 +0,0 @@
---- Makefile.orig	2018-04-09 18:07:38 UTC
-+++ Makefile
-@@ -0,0 +1,18 @@
-+.PHONY: all
-+all: make-${ARCH}
-+
-+.PHONY: make-amd64
-+make-amd64: build-j64
-+
-+.PHONY: make-i386
-+make-i386: build-j32
-+
-+build-%:
-+	make/install.sh
-+	make/build_jconsole.sh $*
-+	make/build_libj.sh $*
-+	make/build_tsdll.sh $*
-+
-+.PHONY: clean
-+clean:
-+	rm -rf ${jbld}
diff --git a/lang/J/files/patch-jlibrary_system_config_base.cfg b/lang/J/files/patch-jlibrary_system_config_base.cfg
deleted file mode 100644
index fc2f35366713..000000000000
--- a/lang/J/files/patch-jlibrary_system_config_base.cfg
+++ /dev/null
@@ -1,21 +0,0 @@
---- jlibrary/system/config/base.cfg.orig	2019-01-06 11:06:00 UTC
-+++ jlibrary/system/config/base.cfg
-@@ -90,6 +90,18 @@ case. 'Linux' do.
-   XDiff=: ''
-   Editor=: ''
-   Editor_nox=: ''
-+case. 'FreeBSD' do.
-+  BoxForm=: 0
-+  Browser=: ''
-+  Browser_nox=: ''
-+  EPSReader=: ''
-+  ImageViewer=: ''
-+  ImageViewer_nox=: ''
-+  PDFReader=: ''
-+  PDFReader_nox=: ''
-+  XDiff=: ''
-+  Editor=: ''
-+  Editor_nox=: ''  
- case. 'Win' do.
-   BoxForm=: 1
-   Browser=: ''
diff --git a/lang/J/files/patch-jlibrary_system_defs_hostdefs__freebsd__64.ijs b/lang/J/files/patch-jlibrary_system_defs_hostdefs__freebsd__64.ijs
deleted file mode 100644
index 679e2bd7e5ca..000000000000
--- a/lang/J/files/patch-jlibrary_system_defs_hostdefs__freebsd__64.ijs
+++ /dev/null
@@ -1,128 +0,0 @@
---- jlibrary/system/defs/hostdefs_freebsd_64.ijs.orig	2018-02-22 19:12:35 UTC
-+++ jlibrary/system/defs/hostdefs_freebsd_64.ijs
-@@ -0,0 +1,125 @@
-+NB. do not edit -- created by sym2ijs
-+
-+cocurrent <'jdefs'
-+
-+F_OK=: 0
-+R_OK=: 4
-+W_OK=: 2
-+X_OK=: 1
-+STDIN_FILENO=: 0
-+STDOUT_FILENO=: 1
-+STDERR_FILENO=: 2
-+SEEK_CUR=: 1
-+SEEK_END=: 2
-+SEEK_SET=: 0
-+
-+O_APPEND=: 8
-+O_CREAT=: 512
-+O_EXCL=: 2048
-+O_RDONLY=: 0
-+O_RDWR=: 2
-+O_TRUNC=: 1024
-+O_WRONLY=: 1
-+
-+O_ACCMODE=: 3
-+O_NOCTTY=: 32768
-+O_NONBLOCK=: 4
-+FD_CLOEXEC=: 1
-+F_DUPFD=: 0
-+F_GETFD=: 1
-+F_SETFD=: 2
-+F_GETFL=: 3
-+F_SETFL=: 4
-+F_SETLK=: 12
-+F_SETLKW=: 13
-+F_GETLK=: 11
-+F_UNLCK=: 2
-+F_WRLCK=: 3
-+flock_sz=: 32
-+l_len_off=: 8
-+l_len_sz=: 8
-+l_pid_off=: 16
-+l_pid_sz=: 4
-+l_start_off=: 0
-+l_start_sz=: 8
-+l_type_off=: 20
-+l_type_sz=: 2
-+l_whence_off=: 22
-+l_whence_sz=: 2
-+
-+PROT_READ=: 1
-+PROT_WRITE=: 2
-+PROT_EXEC=: 4
-+PROT_NONE=: 0
-+MAP_SHARED=: 1
-+MAP_PRIVATE=: 2
-+MAP_FIXED=: 16
-+
-+REG_EXTENDED=: 1
-+REG_ICASE=: 2
-+REG_NOSUB=: 4
-+REG_NEWLINE=: 8
-+
-+regex_t_sz=: 32
-+re_nsub_off=: 8
-+re_nsub_sz=: 8
-+regmatch_t_sz=: 16
-+rm_so_off=: 0
-+rm_so_sz=: 8
-+rm_eo_off=: 8
-+rm_eo_sz=: 8
-+
-+
-+fd_set_sz=: 128
-+fds_bits_off=: 0
-+fds_bits_sz=: 128
-+FD_SETSIZE=: 1024
-+timeval_sz=: 16
-+tv_sec_off=: 0
-+tv_sec_sz=: 8
-+tv_usec_off=: 8
-+tv_usec_sz=: 8
-+
-+E2BIG=: 7
-+EFAULT=: 14
-+ENFILE=: 23
-+ENOTTY=: 25
-+EACCES=: 13
-+EFBIG=: 27
-+ENODEV=: 19
-+ENXIO=: 6
-+EAGAIN=: 35
-+ENOENT=: 2
-+EPERM=: 1
-+EBADF=: 9
-+EINTR=: 4
-+ENOEXEC=: 8
-+EPIPE=: 32
-+EINVAL=: 22
-+ENOLCK=: 77
-+ERANGE=: 34
-+EBUSY=: 16
-+EIO=: 5
-+ENOMEM=: 12
-+EROFS=: 30
-+EISDIR=: 21
-+ENOSPC=: 28
-+ESPIPE=: 29
-+ECHILD=: 10
-+EMFILE=: 24
-+ENOSYS=: 78
-+ESRCH=: 3
-+EDEADLK=: 11
-+EMLINK=: 31
-+ENOTDIR=: 20
-+EDOM=: 33
-+ENOTEMPTY=: 66
-+EXDEV=: 18
-+EEXIST=: 17
-+ENAMETOOLONG=: 63
-+
-+EINPROGRESS=: 36
-+ECANCELED=: 85
-+ETIMEDOUT=: 60
-+EMSGSIZE=: 40
-+ENOTSUP=: 45
diff --git a/lang/J/files/patch-jlibrary_system_defs_netdefs__freebsd__64.ijs b/lang/J/files/patch-jlibrary_system_defs_netdefs__freebsd__64.ijs
deleted file mode 100644
index 42011dfe68d4..000000000000
--- a/lang/J/files/patch-jlibrary_system_defs_netdefs__freebsd__64.ijs
+++ /dev/null
@@ -1,134 +0,0 @@
---- jlibrary/system/defs/netdefs_freebsd_64.ijs.orig	2018-02-22 19:12:35 UTC
-+++ jlibrary/system/defs/netdefs_freebsd_64.ijs
-@@ -0,0 +1,131 @@
-+NB. do not edit -- created by sym2ijs
-+
-+cocurrent <'jdefs'
-+
-+FIONBIO=: -2147195266
-+FIONREAD=: 1074030207
-+FD_SETSIZE=: 1024
-+
-+sockaddr_sz=: 16
-+sa_family_off=: 1
-+sa_family_sz=: 1
-+sa_data_off=: 2
-+sa_data_sz=: 14
-+
-+sockaddr_in_sz=: 16
-+sin_family_off=: 1
-+sin_family_sz=: 1
-+sin_port_off=: 2
-+sin_port_sz=: 2
-+sin_addr_off=: 4
-+sin_addr_sz=: 4
-+
-+in_addr_sz=: 4
-+s_addr_off=: 0
-+s_addr_sz=: 4
-+
-+hostent_sz=: 32
-+h_name_off=: 0
-+h_name_sz=: 8
-+h_aliases_off=: 8
-+h_aliases_sz=: 8
-+h_addrtype_off=: 16
-+h_addrtype_sz=: 4
-+h_length_off=: 20
-+h_length_sz=: 4
-+h_addr_list_off=: 24
-+h_addr_list_sz=: 8
-+
-+
-+SIOCATMARK=: 1074033415
-+
-+
-+IPPROTO_IP=: 0
-+IPPROTO_ICMP=: 1
-+IPPROTO_IGMP=: 2
-+IPPROTO_TCP=: 6
-+IPPROTO_PUP=: 12
-+IPPROTO_UDP=: 17
-+IPPROTO_IDP=: 22
-+IPPROTO_RAW=: 255
-+IPPROTO_MAX=: 256
-+
-+
-+INADDR_ANY=: 0
-+INADDR_LOOPBACK=: 2130706433
-+INADDR_BROADCAST=: 4294967295
-+INADDR_NONE=: 4294967295
-+
-+INADDR_UNSPEC_GROUP=: -536870912
-+INADDR_ALLHOSTS_GROUP=: -536870911
-+INADDR_MAX_LOCAL_GROUP=: -536870657
-+IN_LOOPBACKNET=: 127
-+
-+SOCK_STREAM=: 1
-+SOCK_DGRAM=: 2
-+SOCK_RAW=: 3
-+SOCK_RDM=: 4
-+SOCK_SEQPACKET=: 5
-+
-+SOL_SOCKET=: 65535
-+SO_DEBUG=: 1
-+SO_REUSEADDR=: 4
-+SO_KEEPALIVE=: 8
-+SO_DONTROUTE=: 16
-+SO_BROADCAST=: 32
-+SO_LINGER=: 128
-+SO_OOBINLINE=: 256
-+
-+SO_SNDBUF=: 4097
-+SO_RCVBUF=: 4098
-+SO_SNDLOWAT=: 4099
-+SO_RCVLOWAT=: 4100
-+SO_SNDTIMEO=: 4101
-+SO_RCVTIMEO=: 4102
-+SO_ERROR=: 4103
-+SO_TYPE=: 4104
-+
-+linger_sz=: 8
-+l_onoff_off=: 0
-+l_onoff_sz=: 4
-+l_linger_off=: 4
-+l_linger_sz=: 4
-+
-+AF_UNSPEC=: 0
-+AF_UNIX=: 1
-+AF_INET=: 2
-+AF_SNA=: 11
-+AF_DECnet=: 12
-+AF_APPLETALK=: 16
-+AF_IPX=: 23
-+AF_MAX=: 42
-+PF_UNSPEC=: 0
-+PF_UNIX=: 1
-+PF_INET=: 2
-+PF_SNA=: 11
-+PF_DECnet=: 12
-+PF_APPLETALK=: 16
-+PF_IPX=: 23
-+PF_MAX=: 42
-+
-+SOMAXCONN=: 128
-+MSG_OOB=: 1
-+MSG_PEEK=: 2
-+MSG_DONTROUTE=: 4
-+
-+msghdr_sz=: 48
-+msg_name_off=: 0
-+msg_name_sz=: 8
-+msg_namelen_off=: 8
-+msg_namelen_sz=: 4
-+msg_iov_off=: 16
-+msg_iov_sz=: 8
-+msg_iovlen_off=: 24
-+msg_iovlen_sz=: 4
-+msg_control_off=: 32
-+msg_control_sz=: 8
-+msg_controllen_off=: 40
-+msg_controllen_sz=: 4
-+msg_flags_off=: 44
-+msg_flags_sz=: 4
-+
diff --git a/lang/J/files/patch-jlibrary_system_main_regex.ijs b/lang/J/files/patch-jlibrary_system_main_regex.ijs
deleted file mode 100644
index 95bb4c9cfe75..000000000000
--- a/lang/J/files/patch-jlibrary_system_main_regex.ijs
+++ /dev/null
@@ -1,19 +0,0 @@
---- jlibrary/system/main/regex.ijs.orig	2019-01-06 11:11:14 UTC
-+++ jlibrary/system/main/regex.ijs
-@@ -179,6 +179,7 @@ select. UNAME
- case. 'Win' do. t=. 'jpcre2.dll'
- case. 'Darwin' do. t=. 'libjpcre2.dylib'
- case. 'Linux' do. t=. 'libjpcre2.so'
-+case. 'FreeBSD' do. t=. 'libjpcre2.so'
- case. 'Android' do. t=. 'libjpcre2.so'
- end.
- 
-@@ -191,6 +192,8 @@ NB. fall back one more time
- if. ('Android'-:UNAME) *. 0 = 1!:4 :: 0: <f do.
-   f=. (({.~i:&'/')LIBFILE),'/',t
- elseif. ('Linux'-:UNAME) *. (IFUNIX>'/'e.LIBFILE) *. 0 = 1!:4 :: 0: <f do.
-+  f=. 'libpcre2-8.so.0'
-+elseif. ('FreeBSD'-:UNAME) *. (IFUNIX>'/'e.LIBFILE) *. 0 = 1!:4 :: 0: <f do.
-   f=. 'libpcre2-8.so.0'
- elseif. 0 = 1!:4 :: 0: <f do.
-   f=. t
diff --git a/lang/J/files/patch-jlibrary_system_main_stdlib.ijs b/lang/J/files/patch-jlibrary_system_main_stdlib.ijs
deleted file mode 100644
index 1e8bfcb9a0bb..000000000000
--- a/lang/J/files/patch-jlibrary_system_main_stdlib.ijs
+++ /dev/null
@@ -1,55 +0,0 @@
---- jlibrary/system/main/stdlib.ijs.orig	2018-10-02 13:24:06 UTC
-+++ jlibrary/system/main/stdlib.ijs
-@@ -44,6 +44,7 @@ if. notdef 'FHS' do.
-   FHS=: IFUNIX>'/'e.LIBFILE
- end.
- 'libc.so.6 setlocale > x i *c'&(15!:0)^:(UNAME-:'Linux') 1;,'C'
-+'libc.so.7 setlocale > x i *c'&(15!:0)^:(UNAME-:'FreeBSD') 1;,'C'
- if. notdef 'IFRASPI' do.
-   if. UNAME -: 'Linux' do.
-     cpu=. 2!:0 'cat /proc/cpuinfo'
-@@ -106,6 +107,7 @@ if. (<'home') -.@e. {."1 SystemFolders do.
-   elseif. 'Android'-:UNAME do. t=. '/sdcard'
-   elseif. 'Darwin'-:UNAME do. t=. (0-:t){::'';~t=. 2!:5'HOME'
-   elseif. 'Linux'-:UNAME do. t=. (0-:t){::'';~t=. 2!:5'HOME'
-+  elseif. 'FreeBSD'-:UNAME do. t=. (0-:t){::'';~t=. 2!:5'HOME'
-   elseif. do. t=. ''
-   end.
-   if. (''-:t)+.((,'/')-:t)+.('/root'-:t)+.('/usr/'-:5{.t) do.
-@@ -120,6 +122,7 @@ if. (<'temp') -.@e. {."1 SystemFolders do.
-   elseif. 'Android'-:UNAME do. t=. '/sdcard'
-   elseif. 'Darwin'-:UNAME do. 1!:5 ::] <t=. '/tmp/',":2!:6''
-   elseif. 'Linux'-:UNAME do. 1!:5 ::] <t=. '/tmp/',":2!:6''
-+  elseif. 'FreeBSD'-:UNAME do. 1!:5 ::] <t=. '/tmp/',":2!:6''
-   elseif. do. t=. ''
-   end.
-   SystemFolders=: SystemFolders, 'temp';t
-@@ -132,14 +135,14 @@ end.
- 18!:4 <'z'
- 18!:4 <'z'
- UNXLIB=: ([: <;._1 ' ',]);._2 (0 : 0)
--libc.so.6 libc.so libc.dylib libc.dylib
--libz.so.1 libz.so libz.dylib libz.dylib
--libsqlite3.so.0 libsqlite.so libsqlite3.dylib libsqlite3.dylib
--libxml2.so.2 libxml2.so libxml2.dylib libxml2.dylib
-+libc.so.6 libc.so libc.so.7 libc.dylib libc.dylib
-+libz.so.1 libz.so libc.so.7 libz.dylib libz.dylib
-+libsqlite3.so.0 libsqlite.so libsqlite3.so.0 libsqlite3.dylib libsqlite3.dylib
-+libxml2.so.2 libxml2.so libxml2.so.2 libxml2.dylib libxml2.dylib
- )
- unxlib=: 3 : 0
- r=. (;: 'c z sqlite3') i. <,y
--c=. IFIOS + (;: 'Linux Android Darwin') i. <UNAME_z_
-+c=. IFIOS + (;: 'Linux Android FreeBSD Darwin') i. <UNAME_z_
- (<r,c) {:: UNXLIB_z_
- )
- 18!:4 <'z'
-@@ -1343,7 +1346,7 @@ require 'pacman'
- do_install_jpacman_ y
- )
- getqtbin=: 3 : 0
--if. (<UNAME) -.@e. 'Linux';'Darwin';'Win' do. return. end.
-+if. (<UNAME) -.@e. 'Linux';'Darwin';'Win';'FreeBSD' do. return. end.
- if. IFQT do.
-   smoutput 'must run from jconsole' return.
- end.
diff --git a/lang/J/files/patch-jsrc_jeload.c b/lang/J/files/patch-jsrc_jeload.c
deleted file mode 100644
index c8f812367f32..000000000000
--- a/lang/J/files/patch-jsrc_jeload.c
+++ /dev/null
@@ -1,11 +0,0 @@
---- jsrc/jeload.c.orig	2019-03-10 11:13:19 UTC
-+++ jsrc/jeload.c
-@@ -330,6 +330,8 @@ int jefirst(int type,char* arg)
- 	strcat(input,"[UNAME_z_=:'Win'");
- #elif defined(__MACH__)
- 	strcat(input,"[UNAME_z_=:'Darwin'");
-+#elif defined(__FreeBSD__)
-+	strcat(input,"[UNAME_z_=:'FreeBSD'");
- #elif !defined(ANDROID)
- 	strcat(input,"[UNAME_z_=:'Linux'");
- #endif
diff --git a/lang/J/files/patch-jsrc_jversion.h b/lang/J/files/patch-jsrc_jversion.h
deleted file mode 100644
index d1f39a3487b2..000000000000
--- a/lang/J/files/patch-jsrc_jversion.h
+++ /dev/null
@@ -1,8 +0,0 @@
---- jsrc/jversion.h.orig	2018-02-22 19:12:35 UTC
-+++ jsrc/jversion.h
-@@ -0,0 +1,5 @@
-+#define jversion   "806"
-+#define jplatform "freebsd"  // windows/linux/darwin/raspberry/android/...
-+#define jtype       "release"         // release,beta,... may include bug level such as beta-3
-+#define jlicense   "GPL3"
-+#define jbuilder   "unknown"  // website or email
diff --git a/lang/J/files/patch-make_build__jconsole.sh b/lang/J/files/patch-make_build__jconsole.sh
deleted file mode 100644
index ab90539c3117..000000000000
--- a/lang/J/files/patch-make_build__jconsole.sh
+++ /dev/null
@@ -1,25 +0,0 @@
---- make/build_jconsole.sh.orig	2019-01-06 17:19:19 UTC
-+++ make/build_jconsole.sh
-@@ -1,6 +1,6 @@
- #!/usr/local/bin/bash
- # $1 is j32 or j64
--cd ~
-+. make/jvars.sh
- 
- common=" -fPIC -O1 -Wextra -Wno-unused-parameter "
- 
-@@ -29,6 +29,14 @@ LINK=" -ledit -ldl -lncurses -m32 -mmacosx-version-min
- darwin_j64)
- COMPILE="$common -DREADLINE -mmacosx-version-min=10.5"
- LINK=" -ledit -ldl -lncurses -mmacosx-version-min=10.5 -o jconsole "
-+;;
-+freebsd_j32)
-+COMPILE="$common -m32 -DREADLINE"
-+LINK="-L${LOCALBASE}/lib -ledit -m32 -o jconsole "
-+;;
-+freebsd_j64)
-+COMPILE="$common -DREADLINE"
-+LINK="-L${LOCALBASE}/lib -ledit -o jconsole "
- ;;
- *)
- echo no case for those parameters
diff --git a/lang/J/files/patch-make_build__libj.sh b/lang/J/files/patch-make_build__libj.sh
deleted file mode 100644
index 460cdad2285c..000000000000
--- a/lang/J/files/patch-make_build__libj.sh
+++ /dev/null
@@ -1,42 +0,0 @@
---- make/build_libj.sh.orig	2019-03-10 15:39:26 UTC
-+++ make/build_libj.sh
-@@ -1,6 +1,6 @@
- #!/usr/local/bin/bash
- # $1 is j32 or j64
--cd ~
-+. make/jvars.sh
- 
- # gcc 5 vs 4 - killing off linux asm routines (overflow detection)
- # new fast code uses builtins not available in gcc 4
-@@ -14,7 +14,7 @@ if [ $USE_OPENMP -eq 1 ] ; then
- OPENMP=" -fopenmp "
- LDOPENMP=" -fopenmp "
- if [ "x$compiler" = x'gcc' ] ; then
--LDOPENMP32=" -l:libgomp.so.1 "    # gcc
-+LDOPENMP32=" -l:libgomp.so "    # gcc
- else
- LDOPENMP32=" -l:libomp.so.5 "     # clang
- fi
-@@ -92,6 +92,22 @@ TARGET=libj.dylib
- COMPILE="$darwin -mavx -mmacosx-version-min=10.5 -DC_AVX=1"
- LINK=" -dynamiclib -lm -ldl $LDOPENMP -mmacosx-version-min=10.5 -o libj.dylib"
- OBJS_FMA=" blis/gemm_int-fma.o "
-+;;
-+
-+freebsd_j32) # freebsd x86
-+TARGET=libj.so
-+# faster, but sse2 not available for 32-bit amd cpu
-+# sse does not support mfpmath=sse in 32-bit gcc
-+COMPILE="$common -m32 -msse2 -mfpmath=sse -DC_NOMULTINTRINSIC "
-+# slower, use 387 fpu and truncate extra precision
-+# COMPILE="$common -m32 -ffloat-store "
-+LINK=" -shared -Wl,-soname,libj.so -m32 -lm -ldl $LDOPENMP32 -o libj.so "
-+;;
-+
-+freebsd_j64) # freebsd amd64
-+TARGET=libj.so
-+COMPILE="$common -DC_NOMULTINTRINSIC "
-+LINK=" -shared -Wl,-soname,libj.so -lm -ldl $LDOPENMP -o libj.so "
- ;;
- 
- *)
diff --git a/lang/J/files/patch-make_build__tsdll.sh b/lang/J/files/patch-make_build__tsdll.sh
deleted file mode 100644
index 0544b4b2e7be..000000000000
--- a/lang/J/files/patch-make_build__tsdll.sh
+++ /dev/null
@@ -1,43 +0,0 @@
---- make/build_tsdll.sh.orig	2019-03-10 15:32:23 UTC
-+++ make/build_tsdll.sh
-@@ -1,9 +1,22 @@
- #!/usr/local/bin/bash
- # $1 is j32 or j64
--cd ~
-+. make/jvars.sh
- 
-+compiler=${CC:0:3}
-+
- common=" -fPIC -O1 -Werror -Wextra -Wno-unused-parameter"
- 
-+if [ "x$compiler" = x'gcc' ] ; then
-+OVER_GCC_VER7=$(echo `$CC -dumpversion | cut -f1 -d.` \>= 7 | bc)
-+if [ $OVER_GCC_VER7 -eq 1 ] ; then
-+common="$common -Wno-implicit-fallthrough"
-+fi
-+OVER_GCC_VER8=$(echo `$CC -dumpversion | cut -f1 -d.` \>= 8 | bc)
-+if [ $OVER_GCC_VER8 -eq 1 ] ; then
-+common="$common -Wno-cast-function-type"
-+fi
-+fi
-+
- case $jplatform\_$1 in
- 
- linux_j32)
-@@ -35,6 +48,16 @@ darwin_j64)
- TARGET=libtsdll.dylib
- COMPILE="$common "
- LINK=" -dynamiclib -o libtsdll.dylib "
-+;;
-+freebsd_j32)
-+TARGET=libtsdll.so
-+COMPILE="$common -m32 "
-+LINK=" -shared -Wl,-soname,libtsdll.so  -m32 -o libtsdll.so "
-+;;
-+freebsd_j64)
-+TARGET=libtsdll.so
-+COMPILE="$common "
-+LINK=" -shared -Wl,-soname,libtsdll.so -o libtsdll.so "
- ;;
- *)
- echo no case for those parameters
diff --git a/lang/J/files/patch-make_domake.sh b/lang/J/files/patch-make_domake.sh
deleted file mode 100644
index 6b77cd9186d4..000000000000
--- a/lang/J/files/patch-make_domake.sh
+++ /dev/null
@@ -1,11 +0,0 @@
---- make/domake.sh.orig	2019-01-06 11:36:39 UTC
-+++ make/domake.sh
-@@ -15,7 +15,7 @@ if [ $1 = "j64nonavx" ] ; then
-  avx=-nonavx
- fi 
- 
--echo "building  $jbld/$targ/bin/$TARGET $avx"
-+gmake -f $jmake/makefile
- echo "output in $jbld/$targ/bin/build_$TARGET$avx.txt"
- make -f $jmake/makefile >$jbld/$targ/bin/build_$TARGET$avx.txt 2>&1
- echo `egrep -w 'warning|error|note' $jbld/$targ/bin/build_$TARGET$avx.txt`
diff --git a/lang/J/files/patch-make_install.sh b/lang/J/files/patch-make_install.sh
deleted file mode 100644
index 6f6a17501ee4..000000000000
--- a/lang/J/files/patch-make_install.sh
+++ /dev/null
@@ -1,18 +0,0 @@
---- make/install.sh.orig	2018-02-24 19:49:42 UTC
-+++ make/install.sh
-@@ -1,14 +1,7 @@
- #!/usr/local/bin/bash
- # install jbld folders - new install or a reinstall
- 
--cd ~
--if [ ! -f jvars.sh ]; then
-- echo "~/jvars.sh must exist"
-- exit 1
--fi
--
--cd ~
--. jvars.sh
-+. make/jvars.sh
- 
- rm -f -r $jbld
- mkdir $jbld
diff --git a/lang/J/files/patch-make_jvars.sh b/lang/J/files/patch-make_jvars.sh
deleted file mode 100644
index 946183ac9f82..000000000000
--- a/lang/J/files/patch-make_jvars.sh
+++ /dev/null
@@ -1,25 +0,0 @@
---- make/jvars.sh.orig	2019-03-10 15:55:44 UTC
-+++ make/jvars.sh
-@@ -2,7 +2,7 @@
- # source shell script (read with . jvars.sh) so stuff is easy to find
- 
- # edit following if your install is not standard 
--jgit=~/git/jsource # git jsource folder
-+jgit=~/jsource-j807-release # git jsource folder
- jbld=~/jbld        # test libraries and binaries will be put here
- 
- # platform and shared library suffix
-@@ -10,7 +10,12 @@ jplatform=`uname|tr '[:upper:]' '[:lower:]'`
- jsuffix=so
- if [ $jplatform = "darwin" ] ; then jsuffix=dylib ; fi
- 
--CC=clang # compiler
-+USE_OPENMP="${USE_OPENMP:=0}"
-+if [ $USE_OPENMP -eq 1 ] ; then
-+    CC=gcc8
-+else
-+    CC=clang # compiler
-+fi
- 
- # should not be necessary to edit after here
- tsu=$jgit/test/tsu.ijs
diff --git a/lang/J/files/patch-make_makefile b/lang/J/files/patch-make_makefile
deleted file mode 100644
index 5a618610997b..000000000000
--- a/lang/J/files/patch-make_makefile
+++ /dev/null
@@ -1,11 +0,0 @@
---- make/makefile.orig	2018-10-02 13:24:06 UTC
-+++ make/makefile
-@@ -3,7 +3,7 @@ vpath % $(jgit)/jsrc
- %.o: %.c
- 	$(CC) -c $(CFLAGS) $(CFLAGS_FMA) -o$@ $^
- 
--CFLAGS=$(COMPILE)
-+CFLAGS+=$(COMPILE)
- $(OBJS_FMA) : CFLAGS_FMA := -mfma 
- $(TARGET) : $(OBJS) $(OBJS_FMA)
- 	$(CC)  $(OBJS) $(OBJS_FMA) $(LINK)
diff --git a/lang/J/files/patch-netdefs_netdefs.c b/lang/J/files/patch-netdefs_netdefs.c
deleted file mode 100644
index 0e43838d1216..000000000000
--- a/lang/J/files/patch-netdefs_netdefs.c
+++ /dev/null
@@ -1,11 +0,0 @@
---- netdefs/netdefs.c.orig	2019-01-06 15:19:53 UTC
-+++ netdefs/netdefs.c
-@@ -152,7 +152,7 @@ int main(){
- 	printf ("msg_iov_sz=: " FMTI "\n",sizeof(((struct msghdr*)0)->msg_iov));
- 	printf ("msg_iovlen_off=: " FMTI "\n",offset(struct msghdr,msg_iovlen));
- 	printf ("msg_iovlen_sz=: " FMTI "\n",sizeof(((struct msghdr*)0)->msg_iovlen));
--#if defined(linux) || defined(Darwin)
-+#if defined(linux) || defined(Darwin) || defined(__FreeBSD__)
- 	printf ("msg_control_off=: " FMTI "\n",offset(struct msghdr,msg_control));
- 	printf ("msg_control_sz=: " FMTI "\n",sizeof(((struct msghdr*)0)->msg_control));
- 	printf ("msg_controllen_off=: " FMTI "\n",offset(struct msghdr,msg_controllen));
diff --git a/lang/J/files/pkg-message.in b/lang/J/files/pkg-message.in
deleted file mode 100644
index ace73d6d84dd..000000000000
--- a/lang/J/files/pkg-message.in
+++ /dev/null
@@ -1,15 +0,0 @@
-[
-{ type: install
-  message: <<EOM
-JE and jconsole have been installed in %%LOCALBASE%%/lib/j/bin.
-
-Addons are installed in %%LOCALBASE%%/share/j/addons and system files
-in %%LOCALBASE%%/share/j/system.
-
-This port installs ONLY the base system. In order to install
-additional addons, use the JAL, running jconsole as root:
-
-http://code.jsoftware.com/wiki/JAL/Package_Manager/jpkg
-EOM
-}
-]
diff --git a/lang/J/files/profile.ijs.in b/lang/J/files/profile.ijs.in
deleted file mode 100644
index da4a9a1a689c..000000000000
--- a/lang/J/files/profile.ijs.in
+++ /dev/null
@@ -1,53 +0,0 @@
-NB. J profile
-NB. JFE sets BINPATH_z_ and ARGV_z_
-NB. add your sentences in startup.ijs
-
-systype=. 9!:12''
-jpathsep_z_=: '/'&(('\' I.@:= ])})
-BINPATH_z_=: jpathsep BINPATH_z_
-
-NB. create SystemFolders
-bin=. BINPATH
-install=. (bin i: '/'){.bin
-fhs=. (FHS"_)^:(0=4!:0<'FHS')(5=systype)*.0=#1!:0<BINPATH,'%%LOCALBASE%%/share/j/system/util/boot.ijs'
-install=. (0&~:fhs){::install;'%%LOCALBASE%%/share/j'
-install=. (INSTALLROOT"_)^:(0=4!:0<'INSTALLROOT') install
-addons=. install,'/addons'
-system=. install,'/system'
-tools=. install,'/tools'
-home=. >(systype-5){(2!:5'HOME');2!:5'USERPROFILE'
-home=. >(0-:home){home;,'/'
-isroot=. (0=#1!:0'/data') *. ('root'-:2!:5'USER') +. (<home) e. '/var/root';'/root';'';,'/'
-userx=. '/j',('64-'#~16={:$3!:3[2),'806-user'
-user=. home,userx
-user=. >isroot{user;install,'/user'
-home=. >isroot{home;install
-break=. user,'/break'
-config=. user,'/config'
-snap=. user,'/snap'
-temp=. user,'/temp'
-temp=. >isroot{temp;(*#1!:0'/tmp'){::'/tmp';~(0-:2!:5'TMPDIR'){::(2!:5'TMPDIR');temp
-ids=. ;:'addons bin break config home install snap system tools temp user'
-
-0!:0 :: ] <(({.~ i:&'/') jpathsep >{.4!:3''),'/profilex.ijs' NB. override
-0!:0 :: ] ^:(0=#1!:0 (({.~ i:&'/') jpathsep >{.4!:3''),'/startup_android.ijs') <home,>(systype-5){'/.jprofile.ijs';'/_jprofile.ijs' NB. override per user except for standalone script
-
-SystemFolders_j_=: ids,.jpathsep@".&.>ids
-
-md=. 3 : 0 NB. recursive makedir
-a=. jpathsep y,'/'
-if. ('root'-:2!:5'USER') +. ('//'-:2{.a)+.('/root/'-:6{.a)+.('/var/root/'-:10{.a)+.('/usr/'-:5{.a)+.('/tmp'-:a) do. return. end. NB. installed under / /root /usr
-if. -.#1!:0 }:a do.
-  for_n. I. a='/' do. 1!:5 :: [ <n{.a end.
-end.
-)
-
-NB. try to ensure user folders exist
-md user,'/projects'
-md break
-md config
-md snap
-md temp
-
-NB. boot up J and load startup.ijs if it exists
-0!:0 <jpathsep (4!:55 (;:'systype fhs isroot userx ids md'), ids)]system,'/util/boot.ijs'
diff --git a/lang/J/pkg-descr b/lang/J/pkg-descr
deleted file mode 100644
index 62dfa5e3fbaa..000000000000
--- a/lang/J/pkg-descr
+++ /dev/null
@@ -1,3 +0,0 @@
-J (J language) is a high-level, general-purpose, high-performance
-programming language. J is portable and runs on 32/64-bit
-Windows/Linux/Mac as well as iOS, Android, and other platforms.
diff --git a/lang/J/pkg-plist b/lang/J/pkg-plist
deleted file mode 100644
index f5aa80988b24..000000000000
--- a/lang/J/pkg-plist
+++ /dev/null
@@ -1,154 +0,0 @@
-bin/jconsole
-lib/j/bin/jconsole
-lib/j/bin/libj.so
-lib/j/bin/libtsdll.so
-share/j/addons/data/jfiles/history.txt
-share/j/addons/data/jfiles/jfiles.ijs
-share/j/addons/data/jfiles/jfiles.txt
-share/j/addons/data/jfiles/keyfiles.txt
-share/j/addons/data/jfiles/manifest.ijs
-share/j/addons/data/jfiles/test/test0.ijs
-share/j/addons/data/jfiles/test/test1.ijs
-share/j/addons/data/jmf/history.txt
-share/j/addons/data/jmf/jmf.ijs
-share/j/addons/data/jmf/manifest.ijs
-share/j/addons/data/jmf/test/testdata.ijs
-share/j/addons/data/jmf/test/testjmf.ijs
-share/j/addons/ide/jhs/build.ijs
-share/j/addons/ide/jhs/config/jhs.cfg
-share/j/addons/ide/jhs/config/jhs_default.ijs
-share/j/addons/ide/jhs/core.ijs
-share/j/addons/ide/jhs/demo/jdemo1.ijs
-share/j/addons/ide/jhs/demo/jdemo10.ijs
-share/j/addons/ide/jhs/demo/jdemo11.ijs
-share/j/addons/ide/jhs/demo/jdemo12.ijs
-share/j/addons/ide/jhs/demo/jdemo2.ijs
-share/j/addons/ide/jhs/demo/jdemo3.ijs
-share/j/addons/ide/jhs/demo/jdemo4.ijs
-share/j/addons/ide/jhs/demo/jdemo5.ijs
-share/j/addons/ide/jhs/demo/jdemo6.ijs
-share/j/addons/ide/jhs/demo/jdemo7.ijs
-share/j/addons/ide/jhs/demo/jdemo8.ijs
-share/j/addons/ide/jhs/demo/jdemo9.ijs
-share/j/addons/ide/jhs/demo/jdemogl1.ijs
-share/j/addons/ide/jhs/favicon.ico
-share/j/addons/ide/jhs/gnuplot.ijs
-share/j/addons/ide/jhs/gpdemo.ijs
-share/j/addons/ide/jhs/grep.exe
-share/j/addons/ide/jhs/history.txt
-share/j/addons/ide/jhs/jal.ijs
-share/j/addons/ide/jhs/jbinfo.ijs
-share/j/addons/ide/jhs/jd3.ijs
-share/j/addons/ide/jhs/jdemo.ijs
-share/j/addons/ide/jhs/jfif.ijs
-share/j/addons/ide/jhs/jfile.ijs
-share/j/addons/ide/jhs/jfiles.ijs
-share/j/addons/ide/jhs/jfilesrc.ijs
-share/j/addons/ide/jhs/jgcp.ijs
-share/j/addons/ide/jhs/jhelp.ijs
-share/j/addons/ide/jhs/jhs.jproj
-share/j/addons/ide/jhs/jijs.ijs
-share/j/addons/ide/jhs/jijsce.ijs
-share/j/addons/ide/jhs/jijsipad.ijs
-share/j/addons/ide/jhs/jijsta.ijs
-share/j/addons/ide/jhs/jijx.ijs
-share/j/addons/ide/jhs/jijxalt.ijs
-share/j/addons/ide/jhs/jijxaz.ijs
-share/j/addons/ide/jhs/jijxdebug.ijs
-share/j/addons/ide/jhs/jijxh.ijs
-share/j/addons/ide/jhs/jijxipad.ijs
-share/j/addons/ide/jhs/jijxm.ijs
-share/j/addons/ide/jhs/jijxmin.ijs
-share/j/addons/ide/jhs/jlogin.ijs
-share/j/addons/ide/jhs/js/codemirror/codemirror.4.2.css
-share/j/addons/ide/jhs/js/codemirror/codemirror.min.4.2.js
-share/j/addons/ide/jhs/js/codemirror/j/j.4.2.js
-share/j/addons/ide/jhs/js/codemirror/j/jtheme.4.2.css
-share/j/addons/ide/jhs/js/codemirror/license.txt
-share/j/addons/ide/jhs/js/codemirror/util/dialog.4.2.css
-share/j/addons/ide/jhs/js/codemirror/util/dialog.4.2.js
-share/j/addons/ide/jhs/js/codemirror/util/search.4.2.js
-share/j/addons/ide/jhs/js/codemirror/util/searchcursor.4.2.js
-share/j/addons/ide/jhs/js/d3/LICENSE
-share/j/addons/ide/jhs/js/d3/LICENSE.v3
-share/j/addons/ide/jhs/js/d3/d3.js
-share/j/addons/ide/jhs/js/d3/d3.min.js
-share/j/addons/ide/jhs/js/d3/d3.v3.js
-share/j/addons/ide/jhs/js/d3/d3.v3.min.js
-share/j/addons/ide/jhs/js/excanvas.js
-share/j/addons/ide/jhs/js/jquery-1.5.1.min.js
-share/j/addons/ide/jhs/js/jquery/handsontable.css
-share/j/addons/ide/jhs/js/jquery/handsontable.js
-share/j/addons/ide/jhs/js/jquery/jquery-2.0.3.min.js
*** 83 LINES SKIPPED ***