mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 01:26:39 -04:00
japanese/anthy-unicode: Add new port
Anthy Unicode is a library for Japanese text input. It is a fork of Anthy. PR: 282941 Reported by: mew14930xvi@inbox.lv
This commit is contained in:
parent
5cad8a6dc5
commit
5dd70ed34a
8 changed files with 175 additions and 0 deletions
|
@ -14,6 +14,7 @@
|
||||||
SUBDIR += alias-fonts
|
SUBDIR += alias-fonts
|
||||||
SUBDIR += another-htmllint
|
SUBDIR += another-htmllint
|
||||||
SUBDIR += anthy
|
SUBDIR += anthy
|
||||||
|
SUBDIR += anthy-unicode
|
||||||
SUBDIR += aobook
|
SUBDIR += aobook
|
||||||
SUBDIR += bible_names-fpw
|
SUBDIR += bible_names-fpw
|
||||||
SUBDIR += boiled-mozc
|
SUBDIR += boiled-mozc
|
||||||
|
|
33
japanese/anthy-unicode/Makefile
Normal file
33
japanese/anthy-unicode/Makefile
Normal file
|
@ -0,0 +1,33 @@
|
||||||
|
PORTNAME= anthy-unicode
|
||||||
|
DISTVERSION= 1.0.0.20240502
|
||||||
|
CATEGORIES= japanese
|
||||||
|
|
||||||
|
MAINTAINER= mew14930xvi@inbox.lv
|
||||||
|
COMMENT= Library for Japanese text input
|
||||||
|
|
||||||
|
LICENSE= GPLv2 LGPL21
|
||||||
|
LICENSE_COMB= multi
|
||||||
|
LICENSE_FILE_GPLv2= ${WRKSRC}/alt-cannadic/COPYING
|
||||||
|
LICENSE_FILE_LGPL21= ${WRKSRC}/COPYING
|
||||||
|
|
||||||
|
USES= autoreconf libtool pkgconfig
|
||||||
|
USE_GITHUB= yes
|
||||||
|
GH_ACCOUNT= fujiwarat
|
||||||
|
|
||||||
|
USE_LDCONFIG= yes
|
||||||
|
|
||||||
|
GNU_CONFIGURE= yes
|
||||||
|
INSTALL_TARGET= install-strip
|
||||||
|
|
||||||
|
CONFLICTS_INSTALL= ja-anthy
|
||||||
|
|
||||||
|
ELISPDIR= share/emacs/site-lisp/anthy-unicode
|
||||||
|
PLIST_SUB= ELISPDIR=${ELISPDIR}
|
||||||
|
|
||||||
|
post-install:
|
||||||
|
@${MKDIR} ${STAGEDIR}${PREFIX}/${ELISPDIR}
|
||||||
|
${INSTALL_DATA} ${WRKSRC}/src-util/*.el ${STAGEDIR}${PREFIX}/${ELISPDIR}
|
||||||
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||||
|
${INSTALL_DATA} ${WRKSRC}/doc/ELISP ${STAGEDIR}${DOCSDIR}
|
||||||
|
|
||||||
|
.include <bsd.port.mk>
|
3
japanese/anthy-unicode/distinfo
Normal file
3
japanese/anthy-unicode/distinfo
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
TIMESTAMP = 1732415413
|
||||||
|
SHA256 (fujiwarat-anthy-unicode-1.0.0.20240502_GH0.tar.gz) = 1aa66057864a0427e609c3388bbb688002878efdb76e38f2eaa104f47351efea
|
||||||
|
SIZE (fujiwarat-anthy-unicode-1.0.0.20240502_GH0.tar.gz) = 4850212
|
83
japanese/anthy-unicode/files/patch-doc_ELISP
Normal file
83
japanese/anthy-unicode/files/patch-doc_ELISP
Normal file
|
@ -0,0 +1,83 @@
|
||||||
|
--- doc/ELISP.orig 2024-11-24 00:02:10 UTC
|
||||||
|
+++ doc/ELISP
|
||||||
|
@@ -1,6 +1,6 @@ This document is written in Japanese.
|
||||||
|
This document is written in Japanese.
|
||||||
|
|
||||||
|
-Emacs縺九iAnthy縺ョ蜷<EFBDAE>ゥ溯<EFBDA9>繧堤畑縺<E79591>k譁ケ豕輔r險倩ソー縺励◆繝峨く繝・繝。繝ウ繝医〒縺<E38092>
|
||||||
|
+Emacs縺九iAnthy-unicode縺ョ蜷<EFBDAE>ゥ溯<EFBDA9>繧堤畑縺<E79591>k譁ケ豕輔r險倩ソー縺励◆繝峨く繝・繝。繝ウ繝医〒縺<E38092>
|
||||||
|
|
||||||
|
|
||||||
|
(1)繧ス繝輔ヨ繧ヲ繧ァ繧「縺ョ讒区<E8AE92>
|
||||||
|
@@ -14,7 +14,7 @@ Emacs縺九iAnthy縺ョ蜷<EFBDAE>ゥ溯<EFBDA9>繧堤畑縺<E79591>k譁ケ豕輔r險倩ソ
|
||||||
|
|
||||||
|
|
||||||
|
(1)繧ス繝輔ヨ繧ヲ繧ァ繧「縺ョ讒区<E8AE92>
|
||||||
|
- Anthy縺ョemacs蟇セ蠢懊<E8A0A2>譌・譛ャ隱槫<E99AB1>蜉幃Κ縺ィ蛟倶ココ霎樊嶌縺ョ邂。逅<EFBDA1><E98085>
|
||||||
|
+ Anthy-unicode縺ョemacs蟇セ蠢懊<E8A0A2>譌・譛ャ隱槫<E99AB1>蜉幃Κ縺ィ蛟倶ココ霎樊嶌縺ョ邂。逅<EFBDA1><E98085>
|
||||||
|
莠後▽縺ョ驛ィ蛻<EFBDA8>〒讒区<E8AE92>縺輔l縺ヲ縺<EFBDA6>∪縺吶<E590B6>
|
||||||
|
縺ゥ縺。繧峨<E7B9A7>驛ィ蛻<EFBDA8>belisp縺ァ險倩ソー縺輔l縺溘ヵ繝ュ繝ウ繝医お繝ウ繝峨°繧<C2B0>
|
||||||
|
繧ウ繝槭Φ繝峨r襍キ蜍輔@縺ヲ縲√ヱ繧、繝励〒騾壻ソ。縺吶k縺薙→縺ォ繧医▲縺ヲ
|
||||||
|
@@ -24,24 +24,24 @@ Emacs縺九iAnthy縺ョ蜷<EFBDAE>ゥ溯<EFBDA9>繧堤畑縺<E79591>k譁ケ豕輔r險倩ソ
|
||||||
|
|
||||||
|
|
||||||
|
(2)菴ソ縺<EFBDBF><E7B8BA>縺倥a繧九◆繧√↓
|
||||||
|
- *縺セ縺哂nthy繧帝壼クク縺ォ繧、繝ウ繧ケ繝医<E7B99D>繝ォ縺励※縺上□縺輔>縲<EFBC9E>
|
||||||
|
+ *縺セ縺哂nthy-unicode繧帝壼クク縺ォ繧、繝ウ繧ケ繝医<E7B99D>繝ォ縺励※縺上□縺輔>縲<EFBC9E>
|
||||||
|
*谺。縺ォemacs lisp繧偵Ο繝シ繝峨☆繧玖ィュ螳壹r縺励∪縺吶<E590B6>
|
||||||
|
荳闊ャ逧<EFBDAC>↓縺ッ ~/.emacs 縺ォ
|
||||||
|
- (load-library "anthy")
|
||||||
|
+ (load-library "anthy-unicode")
|
||||||
|
縺ィ縺<EFBDA8>≧陦後r霑ス蜉<EFBDBD>縺励∪縺<E288AA>
|
||||||
|
- *縺昴@縺ヲ菴ソ逕ィ縺吶kinput-method縺ィ縺励※Anthy繧帝∈謚槭@縺セ縺<EFBDBE>
|
||||||
|
+ *縺昴@縺ヲ菴ソ逕ィ縺吶kinput-method縺ィ縺励※Anthy-unicode繧帝∈謚槭@縺セ縺<EFBDBE>
|
||||||
|
縺薙l繧ゆク闊ャ逧<EFBDAC>↓縺ッ ~/.emacs 縺ォ
|
||||||
|
- (setq default-input-method 'japanese-anthy)
|
||||||
|
+ (setq default-input-method 'japanese-anthy-unicode)
|
||||||
|
縺ィ縺<EFBDA8>≧陦後r霑ス蜉<EFBDBD>縺吶k縺薙→縺ォ繧医▲縺ヲ陦後>縺セ縺<EFBDBE>
|
||||||
|
*emacs縺ョ繧、繝ウ繧ケ繝医<E7B99D>繝ォ縺輔l縺ヲ縺<EFBDA6>k蝣エ謇縺ィanthy縺ョ
|
||||||
|
繧、繝ウ繧ケ繝医<E7B99D>繝ォ縺輔l縺ヲ縺<EFBDA6>k蝣エ謇縺檎焚縺ェ繧句<E7B9A7>エ蜷医↓縺ッ
|
||||||
|
~/.emacs 縺ォ荳玖ィ倥<EFBDA8>陦後r霑ス蜉<EFBDBD>縺励※縺上□縺輔>
|
||||||
|
(setq load-path
|
||||||
|
- (cons "/usr/local/share/emacs/site-lisp/anthy/" load-path))
|
||||||
|
+ (cons "/usr/local/share/emacs/site-lisp/anthy-unicode/" load-path))
|
||||||
|
emacs繧偵う繝ウ繧ケ繝医<E7B99D>繝ォ縺励◆蜈医<E89C88>prefix縺ィanthy繧偵う繝ウ繧ケ繝医<E7B99D>繝ォ縺励◆蜈医<E89C88>prefix縺<78>
|
||||||
|
驕輔≧蝣エ蜷医<E89CB7>
|
||||||
|
~/.emacs 縺ォ荳玖ィ倥<EFBDA8>陦後r霑ス蜉<EFBDBD>縺励※縺上□縺輔>
|
||||||
|
- (load-file "/usr/local/share/emacs/site-lisp/anthy/leim-list.el")
|
||||||
|
+ (load-file "/usr/local/share/emacs/site-lisp/anthy-unicode/leim-list.el")
|
||||||
|
|
||||||
|
|
||||||
|
(3)譌・譛ャ隱槫<E99AB1>蜉帙<E89C89>譁ケ豕<EFBDB9>
|
||||||
|
@@ -84,22 +84,22 @@ Emacs縺九iAnthy縺ョ蜷<EFBDAE>ゥ溯<EFBDA9>繧堤畑縺<E79591>k譁ケ豕輔r險倩ソ
|
||||||
|
~/.emacs縺ォ霑ス蜉<EFBDBD>縺吶k蜀<EFBD8B>ョケ縺ョ隱ャ譏弱〒縺<E38092>
|
||||||
|
譌・譛ャ隱槭r繝<EFBD92>ヵ繧ゥ繝ォ繝医↓縺吶k
|
||||||
|
(set-language-environment "Japanese")
|
||||||
|
- anthy.el 繧偵Ο繝シ繝峨〒縺阪k繧医≧縺ォ縺吶k
|
||||||
|
- (push "/usr/local/share/emacs/site-lisp/anthy/" load-path)
|
||||||
|
- anthy.el繧偵Ο繝シ繝峨☆繧<E29886>
|
||||||
|
- (load-library "anthy")
|
||||||
|
- japanese-anthy 繧偵ョ繝輔か繝ォ繝医<E7B99D>input-method縺ォ縺吶k
|
||||||
|
- (setq default-input-method 'japanese-anthy)
|
||||||
|
+ anthy-unicode.el 繧偵Ο繝シ繝峨〒縺阪k繧医≧縺ォ縺吶k
|
||||||
|
+ (push "/usr/local/share/emacs/site-lisp/anthy-unicode/" load-path)
|
||||||
|
+ anthy-unicode.el繧偵Ο繝シ繝峨☆繧<E29886>
|
||||||
|
+ (load-library "anthy-unicode")
|
||||||
|
+ japanese-anthy-unicode 繧偵ョ繝輔か繝ォ繝医<E7B99D>input-method縺ォ縺吶k
|
||||||
|
+ (setq default-input-method 'japanese-anthy-unicode)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
(6)謚陦鍋噪縺ェ隧ウ邏ー
|
||||||
|
- *src-util/anthy.el縺憩macs逕ィ縺ョanthy縺ョ繝輔Ο繝ウ繝医お繝ウ繝峨〒縺吶<E590B6>
|
||||||
|
- *src-util/anthy-dic.el縺憩macs逕ィ縺ョanthy縺ョ繝輔Ο繝ウ繝医お繝ウ繝峨〒縺吶<E590B6>
|
||||||
|
+ *src-util/anthy-unicode.el縺憩macs逕ィ縺ョanthy-unicode縺ョ繝輔Ο繝ウ繝医お繝ウ繝峨〒縺吶<E590B6>
|
||||||
|
+ *src-util/anthy-unicode-dic.el縺憩macs逕ィ縺ョanthy-unicode縺ョ繝輔Ο繝ウ繝医お繝ウ繝峨〒縺吶<E590B6>
|
||||||
|
*emacs縺ョsite-lisp縺ョ繝<EFBDAE>ぅ繝ャ繧ッ繝医Μ縺ォ繧、繝ウ繧ケ繝医<E7B99D>繝ォ縺輔l縺セ縺吶<E590B6>
|
||||||
|
*emacs20.7縺ェ縺ゥ縺ァ蜍穂ス懊@縺セ縺吶<EFBFBD>
|
||||||
|
*leim縺ョAPI縺ォ繧よコ匁侠縺励※縺<E280BB>∪縺吶<E590B6>
|
||||||
|
- *anthy.el 縺ッ蜷梧「ア縺輔l縺ヲ縺<EFBDA6>kanthy-agent縺ィ縺<EFBDA8>≧繧ウ繝槭Φ繝峨r襍キ蜍輔@縺ヲ
|
||||||
|
+ *anthy-unicode.el 縺ッ蜷梧「ア縺輔l縺ヲ縺<EFBDA6>kanthy-agent-unicode縺ィ縺<EFBDA8>≧繧ウ繝槭Φ繝峨r襍キ蜍輔@縺ヲ
|
||||||
|
繝代う繝励〒騾壻ソ。繧偵☆繧九%縺ィ縺ォ繧医▲縺ヲ螟画鋤縺ョ蜍穂ス懊r陦後>縺セ縺吶<E590B6>
|
||||||
|
- *anthy-dic.el 縺ッ蜷梧「ア縺輔l縺ヲ縺<EFBDA6>kanthy-dic-tool縺ィ縺<EFBDA8>≧繧ウ繝槭Φ繝峨r
|
||||||
|
+ *anthy-unicode-dic.el 縺ッ蜷梧「ア縺輔l縺ヲ縺<EFBDA6>kanthy-dic-tool-unicode縺ィ縺<EFBDA8>≧繧ウ繝槭Φ繝峨r
|
||||||
|
襍キ蜍輔@縺ヲ繝代う繝励〒騾壻ソ。繧定。後≧縺薙→縺ォ繧医▲縺ヲ縲∝倶ココ霎樊嶌縺ォ繧「繧ッ繧サ繧ケ縺励∪縺吶<E590B6>
|
10
japanese/anthy-unicode/pkg-descr
Normal file
10
japanese/anthy-unicode/pkg-descr
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
Anthy is a japanese input method library that can be used from many setups.
|
||||||
|
|
||||||
|
Anthy Unicode is another Anthy project forked from Anthy since Anthy is no
|
||||||
|
longer maintained.
|
||||||
|
|
||||||
|
Anthy Unicode's purposes are:
|
||||||
|
1. Convert internal codes from EUC-JP to UTF-8
|
||||||
|
2. Migrate the user fiels from $HOME/.anthy to $XDG_CONFIG_HOME/anthy
|
||||||
|
3. Maintain new eras
|
||||||
|
4. Enhance th word conversions
|
11
japanese/anthy-unicode/pkg-message
Normal file
11
japanese/anthy-unicode/pkg-message
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
[
|
||||||
|
{ type: install
|
||||||
|
message: <<EOM
|
||||||
|
To activate anthy-unicode, you will need to add the following lines to
|
||||||
|
your ~/.emacs:
|
||||||
|
|
||||||
|
(set-language-environment "japanese")
|
||||||
|
(setq default-input-method "japanese-anthy-unicode")
|
||||||
|
EOM
|
||||||
|
}
|
||||||
|
]
|
32
japanese/anthy-unicode/pkg-plist
Normal file
32
japanese/anthy-unicode/pkg-plist
Normal file
|
@ -0,0 +1,32 @@
|
||||||
|
bin/anthy-agent-unicode
|
||||||
|
bin/anthy-dic-tool-unicode
|
||||||
|
bin/anthy-morphological-analyzer-unicode
|
||||||
|
%%ETCDIR%%.conf
|
||||||
|
include/anthy-unicode-1.0/anthy/anthy.h
|
||||||
|
include/anthy-unicode-1.0/anthy/dicutil.h
|
||||||
|
include/anthy-unicode-1.0/anthy/input.h
|
||||||
|
lib/libanthy-unicode.a
|
||||||
|
lib/libanthy-unicode.so
|
||||||
|
lib/libanthy-unicode.so.0
|
||||||
|
lib/libanthy-unicode.so.0.1.0
|
||||||
|
lib/libanthydic-unicode.a
|
||||||
|
lib/libanthydic-unicode.so
|
||||||
|
lib/libanthydic-unicode.so.0
|
||||||
|
lib/libanthydic-unicode.so.0.1.0
|
||||||
|
lib/libanthyinput-unicode.a
|
||||||
|
lib/libanthyinput-unicode.so
|
||||||
|
lib/libanthyinput-unicode.so.0
|
||||||
|
lib/libanthyinput-unicode.so.0.0.0
|
||||||
|
libdata/pkgconfig/anthy-unicode.pc
|
||||||
|
%%DATADIR%%/anthy.dic
|
||||||
|
%%DATADIR%%/dic-tool-usage.txt
|
||||||
|
%%DATADIR%%/typetab
|
||||||
|
%%DATADIR%%/zipcode.t
|
||||||
|
%%ELISPDIR%%/anthy-unicode-azik.el
|
||||||
|
%%ELISPDIR%%/anthy-unicode-conf.el
|
||||||
|
%%ELISPDIR%%/anthy-unicode-dic.el
|
||||||
|
%%ELISPDIR%%/anthy-unicode-isearch.el
|
||||||
|
%%ELISPDIR%%/anthy-unicode-kyuri.el
|
||||||
|
%%ELISPDIR%%/anthy-unicode.el
|
||||||
|
%%ELISPDIR%%/leim-list.el
|
||||||
|
%%DOCSDIR%%/ELISP
|
|
@ -25,6 +25,8 @@ DOCSDIR= ${PREFIX}/share/doc/ja/anthy
|
||||||
ELISPDIR= share/emacs/site-lisp/anthy
|
ELISPDIR= share/emacs/site-lisp/anthy
|
||||||
PLIST_SUB= ELISPDIR=${ELISPDIR}
|
PLIST_SUB= ELISPDIR=${ELISPDIR}
|
||||||
|
|
||||||
|
CONFLICTS_INSTALL= ja-anthy-unicode
|
||||||
|
|
||||||
OPTIONS_DEFINE= ODIC GSKKDIC DOCS
|
OPTIONS_DEFINE= ODIC GSKKDIC DOCS
|
||||||
|
|
||||||
ODIC_DESC= Okinawa Dictionary
|
ODIC_DESC= Okinawa Dictionary
|
||||||
|
|
Loading…
Add table
Reference in a new issue