diff --git a/japanese/Makefile b/japanese/Makefile index 4e240a0c5ea0..3f0b3aaf212e 100644 --- a/japanese/Makefile +++ b/japanese/Makefile @@ -1,310 +1,311 @@ COMMENT = Japanese support SUBDIR += ASCIIdates98-fpw SUBDIR += CGdic-fpw SUBDIR += FreeWnn-lib SUBDIR += FreeWnn-server SUBDIR += R-cran-zipangu SUBDIR += Wnn6-lib SUBDIR += Wnn7-lib SUBDIR += a2ps SUBDIR += ack SUBDIR += ajaxzip2-core SUBDIR += ajaxzip2-data SUBDIR += alias-fonts SUBDIR += another-htmllint SUBDIR += anthy + SUBDIR += anthy-unicode SUBDIR += aobook SUBDIR += bible_names-fpw SUBDIR += boiled-mozc SUBDIR += bookview SUBDIR += bugzilla44 SUBDIR += bugzilla50 SUBDIR += canna-lib SUBDIR += canna-server SUBDIR += cannadic SUBDIR += cdrom2 SUBDIR += celrw SUBDIR += chasen-base SUBDIR += cmigemo SUBDIR += cmigemo-dict SUBDIR += cp5022x-el SUBDIR += cskk SUBDIR += csrd SUBDIR += ctags SUBDIR += dams SUBDIR += dbskkd-cdb SUBDIR += ddskk SUBDIR += devil-fpw SUBDIR += dvi2tty SUBDIR += e2ps SUBDIR += eb SUBDIR += ebd-fpw SUBDIR += eblook SUBDIR += ebnetd SUBDIR += ebview-gtk2 SUBDIR += edict SUBDIR += edict-fpw SUBDIR += edyvalue SUBDIR += eijiro-fpw SUBDIR += epwutil SUBDIR += esecanna SUBDIR += esecanna-module-vje25 SUBDIR += esecanna-module-vje30 SUBDIR += esecanna-module-wnn6 SUBDIR += eterm SUBDIR += fcitx-anthy SUBDIR += fcitx-mozc SUBDIR += fcitx-skk SUBDIR += fcitx5-anthy SUBDIR += fcitx5-cskk SUBDIR += flower-fpw SUBDIR += foldoc-fpw SUBDIR += font-aozoramincho SUBDIR += font-ayu18 SUBDIR += font-ayu20 SUBDIR += font-bizin-gothic SUBDIR += font-bizud-gothic SUBDIR += font-bizud-mincho SUBDIR += font-cica SUBDIR += font-elisa10 SUBDIR += font-elisa8 SUBDIR += font-firge SUBDIR += font-firge-nerd SUBDIR += font-genjyuugothic SUBDIR += font-genshingothic SUBDIR += font-hackgen SUBDIR += font-hackgen-nf SUBDIR += font-ipa SUBDIR += font-ipa-uigothic SUBDIR += font-ipaex SUBDIR += font-ipamjm SUBDIR += font-jisx0213 SUBDIR += font-kaname12 SUBDIR += font-kanji18 SUBDIR += font-kanji26 SUBDIR += font-kappa20 SUBDIR += font-kochi SUBDIR += font-koruri SUBDIR += font-marumoji SUBDIR += font-mgenplus SUBDIR += font-migmix SUBDIR += font-migu SUBDIR += font-mikachan SUBDIR += font-mona SUBDIR += font-mona-ipa SUBDIR += font-mona-ttf SUBDIR += font-moralerspace SUBDIR += font-moralerspace-hw SUBDIR += font-moralerspace-hwjpdoc SUBDIR += font-moralerspace-hwnf SUBDIR += font-moralerspace-jpdoc SUBDIR += font-moralerspace-nf SUBDIR += font-motoya-al SUBDIR += font-mplus-bitmap SUBDIR += font-mplus-ipa SUBDIR += font-mplus-outline SUBDIR += font-myrica SUBDIR += font-myricam SUBDIR += font-naga10 SUBDIR += font-nasu SUBDIR += font-plemoljp SUBDIR += font-plemoljp-hs SUBDIR += font-plemoljp-nf SUBDIR += font-ricty SUBDIR += font-ricty-discord SUBDIR += font-rounded-mgenplus SUBDIR += font-sazanami SUBDIR += font-shinonome SUBDIR += font-std SUBDIR += font-takao SUBDIR += font-udev-gothic SUBDIR += font-udev-gothic-hs SUBDIR += font-udev-gothic-nf SUBDIR += font-ume SUBDIR += font-vlgothic SUBDIR += freepwing SUBDIR += fumeikai-fpw SUBDIR += gawk SUBDIR += gd SUBDIR += gedy SUBDIR += groff SUBDIR += gskk SUBDIR += gsuica SUBDIR += hns SUBDIR += ibus-anthy SUBDIR += ibus-mozc SUBDIR += ibus-skk SUBDIR += icanna SUBDIR += ipadic SUBDIR += jacode.pl SUBDIR += japana SUBDIR += japaneseAFM SUBDIR += jargon-fpw SUBDIR += jcode.pl SUBDIR += jishyo SUBDIR += jls SUBDIR += jvim3 SUBDIR += kakasi SUBDIR += kasumi SUBDIR += kbanner SUBDIR += kcc SUBDIR += kcode SUBDIR += kdrill SUBDIR += kinput2 SUBDIR += kiten SUBDIR += kon2-14dot SUBDIR += kon2-16dot SUBDIR += kterm SUBDIR += latex-jlisting SUBDIR += leafrogue SUBDIR += less SUBDIR += libreoffice SUBDIR += libskk SUBDIR += libslang SUBDIR += libtomoe-gtk SUBDIR += lipsf SUBDIR += lookup SUBDIR += lsd-fpw SUBDIR += lynx SUBDIR += lynx-current SUBDIR += man SUBDIR += man-doc SUBDIR += mecab SUBDIR += mecab-ipadic SUBDIR += mecab-ipadic-eucjp SUBDIR += mecab-ipadic-sjis SUBDIR += mecab-ipadic-utf8 SUBDIR += mecab-jawiki SUBDIR += mh SUBDIR += migemo SUBDIR += migemo.el SUBDIR += mime_pls SUBDIR += mozc-el SUBDIR += mozc-server SUBDIR += mozc-tool SUBDIR += multiskkserv SUBDIR += mypaedia-fpw-package SUBDIR += namazu SUBDIR += namazu2 SUBDIR += navi2ch SUBDIR += ne SUBDIR += nethack34 SUBDIR += newosaka SUBDIR += ng SUBDIR += ng-canna SUBDIR += ng-devel SUBDIR += ngraph-fonts SUBDIR += nkf SUBDIR += onew SUBDIR += p5-2chproxy SUBDIR += p5-Date-Japanese-Era SUBDIR += p5-Date-Japanese-Holiday SUBDIR += p5-DateTime-Calendar-Japanese-Era SUBDIR += p5-DateTime-Format-Japanese SUBDIR += p5-Encode-EUCJPASCII SUBDIR += p5-Encode-EUCJPMS SUBDIR += p5-Encode-ISO2022 SUBDIR += p5-Encode-JP-Emoji SUBDIR += p5-Encode-JP-Mobile SUBDIR += p5-HTML-MobileJp SUBDIR += p5-Jcode SUBDIR += p5-Lingua-JA-Kana SUBDIR += p5-Lingua-JA-Moji SUBDIR += p5-Lingua-JA-Numbers SUBDIR += p5-Lingua-JA-Regular-Unicode SUBDIR += p5-Lingua-JA-Romanize-Japanese SUBDIR += p5-Lingua-JA-Summarize-Extract SUBDIR += p5-MeCab SUBDIR += p5-Number-Phone-JP SUBDIR += p5-PDFJ SUBDIR += p5-Text-ChaSen SUBDIR += p5-Text-Kakasi SUBDIR += p5-Text-MeCab SUBDIR += p5-Unicode-Japanese SUBDIR += p5-WWW-2ch SUBDIR += p5-WWW-MobileCarrierJP SUBDIR += p5-nkf SUBDIR += pejv-fpw SUBDIR += plain2 SUBDIR += plan SUBDIR += prn-ps SUBDIR += py-SudachiPy SUBDIR += py-fugashi SUBDIR += py-ipadic SUBDIR += py-jaconv SUBDIR += py-unidic SUBDIR += qkc SUBDIR += qolibri SUBDIR += quit SUBDIR += roget-fpw SUBDIR += rogue_s SUBDIR += ruby-romkan SUBDIR += ruby-uconv SUBDIR += rubygem-jpmobile-ipaddresses SUBDIR += rubygem-jpmobile-terminfo SUBDIR += rubygem-jpmobile4 SUBDIR += rubygem-mail-iso-2022-jp SUBDIR += rubygem-myrurema SUBDIR += ryaku-fpw SUBDIR += scim-anthy SUBDIR += scim-canna SUBDIR += scim-honoka SUBDIR += scim-honoka-plugin-romkan SUBDIR += scim-honoka-plugin-wnn SUBDIR += scim-skk SUBDIR += scim-tables SUBDIR += scim-tomoe SUBDIR += scim-uim SUBDIR += seaside SUBDIR += sj3-lib SUBDIR += sj3-server SUBDIR += skk SUBDIR += skk-jawiki SUBDIR += skk-jisyo SUBDIR += skk-jisyo-cdb SUBDIR += skk-tools SUBDIR += skkinput SUBDIR += skkinput3 SUBDIR += skkserv SUBDIR += slimeforest SUBDIR += slrn SUBDIR += sourcehansans-otf SUBDIR += sourcehanserif-otf SUBDIR += spoqahansans-ttf SUBDIR += srd-fpw-package SUBDIR += sudachi SUBDIR += suicavalue SUBDIR += tdiary SUBDIR += tegaki-zinnia-japanese SUBDIR += tex-ptex SUBDIR += tgif SUBDIR += tiarra SUBDIR += timidity++-slang SUBDIR += today SUBDIR += tomoe SUBDIR += uim-anthy SUBDIR += uim-mozc SUBDIR += uim-tomoe-gtk SUBDIR += vera-fpw SUBDIR += vftool SUBDIR += w3m SUBDIR += w3m-img SUBDIR += waeijiro-fpw SUBDIR += wdic-fpw SUBDIR += web1913-fpw SUBDIR += webalizer SUBDIR += wnn7egg SUBDIR += wordnet-fpw SUBDIR += wordpress SUBDIR += wwasw-fpw SUBDIR += xpdf SUBDIR += xshodou SUBDIR += xtr SUBDIR += xv SUBDIR += yc.el SUBDIR += zinnia SUBDIR += zinnia-tomoe SUBDIR += zipcodes .include diff --git a/japanese/anthy-unicode/Makefile b/japanese/anthy-unicode/Makefile new file mode 100644 index 000000000000..fda11f8d7773 --- /dev/null +++ b/japanese/anthy-unicode/Makefile @@ -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 diff --git a/japanese/anthy-unicode/distinfo b/japanese/anthy-unicode/distinfo new file mode 100644 index 000000000000..4dc265a3b5c7 --- /dev/null +++ b/japanese/anthy-unicode/distinfo @@ -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 diff --git a/japanese/anthy-unicode/files/patch-doc_ELISP b/japanese/anthy-unicode/files/patch-doc_ELISP new file mode 100644 index 000000000000..5f08c8f58975 --- /dev/null +++ b/japanese/anthy-unicode/files/patch-doc_ELISP @@ -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からAnthyの各機能を用いる方法を記述したドキュメントです ++EmacsからAnthy-unicodeの各機能を用いる方法を記述したドキュメントです + + + (1)ソフトウェアの構成 +@@ -14,7 +14,7 @@ EmacsからAnthyの各機能を用いる方法を記 + + + (1)ソフトウェアの構成 +- Anthyのemacs対応は日本語入力部と個人辞書の管理の ++ Anthy-unicodeのemacs対応は日本語入力部と個人辞書の管理の + 二つの部分で構成されています。 + どちらの部分もelispで記述されたフロントエンドから + コマンドを起動して、パイプで通信することによって +@@ -24,24 +24,24 @@ EmacsからAnthyの各機能を用いる方法を記 + + + (2)使いはじめるために +- *まずAnthyを通常にインストールしてください。 ++ *まずAnthy-unicodeを通常にインストールしてください。 + *次にemacs lispをロードする設定をします。 + 一般的には ~/.emacs に +- (load-library "anthy") ++ (load-library "anthy-unicode") + という行を追加します +- *そして使用するinput-methodとしてAnthyを選択します ++ *そして使用するinput-methodとしてAnthy-unicodeを選択します + これも一般的には ~/.emacs に +- (setq default-input-method 'japanese-anthy) ++ (setq default-input-method 'japanese-anthy-unicode) + という行を追加することによって行います + *emacsのインストールされている場所とanthyの + インストールされている場所が異なる場合には + ~/.emacs に下記の行を追加してください + (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をインストールした先のprefixとanthyをインストールした先のprefixが + 違う場合は + ~/.emacs に下記の行を追加してください +- (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)日本語入力の方法 +@@ -84,22 +84,22 @@ EmacsからAnthyの各機能を用いる方法を記 + ~/.emacsに追加する内容の説明です + 日本語をデフォルトにする + (set-language-environment "Japanese") +- anthy.el をロードできるようにする +- (push "/usr/local/share/emacs/site-lisp/anthy/" load-path) +- anthy.elをロードする +- (load-library "anthy") +- japanese-anthy をデフォルトのinput-methodにする +- (setq default-input-method 'japanese-anthy) ++ anthy-unicode.el をロードできるようにする ++ (push "/usr/local/share/emacs/site-lisp/anthy-unicode/" load-path) ++ anthy-unicode.elをロードする ++ (load-library "anthy-unicode") ++ japanese-anthy-unicode をデフォルトのinput-methodにする ++ (setq default-input-method 'japanese-anthy-unicode) + + + + (6)技術的な詳細 +- *src-util/anthy.elがemacs用のanthyのフロントエンドです。 +- *src-util/anthy-dic.elがemacs用のanthyのフロントエンドです。 ++ *src-util/anthy-unicode.elがemacs用のanthy-unicodeのフロントエンドです。 ++ *src-util/anthy-unicode-dic.elがemacs用のanthy-unicodeのフロントエンドです。 + *emacsのsite-lispのディレクトリにインストールされます。 + *emacs20.7などで動作します。 + *leimのAPIにも準拠しています。 +- *anthy.el は同梱されているanthy-agentというコマンドを起動して ++ *anthy-unicode.el は同梱されているanthy-agent-unicodeというコマンドを起動して + パイプで通信をすることによって変換の動作を行います。 +- *anthy-dic.el は同梱されているanthy-dic-toolというコマンドを ++ *anthy-unicode-dic.el は同梱されているanthy-dic-tool-unicodeというコマンドを + 起動してパイプで通信を行うことによって、個人辞書にアクセスします。 diff --git a/japanese/anthy-unicode/pkg-descr b/japanese/anthy-unicode/pkg-descr new file mode 100644 index 000000000000..7cc313af449f --- /dev/null +++ b/japanese/anthy-unicode/pkg-descr @@ -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 diff --git a/japanese/anthy-unicode/pkg-message b/japanese/anthy-unicode/pkg-message new file mode 100644 index 000000000000..cc4965c3ca02 --- /dev/null +++ b/japanese/anthy-unicode/pkg-message @@ -0,0 +1,11 @@ +[ +{ type: install + message: < .if ${PORT_OPTIONS:MODIC} MASTER_SITES+= http://www.ofug.net/~yamajun/files/:odic DISTFILES+= ${ODIC_SRCS}:odic ODIC_SRCS= ${ODIC_VERS}.t ODIC_VERS= okinawa-20070717 .endif .if ${PORT_OPTIONS:MGSKKDIC} MASTER_SITES+= http://www.ohnolab.org/~kimoto/:gskk DISTFILES+= ${GSKK_SRCS}:gskk GSKK_SRCS= ${GSKK_VERS}.t.gz GSKK_VERS= gskk-20041208 .endif post-extract: .if ${PORT_OPTIONS:MODIC} ${CP} ${DISTDIR}/${DIST_SUBDIR}/${ODIC_SRCS} ${WRKSRC}/mkworddic ${PRINTF} "/mkworddic\\\\/base.t/a\\\\\\nread @top_srcdir@/mkworddic/${ODIC_SRCS}\\n" | \ ${REINPLACE_CMD} -f /dev/stdin ${WRKSRC}/mkworddic/dict.args.in .endif .if ${PORT_OPTIONS:MGSKKDIC} ${CP} ${DISTDIR}/${DIST_SUBDIR}/${GSKK_SRCS} ${WRKSRC}/mkworddic ${GUNZIP_CMD} ${WRKSRC}/mkworddic/${GSKK_SRCS} ${PRINTF} "/mkworddic\\\\/base.t/a\\\\\\nread @top_srcdir@/mkworddic/${GSKK_VERS}.t\\n" | \ ${REINPLACE_CMD} -f /dev/stdin ${WRKSRC}/mkworddic/dict.args.in .endif post-patch: ${REINPLACE_CMD} -e \ 's| install-lispLISP||g' ${WRKSRC}/src-util/Makefile.in ${CP} ${WRKSRC}/src-util/rkhelper.c ${WRKSRC}/src-util/rkhelper.c.orig ${ICONV_CMD} -f utf-8 -t euc-jp ${WRKSRC}/src-util/rkhelper.c.orig > ${WRKSRC}/src-util/rkhelper.c 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