diff options
author | MANTANI Nobutaka <nobutaka@FreeBSD.org> | 2005-06-18 17:38:57 +0000 |
---|---|---|
committer | MANTANI Nobutaka <nobutaka@FreeBSD.org> | 2005-06-18 17:38:57 +0000 |
commit | 445832b421693544b0900dbb2add247e7b700e05 (patch) | |
tree | bebac475104b959dc1365f2f88f874654b5267fd /japanese/migemo/Makefile | |
parent | 593f41b4273d005cd3277ca7a3779a5d75ebabb8 (diff) |
Use the latest SKK dictionary snapshot to generate the migemo dictionary.
Notes
Notes:
svn path=/head/; revision=137689
Diffstat (limited to 'japanese/migemo/Makefile')
-rw-r--r-- | japanese/migemo/Makefile | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/japanese/migemo/Makefile b/japanese/migemo/Makefile index d73e9b1ed97b..f9b083e467da 100644 --- a/japanese/migemo/Makefile +++ b/japanese/migemo/Makefile @@ -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} |