1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-29 10:18:30 +00:00

This is a port for LEIM (Libraries of Emacs Input Method)

LEIM enables you to input Multilingual Characters on Emacs20.

The package making from this port includes emacs lisp files
for LEIM.
PR:		ports/7891
Submitted by:	Shigeyuki FUKUSHIMA <shige@kuis.kyoto-u.ac.jp>
This commit is contained in:
Vanilla I. Shu 1998-09-18 22:03:07 +00:00
parent 346ab5c6e0
commit 8012ca6372
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=13217
6 changed files with 179 additions and 0 deletions

28
editors/leim20/Makefile Normal file
View File

@ -0,0 +1,28 @@
# New ports collection makefile for: LEIM for emacs20
# Version required: 20.3
# Date created: 10 September 1998
# Whom: Shigeyuki FUKUSHIMA <shige@kuis.kyoto-u.ac.jp>
#
# $Id$
#
DISTNAME= leim-20.3
CATEGORIES= editors
MASTER_SITES= ${MASTER_SITE_GNU}
MAINTAINER= shige@kuis.kyoto-u.ac.jp
BUILD_DEPENDS= emacs-20.3:${PORTSDIR}/editors/emacs20
RUN_DEPENDS= emacs-20.3:${PORTSDIR}/editors/emacs20
USE_GMAKE= yes
EMACS_VER= 20.3
WRKSRC= ${WRKDIR}/emacs-${EMACS_VER}/leim
PLIST_SUB= EMACS_VER=${EMACS_VER}
SCRIPTS_ENV= EMACS_VER=${EMACS_VER}
pre-install:
@${MKDIR} ${PREFIX}/share/emacs/${EMACS_VER}/leim
.include <bsd.port.mk>

1
editors/leim20/distinfo Normal file
View File

@ -0,0 +1 @@
MD5 (leim-20.3.tar.gz) = 01e398c6eb437d387f222a04551e4070

View File

@ -0,0 +1 @@
LEIM --- Libraries of (GNU) Emacs Input Method.

24
editors/leim20/pkg-descr Normal file
View File

