Use the latest SKK dictionary snapshot to generate the migemo dictionary.

This commit is contained in:
MANTANI Nobutaka 2005-06-18 17:38:57 +00:00
parent 593f41b427
commit 445832b421
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=137689
2 changed files with 22 additions and 2 deletions

View File

@ -7,9 +7,14 @@
PORTNAME= migemo
PORTVERSION= 0.40
PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= japanese elisp
MASTER_SITES= http://namazu.org/~satoru/migemo/
MASTER_SITES= http://namazu.org/~satoru/migemo/ \
http://people.freebsd.org/~nobutaka/distfiles/:skkdic
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${SKKDIC_FILE}.bz2:skkdic
DIST_SUBDIR= migemo
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
MAINTAINER= nobutaka@FreeBSD.org
COMMENT?= Japanese incremental search tool
@ -29,12 +34,24 @@ RUN_DEPENDS+= ${RUBY_SITELIBDIR}/romkan.rb:${PORTSDIR}/japanese/ruby-romkan \
CONFIGURE_ARGS+=--with-rubydir=${RUBY_SITELIBDIR}
SKKDIC_FILE= SKK-JISYO.L-20050618
.include <bsd.port.pre.mk>
.if ${ARCH} == "ia64"
BROKEN= "Does not compile on ia64"
.endif
post-extract:
.if !defined(EMACS_PORT_NAME)
${BZIP2_CMD} -cd ${DISTDIR}/${DIST_SUBDIR}/${SKKDIC_FILE}.bz2 > ${WRKSRC}/SKK-JISYO.L
.endif
post-configure:
.if !defined(EMACS_PORT_NAME)
(cd ${WRKSRC}; ${CAT} SKK-JISYO.L | ${RUBY} migemo-convert.rb > migemo-dict)
.endif
post-install:
.if defined(EMACS_PORT_NAME)
@${CAT} ${PKGMESSAGE}

View File

@ -1 +1,4 @@
MD5 (migemo-0.40.tar.gz) = 7021c45096b6816fccf16f8389324a91
MD5 (migemo/migemo-0.40.tar.gz) = 7021c45096b6816fccf16f8389324a91
SIZE (migemo/migemo-0.40.tar.gz) = 1674941
MD5 (migemo/SKK-JISYO.L-20050618.bz2) = 1d08882cd2b103f28f0cbb8aeb166acd
SIZE (migemo/SKK-JISYO.L-20050618.bz2) = 1624137