git: 964ae21d0972 - main - archivers/lha-ac: switch to new upstream and update to 1.14i.20211125

From: Hiroki Tagato <tagattie_at_FreeBSD.org>
Date: Tue, 25 Jan 2022 10:31:41 UTC
The branch main has been updated by tagattie:

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

commit 964ae21d09724567e9591dcb39ea6a755078b9d8
Author:     Hiroki Tagato <tagattie@FreeBSD.org>
AuthorDate: 2022-01-25 10:28:34 +0000
Commit:     Hiroki Tagato <tagattie@FreeBSD.org>
CommitDate: 2022-01-25 10:31:34 +0000

    archivers/lha-ac: switch to new upstream and update to 1.14i.20211125
    
    While here:
    - take maintainership
    - install English manpage
    - add test target
    - make portclippy happy
    
    PR:             261073
    Reviewed by:    diizzy
---
 archivers/lha-ac/Makefile  | 30 ++++++++++++++++++------------
 archivers/lha-ac/distinfo  |  5 +++--
 archivers/lha-ac/pkg-descr |  4 ++--
 3 files changed, 23 insertions(+), 16 deletions(-)

diff --git a/archivers/lha-ac/Makefile b/archivers/lha-ac/Makefile
index 92c4705af256..2cf5b4db8c36 100644
--- a/archivers/lha-ac/Makefile
+++ b/archivers/lha-ac/Makefile
@@ -1,12 +1,9 @@
 PORTNAME=	lha
-PORTVERSION=	1.14i
-PORTREVISION=	10
+PORTVERSION=	1.14i.20211125
 CATEGORIES=	archivers
-MASTER_SITES=	OSDN/lha
-PKGNAMESUFFIX=	-ac${PKGNAMESUFFIX2}
-DISTNAME=	${PORTNAME}-${PORTVERSION}-ac20050924p1
+PKGNAMESUFFIX=	-ac
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	tagattie@FreeBSD.org
 COMMENT=	Archive files using LZSS and Huffman compression (.lzh files)
 
 # Converted from RESTRICTED
@@ -15,20 +12,29 @@ LICENSE_NAME=	LHA
 LICENSE_TEXT=	No redistribution allowed
 LICENSE_PERMS=	auto-accept
 
-USES=		cpe
+USES=		autoreconf cpe
 CPE_VENDOR=	tsugio_okamoto
 
+USE_GITHUB=	yes
+GH_ACCOUNT=	jca02266
+GH_TAGNAME=	release-${PORTVERSION:E}
+
 GNU_CONFIGURE=	yes
-PLIST_FILES=	bin/lha-ac
-PLIST_FILES+=	man/ja/man1/lha-ac.1.gz
 
-OPTIONS_DEFINE=	NLS
+TEST_TARGET=	check
+
+PLIST_FILES=	bin/lha-ac \
+		man/ja/man1/lha-ac.1.gz \
+		man/man1/lha-ac.1.gz
+
+OPTIONS_DEFINE=		NLS
 NLS_CONFIGURE_ON=	--enable-multibyte-filename=auto
 NLS_CONFIGURE_OFF=	--disable-multibyte-filename
 
 do-install:
-	-${MKDIR} ${STAGEDIR}${PREFIX}/man/ja/man1
+	-${MKDIR} ${STAGEDIR}${MANPREFIX}/man/ja/man1
 	${INSTALL_PROGRAM} ${WRKSRC}/src/lha ${STAGEDIR}${PREFIX}/bin/lha-ac
-	${INSTALL_MAN} ${WRKSRC}/man/lha.n ${STAGEDIR}${PREFIX}/man/ja/man1/lha-ac.1
+	${INSTALL_MAN} ${WRKSRC}/man/lha.1 ${STAGEDIR}${MANPREFIX}/man/man1/lha-ac.1
+	${INSTALL_MAN} ${WRKSRC}/man/lha.n ${STAGEDIR}${MANPREFIX}/man/ja/man1/lha-ac.1
 
 .include <bsd.port.mk>
diff --git a/archivers/lha-ac/distinfo b/archivers/lha-ac/distinfo
index 98447bd2b24b..827dff084076 100644
--- a/archivers/lha-ac/distinfo
+++ b/archivers/lha-ac/distinfo
@@ -1,2 +1,3 @@
-SHA256 (lha-1.14i-ac20050924p1.tar.gz) = b5261e9f98538816aa9e64791f23cb83f1632ecda61f02e54b6749e9ca5e9ee4
-SIZE (lha-1.14i-ac20050924p1.tar.gz) = 285518
+TIMESTAMP = 1641796644
+SHA256 (jca02266-lha-1.14i.20211125-release-20211125_GH0.tar.gz) = 8761edac9613cf1c06cbc341259fb2abd804f8f5bb8ba25970779062701e8a46
+SIZE (jca02266-lha-1.14i.20211125-release-20211125_GH0.tar.gz) = 229335
diff --git a/archivers/lha-ac/pkg-descr b/archivers/lha-ac/pkg-descr
index ca40a39722f8..4412edf65fb5 100644
--- a/archivers/lha-ac/pkg-descr
+++ b/archivers/lha-ac/pkg-descr
@@ -1,3 +1,3 @@
-     LHa for UNIX with autoconf
+LHa for UNIX with autoconf
 
-WWW: http://sourceforge.jp/projects/lha/
+WWW: https://lha.osdn.jp