@ -0,0 +1,24 @@
LEIM is Libraries of Emacs Input Method.
This enables you to input Multilingual Characters.
To input these characters, select the "language name" in which
you want to input, and evalute the following two expressions:
(set-language-environment "language name")
(toggle-input-method)
The "language name" you can choose is one of these:
- Chinege - Chinese-BIG5 - Chinese-CNS
- Chinese-GB - Cyrillic-ALT - Cyrillic-ISO
- Cyrillic-KOI8 - Czech - Devanagari
- Ethiopic - German - Greek
- Hebrew - IPA - Japanese
- Korean - Lao - Latin-1
- Latin-2 - Latin-3 - Latin-4
- Latin-5 - Romanian - Slovak
- Thai - Tibetan - Vietnamese
In the default keybindings, (toggle-input-method) is bound to `C-\'.
--- Porting by shige@kuis.kyoto-u.ac.jp

97
editors/leim20/pkg-plist Normal file
View File

@ -0,0 +1,97 @@
share/emacs/%%EMACS_VER%%/leim/leim-list.el
share/emacs/%%EMACS_VER%%/leim/quail/4Corner.el
share/emacs/%%EMACS_VER%%/leim/quail/4Corner.elc
share/emacs/%%EMACS_VER%%/leim/quail/ARRAY30.el
share/emacs/%%EMACS_VER%%/leim/quail/ARRAY30.elc
share/emacs/%%EMACS_VER%%/leim/quail/CCDOSPY.el
share/emacs/%%EMACS_VER%%/leim/quail/CCDOSPY.elc
share/emacs/%%EMACS_VER%%/leim/quail/CTLau.el
share/emacs/%%EMACS_VER%%/leim/quail/CTLau.elc
share/emacs/%%EMACS_VER%%/leim/quail/CTLauB.el
share/emacs/%%EMACS_VER%%/leim/quail/CTLauB.elc
share/emacs/%%EMACS_VER%%/leim/quail/ECDICT.el
share/emacs/%%EMACS_VER%%/leim/quail/ECDICT.elc
share/emacs/%%EMACS_VER%%/leim/quail/ETZY.el
share/emacs/%%EMACS_VER%%/leim/quail/ETZY.elc
share/emacs/%%EMACS_VER%%/leim/quail/PY-b5.el
share/emacs/%%EMACS_VER%%/leim/quail/PY-b5.elc
share/emacs/%%EMACS_VER%%/leim/quail/PY.el
share/emacs/%%EMACS_VER%%/leim/quail/PY.elc
share/emacs/%%EMACS_VER%%/leim/quail/Punct-b5.el
share/emacs/%%EMACS_VER%%/leim/quail/Punct-b5.elc
share/emacs/%%EMACS_VER%%/leim/quail/Punct.el
share/emacs/%%EMACS_VER%%/leim/quail/Punct.elc
share/emacs/%%EMACS_VER%%/leim/quail/QJ-b5.el
share/emacs/%%EMACS_VER%%/leim/quail/QJ-b5.elc
share/emacs/%%EMACS_VER%%/leim/quail/QJ.el
share/emacs/%%EMACS_VER%%/leim/quail/QJ.elc
share/emacs/%%EMACS_VER%%/leim/quail/SW.el
share/emacs/%%EMACS_VER%%/leim/quail/SW.elc
share/emacs/%%EMACS_VER%%/leim/quail/TONEPY.el
share/emacs/%%EMACS_VER%%/leim/quail/TONEPY.elc
share/emacs/%%EMACS_VER%%/leim/quail/ZIRANMA.el
share/emacs/%%EMACS_VER%%/leim/quail/ZIRANMA.elc
share/emacs/%%EMACS_VER%%/leim/quail/ZOZY.el
share/emacs/%%EMACS_VER%%/leim/quail/ZOZY.elc
share/emacs/%%EMACS_VER%%/leim/quail/cyril-jis.el
share/emacs/%%EMACS_VER%%/leim/quail/cyril-jis.elc
share/emacs/%%EMACS_VER%%/leim/quail/cyrillic.el
share/emacs/%%EMACS_VER%%/leim/quail/cyrillic.elc
share/emacs/%%EMACS_VER%%/leim/quail/czech.el
share/emacs/%%EMACS_VER%%/leim/quail/czech.elc
share/emacs/%%EMACS_VER%%/leim/quail/devanagari.el
share/emacs/%%EMACS_VER%%/leim/quail/devanagari.elc
share/emacs/%%EMACS_VER%%/leim/quail/ethiopic.el
share/emacs/%%EMACS_VER%%/leim/quail/ethiopic.elc
share/emacs/%%EMACS_VER%%/leim/quail/greek.el
share/emacs/%%EMACS_VER%%/leim/quail/greek.elc
share/emacs/%%EMACS_VER%%/leim/quail/hangul.el
share/emacs/%%EMACS_VER%%/leim/quail/hangul.elc
share/emacs/%%EMACS_VER%%/leim/quail/hangul3.el
share/emacs/%%EMACS_VER%%/leim/quail/hangul3.elc
share/emacs/%%EMACS_VER%%/leim/quail/hanja-jis.el
share/emacs/%%EMACS_VER%%/leim/quail/hanja-jis.elc
share/emacs/%%EMACS_VER%%/leim/quail/hanja.el
share/emacs/%%EMACS_VER%%/leim/quail/hanja.elc
share/emacs/%%EMACS_VER%%/leim/quail/hanja3.el
share/emacs/%%EMACS_VER%%/leim/quail/hanja3.elc
share/emacs/%%EMACS_VER%%/leim/quail/ipa.el
share/emacs/%%EMACS_VER%%/leim/quail/ipa.elc
share/emacs/%%EMACS_VER%%/leim/quail/japanese.el
share/emacs/%%EMACS_VER%%/leim/quail/japanese.elc
share/emacs/%%EMACS_VER%%/leim/quail/lao.el
share/emacs/%%EMACS_VER%%/leim/quail/lao.elc
share/emacs/%%EMACS_VER%%/leim/quail/latin-alt.el
share/emacs/%%EMACS_VER%%/leim/quail/latin-alt.elc
share/emacs/%%EMACS_VER%%/leim/quail/latin-post.el
share/emacs/%%EMACS_VER%%/leim/quail/latin-post.elc
share/emacs/%%EMACS_VER%%/leim/quail/latin-pre.el
share/emacs/%%EMACS_VER%%/leim/quail/latin-pre.elc
share/emacs/%%EMACS_VER%%/leim/quail/lrt.el
share/emacs/%%EMACS_VER%%/leim/quail/lrt.elc
share/emacs/%%EMACS_VER%%/leim/quail/py-punct.el
share/emacs/%%EMACS_VER%%/leim/quail/py-punct.elc
share/emacs/%%EMACS_VER%%/leim/quail/pypunct-b5.el
share/emacs/%%EMACS_VER%%/leim/quail/pypunct-b5.elc
share/emacs/%%EMACS_VER%%/leim/quail/quick-b5.el
share/emacs/%%EMACS_VER%%/leim/quail/quick-b5.elc
share/emacs/%%EMACS_VER%%/leim/quail/quick-cns.el
share/emacs/%%EMACS_VER%%/leim/quail/quick-cns.elc
share/emacs/%%EMACS_VER%%/leim/quail/slovak.el
share/emacs/%%EMACS_VER%%/leim/quail/slovak.elc
share/emacs/%%EMACS_VER%%/leim/quail/symbol-ksc.el
share/emacs/%%EMACS_VER%%/leim/quail/symbol-ksc.elc
share/emacs/%%EMACS_VER%%/leim/quail/thai.el
share/emacs/%%EMACS_VER%%/leim/quail/thai.elc
share/emacs/%%EMACS_VER%%/leim/quail/tibetan.el
share/emacs/%%EMACS_VER%%/leim/quail/tibetan.elc
share/emacs/%%EMACS_VER%%/leim/quail/tsang-b5.el
share/emacs/%%EMACS_VER%%/leim/quail/tsang-b5.elc
share/emacs/%%EMACS_VER%%/leim/quail/tsang-cns.el
share/emacs/%%EMACS_VER%%/leim/quail/tsang-cns.elc
share/emacs/%%EMACS_VER%%/leim/quail/viqr.el
share/emacs/%%EMACS_VER%%/leim/quail/viqr.elc
share/emacs/%%EMACS_VER%%/leim/skk/skkdic.el
share/emacs/%%EMACS_VER%%/leim/skk/skkdic.elc
@dirrm share/emacs/%%EMACS_VER%%/leim/quail
@dirrm share/emacs/%%EMACS_VER%%/leim/skk

28
editors/leim20/scripts/configure vendored Normal file
View File

@ -0,0 +1,28 @@
#!/bin/sh
cd ${WRKSRC}
EMACS=${PREFIX}/bin/emacs-${EMACS_VER}
EMACS_CMD='${prefix}'"/bin/emacs-${EMACS_VER}"
version=${EMACS_VER}
prefix=${PREFIX}
# normal setting
#datadir='${prefix}/share'
# paranoiac setting ;-)
datadir='${prefix}'`strings ${EMACS} | grep -e "${EMACS_VER}.*leim" \
| awk 'BEGIN {FS=":"}
{ for(i=1;i<=NF;i++) { if(match($i,"leim")) print $i; } }' \
| sed -e "s;/emacs/${EMACS_VER}/leim$;;" \
| sed -e "s;${PREFIX};;"`
srcdir=${WRKSRC}
buildlisppath='${datadir}/emacs/${version}/lisp'
rm -f Makefile
cat Makefile.in | sed -e "s;@version@;${version};" \
-e "s;@prefix@;${prefix};" \
-e "s;@datadir@;${datadir};" \
-e "s;@srcdir@;${srcdir};" \
-e "s;^BUILT-EMACS.*$;BUILT-EMACS=${EMACS_CMD};" \
-e "s;^buildlisppath.*$;buildlisppath=${buildlisppath};" \
> Makefile