aboutsummaryrefslogtreecommitdiff
path: root/japanese/skk-jisyo
diff options
context:
space:
mode:
authorMakoto Matsushita <matusita@FreeBSD.org>2009-04-02 01:37:50 +0000
committerMakoto Matsushita <matusita@FreeBSD.org>2009-04-02 01:37:50 +0000
commit1b011c950db74cd4aa9435b9b56b382c1d879162 (patch)
tree0e31dd6dd0d31c520cbadb0feca2183893c82777 /japanese/skk-jisyo
parentd3c74af9cf8dec349cc2845907b8b8f8bf8d992d (diff)
downloadports-1b011c950db74cd4aa9435b9b56b382c1d879162.tar.gz
ports-1b011c950db74cd4aa9435b9b56b382c1d879162.zip
Notes
Diffstat (limited to 'japanese/skk-jisyo')
-rw-r--r--japanese/skk-jisyo/Makefile16
-rw-r--r--japanese/skk-jisyo/distinfo18
2 files changed, 16 insertions, 18 deletions
diff --git a/japanese/skk-jisyo/Makefile b/japanese/skk-jisyo/Makefile
index a294f58aee0c..9b5e7b797af2 100644
--- a/japanese/skk-jisyo/Makefile
+++ b/japanese/skk-jisyo/Makefile
@@ -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
diff --git a/japanese/skk-jisyo/distinfo b/japanese/skk-jisyo/distinfo
index 1af5a4cae8c2..b57a671dc5af 100644
--- a/japanese/skk-jisyo/distinfo
+++ b/japanese/skk-jisyo/distinfo
@@ -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