git: 828a1f09fdd5 - main - devel/tclreadline: update to 2.4.0

From: Pietro Cerutti <gahr_at_FreeBSD.org>
Date: Wed, 23 Oct 2024 06:30:39 UTC
The branch main has been updated by gahr:

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

commit 828a1f09fdd5a52ebe3351fcaf98e163da952a14
Author:     Pietro Cerutti <gahr@FreeBSD.org>
AuthorDate: 2024-10-23 06:29:20 +0000
Commit:     Pietro Cerutti <gahr@FreeBSD.org>
CommitDate: 2024-10-23 06:30:36 +0000

    devel/tclreadline: update to 2.4.0
    
    Release notes:
    https://github.com/flightaware/tclreadline/releases/tag/v2.4.0
---
 devel/tclreadline/Makefile                           |  9 ++++-----
 devel/tclreadline/distinfo                           |  6 +++---
 devel/tclreadline/files/patch-tclreadlineInit.tcl.in | 13 -------------
 devel/tclreadline/pkg-plist                          |  2 +-
 4 files changed, 8 insertions(+), 22 deletions(-)

diff --git a/devel/tclreadline/Makefile b/devel/tclreadline/Makefile
index a95fcd3015e7..5d3a2872818f 100644
--- a/devel/tclreadline/Makefile
+++ b/devel/tclreadline/Makefile
@@ -1,7 +1,6 @@
 PORTNAME=	tclreadline
-PORTVERSION=	2.3.8
-DISTVERSIONPREFIX=	v
-PORTREVISION=	2
+DISTVERSIONPREFIX=v
+DISTVERSION=	2.4.0
 CATEGORIES=	devel tcl
 
 MAINTAINER=	tcltk@FreeBSD.org
@@ -26,8 +25,8 @@ USE_GITHUB=	yes
 GH_ACCOUNT=	flightaware
 
 USE_LDCONFIG=	yes
-TCL_PKG=	${PORTNAME}${PORTVERSION}
-PLIST_SUB+=	PORTVERSION=${PORTVERSION} TCL_PKG=${TCL_PKG}
+TCL_PKG=	${PORTNAME}${DISTVERSION}
+PLIST_SUB+=	DISTVERSION=${DISTVERSION} TCL_PKG=${TCL_PKG}
 
 post-patch:
 	@${RM} ${WRKSRC}/INSTALL
diff --git a/devel/tclreadline/distinfo b/devel/tclreadline/distinfo
index 1f0c7bff3d93..f8948bee417e 100644
--- a/devel/tclreadline/distinfo
+++ b/devel/tclreadline/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1579006202
-SHA256 (flightaware-tclreadline-v2.3.8_GH0.tar.gz) = a64e0faed5957b8e1ac16f179948e21cdd6d3b8313590b7ab049a3192ab864fb
-SIZE (flightaware-tclreadline-v2.3.8_GH0.tar.gz) = 393167
+TIMESTAMP = 1729664384
+SHA256 (flightaware-tclreadline-v2.4.0_GH0.tar.gz) = 306f9a72ef3ad9ff7a8549f1c616edef5365b98bce7e62fdde6e595355c0faee
+SIZE (flightaware-tclreadline-v2.4.0_GH0.tar.gz) = 267094
diff --git a/devel/tclreadline/files/patch-tclreadlineInit.tcl.in b/devel/tclreadline/files/patch-tclreadlineInit.tcl.in
deleted file mode 100644
index b3b047d78b82..000000000000
--- a/devel/tclreadline/files/patch-tclreadlineInit.tcl.in
+++ /dev/null
@@ -1,13 +0,0 @@
---- tclreadlineInit.tcl.in.orig	2024-07-08 12:20:49 UTC
-+++ tclreadlineInit.tcl.in
-@@ -17,8 +17,8 @@ proc ::tclreadline::Init {} {
-     uplevel #0 {
-         if {![info exists tclreadline::library]} {
-             set msg ""
--            foreach dirname {@TCLRL_LIBDIR@ [file dirname [info script]]} {
--                if {[catch {load [file join $dirname libtclreadline[info sharedlibextension]]} msg] == 0} {
-+            foreach dirname [list @TCLRL_LIBDIR@ [file dirname [info script]]] {
-+                if {[catch {load [file join $dirname libtclreadline[info sharedlibextension]] tclreadline} msg] == 0} {
-                     set msg ""
-                     break
-                 }
diff --git a/devel/tclreadline/pkg-plist b/devel/tclreadline/pkg-plist
index 6aa832e8589d..f074674f07c2 100644
--- a/devel/tclreadline/pkg-plist
+++ b/devel/tclreadline/pkg-plist
@@ -1,5 +1,5 @@
 include/tclreadline.h
-lib/libtclreadline-%%PORTVERSION%%.so
+lib/libtclreadline-%%DISTVERSION%%.so
 lib/libtclreadline.so
 lib/%%TCL_PKG%%/pkgIndex.tcl
 lib/%%TCL_PKG%%/tclreadlineCompleter.tcl