git: ab874ae74233 - main - converters/cocot: update to 20171118, take maintainership

From: Vladimir Druzenko <vvd_at_FreeBSD.org>
Date: Tue, 04 Jun 2024 16:04:36 UTC
The branch main has been updated by vvd:

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

commit ab874ae742331d9a54a58de5c2be6d1d4b4ea306
Author:     mew14930xvi <mew14930xvi@inbox.lv>
AuthorDate: 2024-06-04 15:59:47 +0000
Commit:     Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2024-06-04 16:03:02 +0000

    converters/cocot: update to 20171118, take maintainership
    
    Changelog:
    https://github.com/vmi/cocot/blob/master/ChangeLog
    
    New maintainer mew14930xvi@inbox.lv
    
    PR:     279480
---
 converters/cocot/Makefile  | 25 +++++++------------------
 converters/cocot/distinfo  |  6 +++---
 converters/cocot/pkg-plist |  5 -----
 3 files changed, 10 insertions(+), 26 deletions(-)

diff --git a/converters/cocot/Makefile b/converters/cocot/Makefile
index 17140293bb3d..1ba207f28b93 100644
--- a/converters/cocot/Makefile
+++ b/converters/cocot/Makefile
@@ -1,28 +1,22 @@
 PORTNAME=	cocot
-PORTVERSION=	20120313
-DISTVERSIONPREFIX=	${PORTNAME}-1.1-
-PORTREVISION=	1
+DISTVERSIONPREFIX=	${PORTNAME}-1.2-
+DISTVERSION=	20171118
 CATEGORIES=	converters
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	mew14930xvi@inbox.lv
 COMMENT=	Code Converter on TTY
 WWW=		https://github.com/vmi/cocot
 
 LICENSE=	BSD3CLAUSE
+LICENSE_FILE=	${WRKSRC}/COPYING
 
-OPTIONS_DEFINE=	DOCS
-
+USES=		iconv
 USE_GITHUB=	yes
 GH_ACCOUNT=	vmi
 
-USES=		iconv
 GNU_CONFIGURE=	yes
 
-CPPFLAGS+=	-I${ICONV_PREFIX}/include
-LDFLAGS+=	-L${ICONV_PREFIX}/lib
-
-DOCS_EN=	COPYING ChangeLog
-DOCS_JA=	ChangeLog.ja README.ja
+PLIST_FILES=	bin/cocot ${DOCSDIR}/ja/README.ja
 
 .include <bsd.port.options.mk>
 
@@ -32,11 +26,6 @@ CFLAGS+=	-Wno-error=incompatible-function-pointer-types
 
 post-install:
 	${MKDIR} ${STAGEDIR}${DOCSDIR}/ja
-.for f in ${DOCS_EN}
-	${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
-.endfor
-.for f in ${DOCS_JA}
-	${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}/ja
-.endfor
+	${INSTALL_DATA} ${WRKSRC}/README.ja ${STAGEDIR}${DOCSDIR}/ja
 
 .include <bsd.port.mk>
diff --git a/converters/cocot/distinfo b/converters/cocot/distinfo
index 0a37f28bc42f..f5e2ab841719 100644
--- a/converters/cocot/distinfo
+++ b/converters/cocot/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1480234398
-SHA256 (vmi-cocot-cocot-1.1-20120313_GH0.tar.gz) = bc67576b04a753c49ec563c30fb0cc383e9ce7a3db9295a384b7f77fcc1a57b8
-SIZE (vmi-cocot-cocot-1.1-20120313_GH0.tar.gz) = 214205
+TIMESTAMP = 1717301634
+SHA256 (vmi-cocot-cocot-1.2-20171118_GH0.tar.gz) = b718630ce3ddf79624d7dcb625fc5a17944cbff0b76574d321fb80c61bb91e4c
+SIZE (vmi-cocot-cocot-1.2-20171118_GH0.tar.gz) = 233664
diff --git a/converters/cocot/pkg-plist b/converters/cocot/pkg-plist
deleted file mode 100644
index af10b73136f2..000000000000
--- a/converters/cocot/pkg-plist
+++ /dev/null
@@ -1,5 +0,0 @@
-bin/cocot
-%%PORTDOCS%%%%DOCSDIR%%/COPYING
-%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
-%%PORTDOCS%%%%DOCSDIR%%/ja/ChangeLog.ja
-%%PORTDOCS%%%%DOCSDIR%%/ja/README.ja