diff --git a/devel/tclreadline/Makefile b/devel/tclreadline/Makefile index a95fcd3015e7..5d3a2872818f 100644 --- a/devel/tclreadline/Makefile +++ b/devel/tclreadline/Makefile @@ -1,35 +1,34 @@ PORTNAME= tclreadline -PORTVERSION= 2.3.8 -DISTVERSIONPREFIX= v -PORTREVISION= 2 +DISTVERSIONPREFIX=v +DISTVERSION= 2.4.0 CATEGORIES= devel tcl MAINTAINER= tcltk@FreeBSD.org COMMENT= GNU readline for TCL WWW= https://tclreadline.sourceforge.net/ LICENSE= BSD3CLAUSE USES= autoreconf libtool tcl readline GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share CONFIGURE_ARGS+=--with-tcl=${TCL_LIBDIR} \ --with-tcl-includes=${TCL_INCLUDEDIR} \ --with-readline-includes=${LOCALBASE}/include \ --with-readline-library="-L${LOCALBASE}/lib -lreadline" \ --with-tk=no \ --enable-tclstub INSTALL_TARGET= install-strip 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 .include 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,8 +1,8 @@ include/tclreadline.h -lib/libtclreadline-%%PORTVERSION%%.so +lib/libtclreadline-%%DISTVERSION%%.so lib/libtclreadline.so lib/%%TCL_PKG%%/pkgIndex.tcl lib/%%TCL_PKG%%/tclreadlineCompleter.tcl lib/%%TCL_PKG%%/tclreadlineInit.tcl lib/%%TCL_PKG%%/tclreadlineSetup.tcl share/man/mann/tclreadline.n.gz