Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Mar 2024 10:13:32 GMT
From:      MANTANI Nobutaka <nobutaka@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: b46fe8fdc985 - main - japanese/skk-jisyo: Update to 20240130
Message-ID:  <202403171013.42HADWhY085966@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by nobutaka:

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

commit b46fe8fdc9850589f4b68c9b62e81aacd8c40e43
Author:     MANTANI Nobutaka <nobutaka@FreeBSD.org>
AuthorDate: 2024-03-17 10:08:43 +0000
Commit:     MANTANI Nobutaka <nobutaka@FreeBSD.org>
CommitDate: 2024-03-17 10:12:38 +0000

    japanese/skk-jisyo: Update to 20240130
    
    - Switch to the new MASTER_SITES at GitHub
    - Add LICENSE
    
    PR:             277621
    Reported by:    mew14930xvi <mew14930xvi@inbox.lv>
---
 japanese/skk-jisyo/Makefile | 30 +++++++++++++-----------------
 japanese/skk-jisyo/distinfo |  9 +++------
 2 files changed, 16 insertions(+), 23 deletions(-)

diff --git a/japanese/skk-jisyo/Makefile b/japanese/skk-jisyo/Makefile
index c28863b82536..6f985c36fa3d 100644
--- a/japanese/skk-jisyo/Makefile
+++ b/japanese/skk-jisyo/Makefile
@@ -1,32 +1,31 @@
 PORTNAME=	skk-jisyo
-PORTVERSION=	201409
-PORTREVISION=	0
+DISTVERSIONPREFIX=	g
+DISTVERSION=	20240130
 CATEGORIES=	japanese
-MASTER_SITES=	LOCAL/matusita/${PORTNAME}
 .if defined(WITH_SKKJISYO_CDB)
 PKGNAMESUFFIX=	-cdb
 .endif
-DIST_SUBDIR=	skk-jisyo
 
 MAINTAINER?=	ports@FreeBSD.org
 COMMENT?=	Jisyo (dictionary) files for the SKK Japanese-input software
 WWW=		http://openlab.jp/skk/
 
+LICENSE=	GPLv2+
+
 .if defined(WITH_SKKJISYO_CDB)
 BUILD_DEPENDS=	${LOCALBASE}/bin/cdb:databases/tinycdb
 .endif
 
+USE_GITHUB=	yes
+GH_ACCOUNT=	skk-dev
+GH_PROJECT=	dict
+GH_TAGNAME=	b798a46
+
 SKKDIR?=	share/skk
 SKK_JISYO_TYPE?=L M S
 
-USES=		tar:bzip2
-NO_WRKSUBDIR=		yes
-EXTRACT_CMD=		${CP}
-EXTRACT_BEFORE_ARGS=	-p
-EXTRACT_AFTER_ARGS=	${WRKSRC}
 PLIST_SUB+=		SKKDIR=${SKKDIR}
 .for type in ${SKK_JISYO_TYPE}
-DISTFILES+=		SKK-JISYO.${type}.${PORTVERSION}.bz2
 PLIST_FILES+=		${SKKDIR}/SKK-JISYO.${type}${CDBSUFFIX}
 .endfor
 
@@ -37,9 +36,6 @@ CDBSUFFIX=		#empty
 NO_BUILD=		yes
 .endif
 
-post-extract:
-	@(cd ${WRKSRC}; ${BZIP2_CMD} -d *.bz2)
-
 .if defined(WITH_SKKJISYO_DELCOMMENTS)
 # Strip comments in transtation candidates list.
 # Candidate list starts with '/', and each candidate is concatenated by
@@ -48,7 +44,7 @@ post-extract:
 post-patch:
 .for type in ${SKK_JISYO_TYPE}
 	${REINPLACE_CMD} -e '/^[^;]/s,;[^/]*/,/,g' -e '/^>/d' \
-		${WRKSRC}/SKK-JISYO.${type}.${PORTVERSION}
+		${WRKSRC}/SKK-JISYO.${type}
 .endfor
 .endif
 
@@ -66,16 +62,16 @@ do-build:
 		END { \
 			print ""; \
 		}' \
-		< ${WRKSRC}/SKK-JISYO.${type}.${PORTVERSION} | \
+		< ${WRKSRC}/SKK-JISYO.${type} | \
 	${LOCALBASE}/bin/cdb -c -t - \
-		${WRKSRC}/SKK-JISYO.${type}.${PORTVERSION}${CDBSUFFIX}
+		${WRKSRC}/SKK-JISYO.${type}${CDBSUFFIX}
 .endfor
 .endif
 
 do-install:
 	${MKDIR} ${STAGEDIR}${PREFIX}/${SKKDIR}
 .for type in ${SKK_JISYO_TYPE}
-	${INSTALL_DATA} ${WRKSRC}/SKK-JISYO.${type}.${PORTVERSION}${CDBSUFFIX} \
+	${INSTALL_DATA} ${WRKSRC}/SKK-JISYO.${type}${CDBSUFFIX} \
 		${STAGEDIR}${PREFIX}/${SKKDIR}/SKK-JISYO.${type}${CDBSUFFIX}
 .endfor
 
diff --git a/japanese/skk-jisyo/distinfo b/japanese/skk-jisyo/distinfo
index 51b319eb4a8f..4a8dadd49b32 100644
--- a/japanese/skk-jisyo/distinfo
+++ b/japanese/skk-jisyo/distinfo
@@ -1,6 +1,3 @@
-SHA256 (skk-jisyo/SKK-JISYO.L.201409.bz2) = b5dfb47ae2d015faffd2df17674829e7a9984cadebb5c1ae7a8c2ecc684b3e1c
-SIZE (skk-jisyo/SKK-JISYO.L.201409.bz2) = 1694434
-SHA256 (skk-jisyo/SKK-JISYO.M.201409.bz2) = 82801d01d66e89ce8a9dc00516efd646a3acf5b2179aa8588177f9bf2aa2dad4
-SIZE (skk-jisyo/SKK-JISYO.M.201409.bz2) = 62529
-SHA256 (skk-jisyo/SKK-JISYO.S.201409.bz2) = c5edfca77db156bc61793747849793653acf897661138df2cd6fc644fde84862
-SIZE (skk-jisyo/SKK-JISYO.S.201409.bz2) = 25959
+TIMESTAMP = 1710656369
+SHA256 (skk-dev-dict-g20240130-b798a46_GH0.tar.gz) = aa49efa1dc407dcf15f8a07bcf6a8860aad0671314fdc01d194216145a5eac75
+SIZE (skk-dev-dict-g20240130-b798a46_GH0.tar.gz) = 17807823



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202403171013.42HADWhY085966>