git: 4b47d5f65bf3 - main - lang/nx: update to 2.4.0

From: Pietro Cerutti <gahr_at_FreeBSD.org>
Date: Tue, 29 Aug 2023 07:55:30 UTC
The branch main has been updated by gahr:

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

commit 4b47d5f65bf33534d4bf523e49a34c73e489834b
Author:     Pietro Cerutti <gahr@FreeBSD.org>
AuthorDate: 2023-08-29 07:54:57 +0000
Commit:     Pietro Cerutti <gahr@FreeBSD.org>
CommitDate: 2023-08-29 07:54:57 +0000

    lang/nx: update to 2.4.0
    
    Release notes: https://next-scripting.org/xowiki/Ann2_4_0
---
 lang/nx/Makefile                |  2 +-
 lang/nx/distinfo                |  6 +++---
 lang/nx/files/patch-Makefile.in | 31 ++++++++++++++++++-------------
 3 files changed, 22 insertions(+), 17 deletions(-)

diff --git a/lang/nx/Makefile b/lang/nx/Makefile
index 64a3b138d23e..22429b18fb48 100644
--- a/lang/nx/Makefile
+++ b/lang/nx/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	nx
-DISTVERSION=	2.3.0
+DISTVERSION=	2.4.0
 PORTREVISION=	0
 CATEGORIES=	lang
 MASTER_SITES=	SF/next-scripting/${DISTVERSION}/
diff --git a/lang/nx/distinfo b/lang/nx/distinfo
index 423d44b54dcf..7dd6f94cb71c 100644
--- a/lang/nx/distinfo
+++ b/lang/nx/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1572858646
-SHA256 (nsf2.3.0.tar.gz) = 3940c4c00e18900abac8d57c195498f563c3cdb65157257af57060185cfd7ba9
-SIZE (nsf2.3.0.tar.gz) = 4747971
+TIMESTAMP = 1693295123
+SHA256 (nsf2.4.0.tar.gz) = 51bd956d8db19f9bc014bec0909f73659431ce83f835c479739b5384d3bcc1f6
+SIZE (nsf2.4.0.tar.gz) = 4857929
diff --git a/lang/nx/files/patch-Makefile.in b/lang/nx/files/patch-Makefile.in
index bb2130266fe3..89400ee80878 100644
--- a/lang/nx/files/patch-Makefile.in
+++ b/lang/nx/files/patch-Makefile.in
@@ -1,20 +1,25 @@
---- Makefile.in.orig	2014-12-06 13:58:42.000000000 +0000
-+++ Makefile.in	2015-10-15 18:32:24.161848000 +0000
-@@ -413,7 +413,7 @@
+--- Makefile.in.orig	2023-08-29 07:49:50 UTC
++++ Makefile.in
+@@ -497,13 +497,6 @@ install-libraries: libraries
  	    rm -rf $(DESTDIR)$(pkglibdir)/$$i ; \
  	    $(INSTALL_DATA) $(src_lib_dir)/$$i $(DESTDIR)$(pkglibdir)/$$i ; \
  	done;
 -	@mkdir -p $(DESTDIR)$(libdir)/tcl8/site-tcl
-+	#@mkdir -p $(DESTDIR)$(libdir)/tcl8/ite-tcl
- 	@for i in $(srcdir)/tcl8/site-tcl/*.tm ; do \
- 	    if test -f $$i; then \
- 	       echo "    Installing module $$i in $(DESTDIR)$(libdir)/tcl8/site-tcl" ; \
-@@ -804,7 +804,7 @@
+-	@for i in $(srcdir)/tcl8/site-tcl/*.tm ; do \
+-	    if test -f $$i; then \
+-	       echo "    Installing module $$i in $(DESTDIR)$(libdir)/tcl8/site-tcl";\
+-	       $(INSTALL_DATA) $$i $(DESTDIR)$(libdir)/tcl8/site-tcl/; \
+-	    fi; \
+-	done;
+ 	@$(INSTALL_DATA) $(srcdir)/nsfConfig.sh $(DESTDIR)$(libdir)/
+ 
+ install-xotcl-libraries: install-libraries
+@@ -936,7 +929,7 @@ install-lib-binaries:
  	    else \
- 		echo " $(RANLIB) $(DESTDIR)$(pkglibdir)/$$p"; \
- 		$(RANLIB) $(DESTDIR)$(pkglibdir)/$$p; \
--		ln -s $(DESTDIR)$(pkglibdir)/$$p $(DESTDIR)$(libdir)/$$p; \
-+		ln -s $(PKG_DIR)/$$p $(DESTDIR)$(libdir)/$$p; \
+ 		echo " $(RANLIB) $(DESTDIR)$(pkglibdir)/$$p";\
+ 		$(RANLIB) $(DESTDIR)$(pkglibdir)/$$p;\
+-		ln -s $(DESTDIR)$(pkglibdir)/$$p $(DESTDIR)$(libdir)/$$p;\
++		ln -s $(PKG_DIR)/$$p $(DESTDIR)$(libdir)/$$p;\
  	    fi; \
- 	    ext=`echo $$p|sed -e "s/.*\.//"`; \
+ 	    ext=`echo $$p|sed -e "s/.*\.//"`;\
  	    if test "x$$ext" = "xdll"; then \