git: 0e7656e00623 - main - math/timbl: Update to 6.8.2, use upstream release archive and some minor fixes

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Sun, 25 Jun 2023 04:01:38 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=0e7656e00623a7314b811f2a52eecbcdc0b93717

commit 0e7656e00623a7314b811f2a52eecbcdc0b93717
Author:     Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2023-06-25 03:59:54 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2023-06-25 04:01:33 +0000

    math/timbl: Update to 6.8.2, use upstream release archive and some minor fixes
    
    PR:             272178
---
 math/timbl/Makefile  | 19 ++++++++++---------
 math/timbl/distinfo  |  6 +++---
 math/timbl/pkg-plist |  6 ++++--
 3 files changed, 17 insertions(+), 14 deletions(-)

diff --git a/math/timbl/Makefile b/math/timbl/Makefile
index 4f390b38a3cd..b86bd96e8718 100644
--- a/math/timbl/Makefile
+++ b/math/timbl/Makefile
@@ -1,8 +1,7 @@
 PORTNAME=	timbl
-DISTVERSIONPREFIX=	v
-DISTVERSION=	6.7
-PORTREVISION=	3
+DISTVERSION=	6.8.2
 CATEGORIES=	math education
+MASTER_SITES=	https://github.com/LanguageMachines/${PORTNAME}/releases/download/v${DISTVERSION}/
 
 MAINTAINER=	yuri@FreeBSD.org
 COMMENT=	Tilburg Memory Based Learner
@@ -14,21 +13,23 @@ LICENSE_FILE=	${WRKSRC}/COPYING
 LIB_DEPENDS=	libicui18n.so:devel/icu \
 		libticcutils.so:devel/ticcutils
 
-USES=		autoreconf compiler:c++11-lang gmake gnome libtool \
-		pathfix pkgconfig
+USES=		compiler:c++14-lang gmake gnome libtool pathfix pkgconfig
 USE_GNOME=	libxml2
 USE_LDCONFIG=	yes
 
-USE_GITHUB=	yes
-GH_ACCOUNT=	LanguageMachines
-
 GNU_CONFIGURE=	yes
-CONFIGURE_ARGS=	--disable-static
 
+TEST_TARGET=	check
 INSTALL_TARGET=	install-strip
 
+CONFIGURE_ARGS=	--disable-static
+
 OPTIONS_DEFINE=	DOCS
 
 PORTDOCS=	*
 
+post-patch:
+	@${REINPLACE_CMD} -e 's|-O3 -g||g' \
+		${PATCH_WRKSRC}/src/Makefile.in
+
 .include <bsd.port.mk>
diff --git a/math/timbl/distinfo b/math/timbl/distinfo
index 7922b7777d01..efa477ac79fe 100644
--- a/math/timbl/distinfo
+++ b/math/timbl/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1658531470
-SHA256 (LanguageMachines-timbl-v6.7_GH0.tar.gz) = 1f47c76541083bc2223bd01f5cdc1b252d7764eb5dc6191394ed854572f48bf3
-SIZE (LanguageMachines-timbl-v6.7_GH0.tar.gz) = 1098652
+TIMESTAMP = 1687519301
+SHA256 (timbl-6.8.2.tar.gz) = 4842ac360bb75c6cdf673f43ec6156d051c20c10dc34ff95a4009557b4ed969b
+SIZE (timbl-6.8.2.tar.gz) = 593937
diff --git a/math/timbl/pkg-plist b/math/timbl/pkg-plist
index 4be2cca8387d..02cf6d0c4cf1 100644
--- a/math/timbl/pkg-plist
+++ b/math/timbl/pkg-plist
@@ -2,6 +2,7 @@ bin/timbl
 include/timbl/BestArray.h
 include/timbl/Choppers.h
 include/timbl/Common.h
+include/timbl/Features.h
 include/timbl/GetOptClass.h
 include/timbl/IBtree.h
 include/timbl/Instance.h
@@ -12,13 +13,14 @@ include/timbl/MsgClass.h
 include/timbl/Options.h
 include/timbl/Statistics.h
 include/timbl/StringOps.h
+include/timbl/Targets.h
 include/timbl/Testers.h
 include/timbl/TimblAPI.h
 include/timbl/TimblExperiment.h
 include/timbl/Types.h
 include/timbl/neighborSet.h
 lib/libtimbl.so
-lib/libtimbl.so.6
-lib/libtimbl.so.6.0.0
+lib/libtimbl.so.7
+lib/libtimbl.so.7.0.0
 libdata/pkgconfig/timbl.pc
 man/man1/timbl.1.gz