git: 5117300aed7c - main - lang/p5-Tcl: update to 1.32

From: Rodrigo Osorio <rodrigo_at_FreeBSD.org>
Date: Sat, 10 Feb 2024 21:57:32 UTC
The branch main has been updated by rodrigo:

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

commit 5117300aed7c4891391641cacad2dc21b1efe12f
Author:     Rodrigo Osorio <rodrigo@FreeBSD.org>
AuthorDate: 2024-02-10 16:53:03 +0000
Commit:     Rodrigo Osorio <rodrigo@FreeBSD.org>
CommitDate: 2024-02-10 21:45:45 +0000

    lang/p5-Tcl: update to 1.32
    
    Changelog: https://metacpan.org/release/VKON/Tcl-1.32/source/Changes
    
    Port changes:
        * Add new dependency for tests
        * reorder section to make linter happy
        * remove unrequired patch
---
 lang/p5-Tcl/Makefile                |  9 ++++++---
 lang/p5-Tcl/distinfo                |  6 +++---
 lang/p5-Tcl/files/patch-Makefile.PL | 12 ------------
 lang/p5-Tcl/pkg-plist               |  2 ++
 4 files changed, 11 insertions(+), 18 deletions(-)

diff --git a/lang/p5-Tcl/Makefile b/lang/p5-Tcl/Makefile
index 1c147e060f4a..485ebda75aa4 100644
--- a/lang/p5-Tcl/Makefile
+++ b/lang/p5-Tcl/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	Tcl
-PORTVERSION=	1.27
+PORTVERSION=	1.32
 CATEGORIES=	lang perl5
 MASTER_SITES=	CPAN
 PKGNAMEPREFIX=	p5-
@@ -11,12 +11,15 @@ WWW=		https://metacpan.org/release/Tcl
 LICENSE=	ART10 GPLv1+
 LICENSE_COMB=	dual
 
-PORTSCOUT=	limit:^[0-9\.]*$$
+TEST_DEPENDS=	p5-Devel-Refcount>0:devel/p5-Devel-Refcount
 
-CONFIGURE_ARGS=	--nousestubs --tclsh ${TCLSH}
 USES=		perl5 tcl
 USE_PERL5=	configure
 
+CONFIGURE_ARGS=	--nousestubs \
+		--tclsh  ${TCLSH}
+PORTSCOUT=	limit:^[0-9\.]*$$
+
 post-install:
 	${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Tcl/Tcl.so
 
diff --git a/lang/p5-Tcl/distinfo b/lang/p5-Tcl/distinfo
index c4ec33636d7c..fbacbd62f2db 100644
--- a/lang/p5-Tcl/distinfo
+++ b/lang/p5-Tcl/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1535013543
-SHA256 (Tcl-1.27.tar.gz) = f8385877a4a9ed9f3d3903d2d0f7cd70fac3ce6832c60f600a6821cee3fb5872
-SIZE (Tcl-1.27.tar.gz) = 171072
+TIMESTAMP = 1707579656
+SHA256 (Tcl-1.32.tar.gz) = 4102c34f85732d50307e8ca92d593b223d12d580242f3e67258fb9e026b43ebf
+SIZE (Tcl-1.32.tar.gz) = 173076
diff --git a/lang/p5-Tcl/files/patch-Makefile.PL b/lang/p5-Tcl/files/patch-Makefile.PL
deleted file mode 100644
index 66e69be0fcf8..000000000000
--- a/lang/p5-Tcl/files/patch-Makefile.PL
+++ /dev/null
@@ -1,12 +0,0 @@
---- Makefile.PL.orig	2018-07-25 16:31:13 UTC
-+++ Makefile.PL
-@@ -191,8 +191,8 @@ if (defined($libpath) && defined($incpat
- 	    $defs .= " -DTCL_LIB_FILE=\\\"tcl$tclver.$Config{so}\\\"" if $usestubs; 
- 	}
- 	elsif ($^O eq 'freebsd' or $^O eq 'openbsd' or $^O eq 'netbsd') {
-+	    $tclcfg{tcl_library} =~ /^(.*)[\\\/]lib[\\\/]/ and $incpath .= " -I$1/include/tcl$tclver";
- 	    $tclver=~s/\.//;
--	    $tclsh=~/([\d.]+)$/ and $incpath .= " -I/usr/local/include/tcl$1";
- 	    $defs .= " -DTCL_LIB_FILE=\\\"libtcl$tclver.$Config{so}\\\"" if $usestubs; 
- 	}
- 	else {
diff --git a/lang/p5-Tcl/pkg-plist b/lang/p5-Tcl/pkg-plist
index da750a97f36f..b63a42a1194d 100644
--- a/lang/p5-Tcl/pkg-plist
+++ b/lang/p5-Tcl/pkg-plist
@@ -1,3 +1,5 @@
 %%SITE_ARCH%%/Tcl.pm
+%%SITE_ARCH%%/Tcl-hack.pod
 %%SITE_ARCH%%/auto/Tcl/Tcl.so
 %%PERL5_MAN3%%/Tcl.3.gz
+%%PERL5_MAN3%%/Tcl-hack.3.gz