diff options
author | nobutaka <nobutaka@FreeBSD.org> | 2014-06-28 20:29:23 +0800 |
---|---|---|
committer | nobutaka <nobutaka@FreeBSD.org> | 2014-06-28 20:29:23 +0800 |
commit | 2bac822e389934888aa4a156ee5eccf9d9fd6bbb (patch) | |
tree | 4e352d014b140c00ddad127f0c8ac8f432b913c2 /japanese/migemo.el | |
parent | b94aea0ba51058948aa2bf9fb5741da19f440641 (diff) | |
download | freebsd-ports-gnome-2bac822e389934888aa4a156ee5eccf9d9fd6bbb.tar.gz freebsd-ports-gnome-2bac822e389934888aa4a156ee5eccf9d9fd6bbb.tar.zst freebsd-ports-gnome-2bac822e389934888aa4a156ee5eccf9d9fd6bbb.zip |
Add migemo.el, Japanese incremental search tool for Emacs.
This is forked version from the original one bundled with migemo.
Diffstat (limited to 'japanese/migemo.el')
-rw-r--r-- | japanese/migemo.el/Makefile | 43 | ||||
-rw-r--r-- | japanese/migemo.el/distinfo | 2 | ||||
-rw-r--r-- | japanese/migemo.el/files/patch-README.md | 11 | ||||
-rw-r--r-- | japanese/migemo.el/pkg-descr | 20 | ||||
-rw-r--r-- | japanese/migemo.el/pkg-message | 18 |
5 files changed, 94 insertions, 0 deletions
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) + +=========================================================================== |