summaryrefslogtreecommitdiff
path: root/japanese
diff options
context:
space:
mode:
authorHajimu UMEMOTO <ume@FreeBSD.org>2005-03-09 18:49:42 +0000
committerHajimu UMEMOTO <ume@FreeBSD.org>2005-03-09 18:49:42 +0000
commit0b2730b93e78651f60973e81782ffe94744819d3 (patch)
tree25ef342a6bcb0f2bc9c218179be828bc4f27275b /japanese
parentUpdate to DAT 4443 (diff)
add a knob to embed gskk (SKK's dictionary for Canna) into Anthy.
Approved by: nobutaka (maintainer)
Notes
Notes: svn path=/head/; revision=130748
Diffstat (limited to 'japanese')
-rw-r--r--japanese/anthy/Makefile14
-rw-r--r--japanese/anthy/distinfo2
2 files changed, 16 insertions, 0 deletions
diff --git a/japanese/anthy/Makefile b/japanese/anthy/Makefile
index 00cac7732c44..483fc2233515 100644
--- a/japanese/anthy/Makefile
+++ b/japanese/anthy/Makefile
@@ -38,6 +38,12 @@ DISTFILES+= okinawa-20041220.t:odic
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
.endif
+.if defined(WITH_GSKKDIC)
+MASTER_SITES+= http://www.ohnolab.org/~kimoto/:gskk
+DISTFILES+= gskk-20041208.t.gz:gskk
+EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
+.endif
+
post-extract:
.if defined(WITH_2CHDIC)
@${CP} ${DISTDIR}/${DIST_SUBDIR}/2ch.t ${WRKSRC}/mkanthydic
@@ -52,6 +58,14 @@ post-extract:
${WRKSRC}/mkanthydic/Makefile.in
.endif
+.if defined(WITH_GSKKDIC)
+ ${CP} ${DISTDIR}/${DIST_SUBDIR}/gskk-20041208.t.gz ${WRKSRC}/mkanthydic
+ ${GUNZIP_CMD} ${WRKSRC}/mkanthydic/gskk-20041208.t.gz
+ @${REINPLACE_CMD} \
+ -e 's/base.t extra.t/base.t extra.t gskk-20041208.t/' \
+ ${WRKSRC}/mkanthydic/Makefile.in
+.endif
+
post-patch:
@${REINPLACE_CMD} -e \
's| install-lispLISP||g' ${WRKSRC}/src-util/Makefile.in
diff --git a/japanese/anthy/distinfo b/japanese/anthy/distinfo
index 26f3d96f7748..7ec35fb4c4e4 100644
--- a/japanese/anthy/distinfo
+++ b/japanese/anthy/distinfo
@@ -1,5 +1,7 @@
MD5 (anthy/anthy-6300.tar.gz) = 198ff6175994bf4ff40c50b1ec3e6734
SIZE (anthy/anthy-6300.tar.gz) = 2020760
+MD5 (anthy/gskk-20041208.t.gz) = c7d1a20e54b862c8bf99a3eee8c8293b
+SIZE (anthy/gskk-20041208.t.gz) = 760867
MD5 (anthy/2ch.t) = d253bec53045cec3ba40f69a63f76612
SIZE (anthy/2ch.t) = 142157
MD5 (anthy/okinawa-20041220.t) = 0a732577fee039362d1d392b742d67ae