From 2bac822e389934888aa4a156ee5eccf9d9fd6bbb Mon Sep 17 00:00:00 2001 From: nobutaka Date: Sat, 28 Jun 2014 12:29:23 +0000 Subject: Add migemo.el, Japanese incremental search tool for Emacs. This is forked version from the original one bundled with migemo. --- japanese/migemo.el/Makefile | 43 ++++++++++++++++++++++++++++++++ japanese/migemo.el/distinfo | 2 ++ japanese/migemo.el/files/patch-README.md | 11 ++++++++ japanese/migemo.el/pkg-descr | 20 +++++++++++++++ japanese/migemo.el/pkg-message | 18 +++++++++++++ 5 files changed, 94 insertions(+) create mode 100644 japanese/migemo.el/Makefile create mode 100644 japanese/migemo.el/distinfo create mode 100644 japanese/migemo.el/files/patch-README.md create mode 100644 japanese/migemo.el/pkg-descr create mode 100644 japanese/migemo.el/pkg-message (limited to 'japanese/migemo.el') diff --git a/japanese/migemo.el/Makefile b/japanese/migemo.el/Makefile new file mode 100644 index 000000000000..81eb16fbd25c --- /dev/null +++ b/japanese/migemo.el/Makefile @@ -0,0 +1,43 @@ +# Created by: MANTANI Nobutaka +# $FreeBSD$ + +PORTNAME= migemo.el +PORTVERSION= 1.9 +CATEGORIES= japanese elisp + +MAINTAINER= nobutaka@FreeBSD.org +COMMENT= Japanese incremental search tool for Emacs + +LICENSE= GPLv2 + +USE_EMACS= yes +USE_GITHUB= yes + +RUN_DEPENDS= cmigemo:${PORTSDIR}/japanese/cmigemo + +GH_ACCOUNT= emacs-jp +GH_PROJECT= migemo +GH_TAGNAME= 38f4756abaa5d0f363126b85c873f1e1b08b50ee +GH_COMMIT= 38f4756 + +CONFLICTS= ja-migemo-emacs24-[0-9]* + +NO_BUILD= yes + +PLIST_FILES= ${EMACS_SITE_LISPDIR}/migemo.el +PORTDOCS= README.md + +OPTIONS_DEFINE= DOCS +OPTINOS_DEFAULT= DOCS + +.include +.include + +do-install: + ${INSTALL_DATA} ${WRKSRC}/migemo.el ${STAGEDIR}${PREFIX}/${EMACS_SITE_LISPDIR} +.if ${PORT_OPTIONS:MDOCS} + ${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR} +.endif + +.include diff --git a/japanese/migemo.el/distinfo b/japanese/migemo.el/distinfo new file mode 100644 index 000000000000..e9209be7d26a --- /dev/null +++ b/japanese/migemo.el/distinfo @@ -0,0 +1,2 @@ +SHA256 (migemo.el-1.9.tar.gz) = df33c7266c91898d867b1d65d16a130341da67287e0a748441729c7b1c7f13ff +SIZE (migemo.el-1.9.tar.gz) = 59405 diff --git a/japanese/migemo.el/files/patch-README.md b/japanese/migemo.el/files/patch-README.md new file mode 100644 index 000000000000..0dbde0314dfc --- /dev/null +++ b/japanese/migemo.el/files/patch-README.md @@ -0,0 +1,11 @@ +--- README.md.orig 2014-06-18 22:56:41.000000000 +0900 ++++ README.md 2014-06-18 22:56:52.000000000 +0900 +@@ -24,7 +24,7 @@ + (setq migemo-options '("-q" "--emacs")) + + ;; Set your installed path +-(setq migemo-dictionary "/usr/local/share/migemo/utf-8/migemo-dict") ++(setq migemo-dictionary "/usr/local/share/cmigemo/utf-8/migemo-dict") + + (setq migemo-user-dictionary nil) + (setq migemo-regex-dictionary nil) diff --git a/japanese/migemo.el/pkg-descr b/japanese/migemo.el/pkg-descr new file mode 100644 index 000000000000..d2d375dab79a --- /dev/null +++ b/japanese/migemo.el/pkg-descr @@ -0,0 +1,20 @@ +migemo.el is a Japanese incremental search tool for Emacs. +You can search Japanese words on Emacs without Kanji conversion. +This migemo.el is forked version from the original one bundled with migemo. + +To use migemo.el, please set the following elisp to your own +~/.emacs.d/init.el file. + +(require 'migemo) +(setq migemo-command "cmigemo") +(setq migemo-options '("-q" "--emacs")) + +(setq migemo-dictionary "/usr/local/share/cmigemo/utf-8/migemo-dict") + +(setq migemo-user-dictionary nil) +(setq migemo-regex-dictionary nil) +(setq migemo-coding-system 'utf-8-unix) +(load-library "migemo") +(migemo-init) + +WWW: https://github.com/emacs-jp/migemo diff --git a/japanese/migemo.el/pkg-message b/japanese/migemo.el/pkg-message new file mode 100644 index 000000000000..1097b4063fdf --- /dev/null +++ b/japanese/migemo.el/pkg-message @@ -0,0 +1,18 @@ +=========================================================================== + +To use migemo.el, please set the following elisp to your own +~/.emacs.d/init.el file. + +(require 'migemo) +(setq migemo-command "cmigemo") +(setq migemo-options '("-q" "--emacs")) + +(setq migemo-dictionary "/usr/local/share/cmigemo/utf-8/migemo-dict") + +(setq migemo-user-dictionary nil) +(setq migemo-regex-dictionary nil) +(setq migemo-coding-system 'utf-8-unix) +(load-library "migemo") +(migemo-init) + +=========================================================================== -- cgit