diff --git a/japanese/Makefile b/japanese/Makefile index 0404f726f4fc..65f4be4cf403 100644 --- a/japanese/Makefile +++ b/japanese/Makefile @@ -32,6 +32,7 @@ SUBDIR += chasen-base SUBDIR += cmigemo SUBDIR += cmigemo-dict + SUBDIR += cp5022x-el SUBDIR += csrd SUBDIR += ctags SUBDIR += dbskkd-cdb diff --git a/japanese/cp5022x-el/Makefile b/japanese/cp5022x-el/Makefile new file mode 100644 index 000000000000..b5974d40b71c --- /dev/null +++ b/japanese/cp5022x-el/Makefile @@ -0,0 +1,34 @@ +# $FreeBSD$ + +PORTNAME= cp5022x +PORTVERSION= 0.0.20120324 +CATEGORIES= japanese elisp +PKGNAMESUFFIX= -el${EMACS_PKGNAMESUFFIX} + +MAINTAINER= hrs@FreeBSD.org +COMMENT= CP50220 and CP51932 coding system support for Emacsen + +LICENSE= GPLv3+ + +USES= emacs +USE_GITHUB= yes +GH_ACCOUNT= awasira +GH_PROJECT= cp5022x.el +GH_TAGNAME= ea7327d + +PLIST_FILES= ${EMACS_SITE_LISPDIR}/cp5022x.el.gz \ + ${EMACS_SITE_LISPDIR}/cp5022x.elc + +do-build: + cd ${BUILD_WRKSRC} && \ + ${EMACS_CMD} -batch -q -no-site-file -no-init-file \ + -f batch-byte-compile cp5022x.el && \ + ${GZIP_CMD} cp5022x.el + +do-install: + ${MKDIR} ${STAGEDIR}${PREFIX}/${EMACS_SITE_LISPDIR} && \ + cd ${INSTALL_WRKSRC} && \ + ${INSTALL_DATA} cp5022x.elc cp5022x.el.gz \ + ${STAGEDIR}${PREFIX}/${EMACS_SITE_LISPDIR} + +.include diff --git a/japanese/cp5022x-el/distinfo b/japanese/cp5022x-el/distinfo new file mode 100644 index 000000000000..af5fd9bb0cf2 --- /dev/null +++ b/japanese/cp5022x-el/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1552833497 +SHA256 (awasira-cp5022x.el-0.0.20120324-ea7327d_GH0.tar.gz) = e9c96b8ad70475cb05dae56dae28d4ffaee92d036b534e42ef8c0a3e646a0912 +SIZE (awasira-cp5022x.el-0.0.20120324-ea7327d_GH0.tar.gz) = 2633 diff --git a/japanese/cp5022x-el/pkg-descr b/japanese/cp5022x-el/pkg-descr new file mode 100644 index 000000000000..0398b292ccdf --- /dev/null +++ b/japanese/cp5022x-el/pkg-descr @@ -0,0 +1,24 @@ +cp5022x.el adds supprot for encodings with platform dependent characters +used in Microsoft Windows. It defines CP50220, CP50221, CP50222, and +CP51932. Specifications on Emacsen are as follows: + +CP51932 (Microsoft euc-jp) +Type: iso-2022 (variant of ISO-2022) +Initial designations: + G0 -- ascii:ASCII (ISO646 IRV) + G1 -- japanese-jisx0208:JISX0208.1983/1990 Japanese Kanji: ISO-IR-87 + G2 -- katakana-jisx0201:Katakana Part of JISX0201.1976 + G3 -- never used + +CP50220 (Microsoft iso-2022-jp for mail) +Type: iso-2022 (variant of ISO-2022) +Initial designations: + G0 -- ascii:ASCII (ISO646 IRV), and also used by the following: + japanese-jisx0208-1978:JISX0208.1978 Japanese Kanji + (so called "old JIS"): ISO-IR-42 + japanese-jisx0208:JISX0208.1983/1990 Japanese Kanji: ISO-IR-87 + latin-jisx0201:Roman Part of JISX0201.1976 + katakana-jisx0201:Katakana Part of JISX0201.1976 + G1 -- never used + G2 -- never used + G3 -- never used diff --git a/japanese/cp5022x-el/pkg-message b/japanese/cp5022x-el/pkg-message new file mode 100644 index 000000000000..0e0345a51ee1 --- /dev/null +++ b/japanese/cp5022x-el/pkg-message @@ -0,0 +1,4 @@ +This elisp supports CP50220 and CP51932 as coding-system. Add the following +line to ~/.emacs to activate it: + +(require 'cp5022x)