summaryrefslogtreecommitdiff
path: root/japanese
diff options
context:
space:
mode:
authorMANTANI Nobutaka <nobutaka@FreeBSD.org>2005-11-13 13:43:45 +0000
committerMANTANI Nobutaka <nobutaka@FreeBSD.org>2005-11-13 13:43:45 +0000
commit01ec33687db1c44711e568780b2e0c90c39b0660 (patch)
treeb381d04656b42455e0bc098af6dcfe9b73ed68cd /japanese
parentAnother build fix, this time for 5.x. (diff)
- Fix optional dictionary support.
- Add SHA256 checksums to distinfo. PR: ports/88920 Submitted by: Yamashiro, Jun <yamajun@ofug.net>
Notes
Notes: svn path=/head/; revision=148103
Diffstat (limited to 'japanese')
-rw-r--r--japanese/anthy/Makefile33
-rw-r--r--japanese/anthy/distinfo8
2 files changed, 23 insertions, 18 deletions
diff --git a/japanese/anthy/Makefile b/japanese/anthy/Makefile
index 2179780b95ad..e49478928bb3 100644
--- a/japanese/anthy/Makefile
+++ b/japanese/anthy/Makefile
@@ -12,6 +12,7 @@ MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_JP}
MASTER_SITE_SUBDIR= ${PORTNAME}/17231
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}
DIST_SUBDIR= anthy
+EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
MAINTAINER= nobutaka@FreeBSD.org
COMMENT= Another kana-kanji conversion system
@@ -28,41 +29,41 @@ PLIST_SUB= ELISPDIR=${ELISPDIR}
.if defined(WITH_2CHDIC)
MASTER_SITES+= http://omaemona.sourceforge.net/packages/Zisyo/:2chdic
DISTFILES+= 2ch.t:2chdic
-EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
.endif
.if defined(WITH_ODIC)
MASTER_SITES+= http://www.ofug.net/~yamajun/files/:odic
-DISTFILES+= okinawa-20050410.t:odic
-EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
+EXTRACT_ONLY+= ${ODIC_SRCS}
+DISTFILES+= ${ODIC_SRCS}:odic
+ODIC_SRCS= ${ODIC_VERS}.tar.gz
+ODIC_VERS= okinawa-20051104
.endif
.if defined(WITH_GSKKDIC)
MASTER_SITES+= http://www.ohnolab.org/~kimoto/:gskk
-DISTFILES+= gskk-20041208.t.gz:gskk
-EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
+DISTFILES+= ${GSKK_SRCS}:gskk
+GSKK_SRCS= ${GSKK_VERS}.t.gz
+GSKK_VERS= gskk-20041208
.endif
post-extract:
.if defined(WITH_2CHDIC)
${CP} ${DISTDIR}/${DIST_SUBDIR}/2ch.t ${WRKSRC}/mkanthydic
- ${REINPLACE_CMD} -e 's/base.t extra.t/base.t extra.t 2ch.t/' \
- ${WRKSRC}/mkanthydic/Makefile.in
+ ${PRINTF} "/mkanthydic\\\\/placename.t/a\\\\\\nread @top_srcdir@/mkanthydic/2ch.t\\n" | \
+ ${REINPLACE_CMD} -f /dev/stdin ${WRKSRC}/mkanthydic/dict.args.in
.endif
.if defined(WITH_ODIC)
- ${CP} ${DISTDIR}/${DIST_SUBDIR}/okinawa-20050410.t ${WRKSRC}/mkanthydic
- ${REINPLACE_CMD} -e \
- 's/base.t extra.t/base.t extra.t okinawa-20050410.t/' \
- ${WRKSRC}/mkanthydic/Makefile.in
+ ${CP} ${WRKDIR}/${ODIC_VERS}/okinawa.t ${WRKSRC}/mkanthydic
+ ${PRINTF} "/mkanthydic\\\\/placename.t/a\\\\\\nread @top_srcdir@/mkanthydic/okinawa.t\\n" | \
+ ${REINPLACE_CMD} -f /dev/stdin ${WRKSRC}/mkanthydic/dict.args.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
+ ${CP} ${DISTDIR}/${DIST_SUBDIR}/${GSKK_SRCS} ${WRKSRC}/mkanthydic
+ ${GUNZIP_CMD} ${WRKSRC}/mkanthydic/${GSKK_SRCS}
+ ${PRINTF} "/mkanthydic\\\\/placename.t/a\\\\\\nread @top_srcdir@/mkanthydic/${GSKK_VERS}.t\\n" | \
+ ${REINPLACE_CMD} -f /dev/stdin ${WRKSRC}/mkanthydic/dict.args.in
.endif
post-patch:
diff --git a/japanese/anthy/distinfo b/japanese/anthy/distinfo
index 73d024eda190..e6e1a3f8764c 100644
--- a/japanese/anthy/distinfo
+++ b/japanese/anthy/distinfo
@@ -1,8 +1,12 @@
MD5 (anthy/anthy-7100b.tar.gz) = 099514a261b1c3757f95de034a4fbc0d
+SHA256 (anthy/anthy-7100b.tar.gz) = 9cd9b89da84c405c6695ef7824f74ec75a242cd08ae51f2a303cb729062bff6e
SIZE (anthy/anthy-7100b.tar.gz) = 3359606
MD5 (anthy/2ch.t) = d253bec53045cec3ba40f69a63f76612
+SHA256 (anthy/2ch.t) = 643a80d1f305e6b3cd7e3cf42afbe4c0328233416f6185172d6c6c2c76e28ec6
SIZE (anthy/2ch.t) = 142157
-MD5 (anthy/okinawa-20050410.t) = 8f0490e2ea847fc40cd59ea5fcad132b
-SIZE (anthy/okinawa-20050410.t) = 150102
+MD5 (anthy/okinawa-20051104.tar.gz) = 0b1fd1c8655e72599d03c30fa78ed7d2
+SHA256 (anthy/okinawa-20051104.tar.gz) = fa33212805fc62351146f107f908bde413389b43c1b190e9af277da0f3692268
+SIZE (anthy/okinawa-20051104.tar.gz) = 52191
MD5 (anthy/gskk-20041208.t.gz) = c7d1a20e54b862c8bf99a3eee8c8293b
+SHA256 (anthy/gskk-20041208.t.gz) = d366b0b76d8b39c33244aa289c758663c260ef4402eaf49f0f53d14d55efbad7
SIZE (anthy/gskk-20041208.t.gz) = 760867