1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00

Update to 200904, dictionary files as of Apr/01/2009.

Since the only consumer of CDB version of dictionary is dbskk-cdb, and
dbskkd-cdb now depends on tinycdb, use tinycdb here.
This commit is contained in:
Makoto Matsushita 2009-04-02 01:37:50 +00:00
parent d3c74af9cf
commit 1b011c950d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=231458
2 changed files with 16 additions and 18 deletions

View File

@ -6,7 +6,7 @@
#
PORTNAME= skk-jisyo
PORTVERSION= 200707
PORTVERSION= 200904
CATEGORIES= japanese
MASTER_SITES= ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= matusita/${PORTNAME}
@ -19,7 +19,7 @@ MAINTAINER?= matusita@FreeBSD.org
COMMENT?= Jisyo (dictionary) files for the SKK Japanese-input software
.if defined(WITH_SKKJISYO_CDB)
BUILD_DEPENDS= ${LOCALBASE}/bin/cdbmake:${PORTSDIR}/databases/cdb
BUILD_DEPENDS= ${LOCALBASE}/bin/cdb:${PORTSDIR}/databases/tinycdb
.endif
SKKDIR?= share/skk
@ -65,18 +65,16 @@ do-patch:
# See also: <URL:http://cr.yp.to/cdb/cdbmake.html>.
do-build:
.for type in ${SKK_JISYO_TYPE}
${AWK} '/^[^;]/ { \
k = $$1; didx = index($$0, $$2); \
d = substr($$0, didx); \
print "+" length(k) "," length(d) ":" k "->" d; \
LC_ALL=C ${AWK} '/^[^;]/ { \
s = substr($$0, index($$0, " ") + 1); \
print "+" length($$1) "," length(s) ":" $$1 "->" s; \
} \
END { \
print ""; \
}' \
< ${WRKDIR}/SKK-JISYO.${type}.${PORTVERSION} | \
${LOCALBASE}/bin/cdbmake \
${WRKDIR}/SKK-JISYO.${type}.${PORTVERSION}${CDBSUFFIX} \
${WRKDIR}/SKK-JISYO.${type}.${PORTVERSION}.tmp
${LOCALBASE}/bin/cdb -c -t - \
${WRKDIR}/SKK-JISYO.${type}.${PORTVERSION}${CDBSUFFIX}
.endfor
.endif

View File

@ -1,9 +1,9 @@
MD5 (skk-jisyo/SKK-JISYO.L.200707.bz2) = c44994443bc6a55d89a3189ff44f6ad4
SHA256 (skk-jisyo/SKK-JISYO.L.200707.bz2) = dee369fd507826fd07379a97dc6ccd8dad8b330851b7a67e38280aa6715f438d
SIZE (skk-jisyo/SKK-JISYO.L.200707.bz2) = 1680735
MD5 (skk-jisyo/SKK-JISYO.M.200707.bz2) = c3c8d7bf8645f8ac88cd255311de220c
SHA256 (skk-jisyo/SKK-JISYO.M.200707.bz2) = 82801d01d66e89ce8a9dc00516efd646a3acf5b2179aa8588177f9bf2aa2dad4
SIZE (skk-jisyo/SKK-JISYO.M.200707.bz2) = 62529
MD5 (skk-jisyo/SKK-JISYO.S.200707.bz2) = 8201d91d4450f628b2badf9092b5cc19
SHA256 (skk-jisyo/SKK-JISYO.S.200707.bz2) = c5edfca77db156bc61793747849793653acf897661138df2cd6fc644fde84862
SIZE (skk-jisyo/SKK-JISYO.S.200707.bz2) = 25959
MD5 (skk-jisyo/SKK-JISYO.L.200904.bz2) = c4ac9aa5b43c89547e6dd1da50d701e4
SHA256 (skk-jisyo/SKK-JISYO.L.200904.bz2) = b46c396983fffea85fe7663f9e9bf675fe259946b7f6ddc5953ec11698a9a5f3
SIZE (skk-jisyo/SKK-JISYO.L.200904.bz2) = 1694431
MD5 (skk-jisyo/SKK-JISYO.M.200904.bz2) = c3c8d7bf8645f8ac88cd255311de220c
SHA256 (skk-jisyo/SKK-JISYO.M.200904.bz2) = 82801d01d66e89ce8a9dc00516efd646a3acf5b2179aa8588177f9bf2aa2dad4
SIZE (skk-jisyo/SKK-JISYO.M.200904.bz2) = 62529
MD5 (skk-jisyo/SKK-JISYO.S.200904.bz2) = 8201d91d4450f628b2badf9092b5cc19
SHA256 (skk-jisyo/SKK-JISYO.S.200904.bz2) = c5edfca77db156bc61793747849793653acf897661138df2cd6fc644fde84862
SIZE (skk-jisyo/SKK-JISYO.S.200904.bz2) = 25959