aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--japanese/Makefile1
-rw-r--r--japanese/migemo.el/Makefile43
-rw-r--r--japanese/migemo.el/distinfo2
-rw-r--r--japanese/migemo.el/files/patch-README.md11
-rw-r--r--japanese/migemo.el/pkg-descr20
-rw-r--r--japanese/migemo.el/pkg-message18
6 files changed, 95 insertions, 0 deletions
diff --git a/japanese/Makefile b/japanese/Makefile
index 5137ec7dcb07..ebc8d0180a12 100644
--- a/japanese/Makefile
+++ b/japanese/Makefile
@@ -168,6 +168,7 @@
SUBDIR += migemo
SUBDIR += migemo-emacs23
SUBDIR += migemo-xemacs-devel-mule
+ SUBDIR += migemo.el
SUBDIR += mikachan-ttfonts
SUBDIR += mime_pls
SUBDIR += ming
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 <nobutaka@FreeBSD.org>
+# $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 <bsd.port.options.mk>
+.include <bsd.port.pre.mk>
+
+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 <bsd.port.post.mk>
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)
+
+===========================================================================