git: 42add00b5075 - main - devel/tcl-signal: unbreak, update to 1.4.5

From: Pietro Cerutti <gahr_at_FreeBSD.org>
Date: Mon, 13 Feb 2023 13:05:51 UTC
The branch main has been updated by gahr:

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

commit 42add00b5075ea586d0b88816a4e3752709330c7
Author:     Pietro Cerutti <gahr@FreeBSD.org>
AuthorDate: 2023-02-13 13:03:58 +0000
Commit:     Pietro Cerutti <gahr@FreeBSD.org>
CommitDate: 2023-02-13 13:05:40 +0000

    devel/tcl-signal: unbreak, update to 1.4.5
    
    We now source from https://github.com/wjoye/tclsignal. The Tcl package
    name of this improved version has changed from "Signal" to "tclsignal".
---
 devel/tcl-signal/Makefile | 26 +++++++++++---------------
 devel/tcl-signal/distinfo |  5 +++--
 2 files changed, 14 insertions(+), 17 deletions(-)

diff --git a/devel/tcl-signal/Makefile b/devel/tcl-signal/Makefile
index 0510eed99ed2..ef6528fcd153 100644
--- a/devel/tcl-signal/Makefile
+++ b/devel/tcl-signal/Makefile
@@ -1,28 +1,24 @@
 PORTNAME=	tcl-signal
-PORTVERSION=	1.4.0.1
+PORTVERSION=	1.4.5
+DISTVERSIONPREFIX=	v
 CATEGORIES=	devel
-MASTER_SITES=	http://www.nyx.net/~mschwart/
-DISTNAME=	signal_ext${PORTVERSION:R:R}
 
 MAINTAINER=	tcltk@FreeBSD.org
 COMMENT=	Dynamically loadable signal handling for Tcl/Tk scripts
 WWW=		https://www.nyx.net/~mschwart/signal_ext.html
 
-USES+=		tcl:tea
-ALL_TARGET=	signal.so
+LICENSE=	MIT
 
-CONFIGURE_ENV+=	TCL_INC_DIR=${TCL_INCLUDEDIR}
+USES+=		tcl:tea autoreconf
+USE_GITHUB=	yes
+GH_ACCOUNT=	wjoye
+GH_PROJECT=	tclsignal
 
-PLIST_FILES=	lib/signal/signal.so \
-		lib/signal/pkgIndex.tcl
+PLIST_FILES=	lib/tclsignalConfig.sh \
+		lib/tclsignal${PORTVERSION}/libtclsignal${PORTVERSION}.so \
+		lib/tclsignal${PORTVERSION}/pkgIndex.tcl
 
 post-patch:
-	${REINPLACE_CMD} -e 's|\.\./lib||' ${WRKSRC}/${CONFIGURE_SCRIPT}
-	${REINPLACE_CMD} -e 's|mkdir|${MKDIR}|; s|@TCL_PACKAGE_PATH@|@TCL_PREFIX@/lib|g' ${WRKSRC}/Makefile.in
-
-do-install:
-	@${MKDIR} ${STAGEDIR}${PREFIX}/lib/signal
-	${INSTALL_DATA} ${WRKSRC}/signal.so ${STAGEDIR}${PREFIX}/lib/signal
-	${INSTALL_DATA} ${WRKSRC}/pkgIndex.tcl ${STAGEDIR}${PREFIX}/lib/signal
+	${REINPLACE_CMD} -e 's|1\.4\.4\.1|${PORTVERSION}|' ${WRKSRC}/configure.ac
 
 .include <bsd.port.mk>
diff --git a/devel/tcl-signal/distinfo b/devel/tcl-signal/distinfo
index cb45fc4cabed..f1be84fabd81 100644
--- a/devel/tcl-signal/distinfo
+++ b/devel/tcl-signal/distinfo
@@ -1,2 +1,3 @@
-SHA256 (signal_ext1.4.tar.gz) = 24a6c606807f39d3e9b477dffab28ecda308c65bfeba350125f2227ae313e0f0
-SIZE (signal_ext1.4.tar.gz) = 22199
+TIMESTAMP = 1676282440
+SHA256 (wjoye-tclsignal-v1.4.5_GH0.tar.gz) = fc5185f90301f811703d0980662e073c09b82df251d60a26b9d51d45c44d4471
+SIZE (wjoye-tclsignal-v1.4.5_GH0.tar.gz) = 123535