git: 19e1f64ff3f1 - main - textproc/teckit: Update to 2.5.11 and use upstream release archive

From: Daniel Engberg <diizzy_at_FreeBSD.org>
Date: Wed, 19 Jan 2022 07:52:16 UTC
The branch main has been updated by diizzy:

URL: https://cgit.FreeBSD.org/ports/commit/?id=19e1f64ff3f14c307a308ccc2b30753a761d3b0e

commit 19e1f64ff3f14c307a308ccc2b30753a761d3b0e
Author:     Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2022-01-19 07:36:33 +0000
Commit:     Daniel Engberg <diizzy@FreeBSD.org>
CommitDate: 2022-01-19 07:52:05 +0000

    textproc/teckit: Update to 2.5.11 and use upstream release archive
    
    Changelog: https://github.com/silnrsi/teckit/releases
    
    Use upstream release archive as recommended by Porters Handbook
    
    PR:             261267
    Reviewed by:    Nikola Lečić <nikola.lecic@anthesphoria.net> (maintainer)
---
 textproc/teckit/Makefile  | 10 ++++------
 textproc/teckit/distinfo  |  6 +++---
 textproc/teckit/pkg-plist |  1 -
 3 files changed, 7 insertions(+), 10 deletions(-)

diff --git a/textproc/teckit/Makefile b/textproc/teckit/Makefile
index 6d808b2e48d9..78e690957c3d 100644
--- a/textproc/teckit/Makefile
+++ b/textproc/teckit/Makefile
@@ -1,9 +1,9 @@
 # Created by: Nikola Lecic <nikola.lecic@anthesphoria.net>
 
 PORTNAME=	teckit
-PORTVERSION=	2.5.7
-DISTVERSIONPREFIX=	v
+DISTVERSION=	2.5.11
 CATEGORIES=	textproc converters
+MASTER_SITES=	https://github.com/silnrsi/${PORTNAME}/releases/download/v${DISTVERSION}/
 
 MAINTAINER=	nikola.lecic@anthesphoria.net
 COMMENT=	Toolkit for converting data between 8-bit legacy encodings and Unicode
@@ -13,9 +13,7 @@ LICENSE_FILE=	${WRKSRC}/license/LICENSING.txt
 
 LIB_DEPENDS=	libexpat.so:textproc/expat2
 
-USES=		autoreconf libtool localbase pkgconfig
-USE_GITHUB=	yes
-GH_ACCOUNT=	silnrsi
+USES=		libtool localbase pathfix pkgconfig
 GNU_CONFIGURE=	yes
 USE_LDCONFIG=	yes
 INSTALL_TARGET=	install-strip
@@ -26,7 +24,7 @@ OPTIONS_DEFINE=	DOCS
 
 post-patch:
 	@${REINPLACE_CMD} -e '/sfconv_CXXFLAGS = -std=c++11/d' \
-		${WRKSRC}/bin/Makefile.am
+		${WRKSRC}/bin/Makefile.in
 
 post-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
diff --git a/textproc/teckit/distinfo b/textproc/teckit/distinfo
index 452d30cb401f..e5f224ba8491 100644
--- a/textproc/teckit/distinfo
+++ b/textproc/teckit/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1499892382
-SHA256 (silnrsi-teckit-v2.5.7_GH0.tar.gz) = d6a820b201b1a8f369a3002975d30fd96a01d9af3119514121e4d793daeb88c4
-SIZE (silnrsi-teckit-v2.5.7_GH0.tar.gz) = 2940182
+TIMESTAMP = 1642409432
+SHA256 (teckit-2.5.11.tar.gz) = aebd8487fb8298dd6e8768b899887768b160ec6ed3a334795e493f80f8614ed4
+SIZE (teckit-2.5.11.tar.gz) = 2123428
diff --git a/textproc/teckit/pkg-plist b/textproc/teckit/pkg-plist
index 0c7c3961ab7a..dd6a361b28ae 100644
--- a/textproc/teckit/pkg-plist
+++ b/textproc/teckit/pkg-plist
@@ -17,7 +17,6 @@ man/man1/sfconv.1.gz
 man/man1/teckit_compile.1.gz
 man/man1/txtconv.1.gz
 %%PORTDOCS%%%%DOCSDIR%%/AUTHORS
-%%PORTDOCS%%%%DOCSDIR%%/Calling_TECkit_from_VB.pdf
 %%PORTDOCS%%%%DOCSDIR%%/LICENSING.txt
 %%PORTDOCS%%%%DOCSDIR%%/NEWS
 %%PORTDOCS%%%%DOCSDIR%%/README