aboutsummaryrefslogtreecommitdiffstats
path: root/editors
diff options
context:
space:
mode:
authorvanilla <vanilla@FreeBSD.org>1998-09-19 06:03:07 +0800
committervanilla <vanilla@FreeBSD.org>1998-09-19 06:03:07 +0800
commite81b5e23447c2af8ceb49db48f942c4743364b98 (patch)
treef2d83e0996dcb66eb2fa35a787f8f9c4f86e7175 /editors
parent287fd8542ffba2da1e745c2ca8b22139287b756a (diff)
downloadfreebsd-ports-gnome-e81b5e23447c2af8ceb49db48f942c4743364b98.tar.gz
freebsd-ports-gnome-e81b5e23447c2af8ceb49db48f942c4743364b98.tar.zst
freebsd-ports-gnome-e81b5e23447c2af8ceb49db48f942c4743364b98.zip
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>
Diffstat (limited to 'editors')
-rw-r--r--editors/leim20/Makefile28
-rw-r--r--editors/leim20/distinfo1
-rw-r--r--editors/leim20/pkg-comment1
-rw-r--r--editors/leim20/pkg-descr24
-rw-r--r--editors/leim20/pkg-plist97
-rw-r--r--editors/leim20/scripts/configure28
6 files changed, 179 insertions, 0 deletions
diff --git a/editors/leim20/Makefile b/editors/leim20/Makefile
new file mode 100644
index 000000000000..57782e8756e4
--- /dev/null
+++ b/editors/leim20/Makefile
@@ -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>
diff --git a/editors/leim20/distinfo b/editors/leim20/distinfo
new file mode 100644
index 000000000000..49221ece97f6
--- /dev/null
+++ b/editors/leim20/distinfo
@@ -0,0 +1 @@
+MD5 (leim-20.3.tar.gz) = 01e398c6eb437d387f222a04551e4070
diff --git a/editors/leim20/pkg-comment b/editors/leim20/pkg-comment
new file mode 100644
index 000000000000..8bc4df8fbfe0
--- /dev/null
+++ b/editors/leim20/pkg-comment
@@ -0,0 +1 @@
+LEIM --- Libraries of (GNU) Emacs Input Method.
diff --git a/editors/leim20/pkg-descr b/editors/leim20/pkg-descr
new file mode 100644
index 000000000000..79d9bfec0569
--- /dev/null
+++ b/editors/leim20/pkg-descr
@@ -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
diff --git a/editors/leim20/pkg-plist b/editors/leim20/pkg-plist
new file mode 100644
index 000000000000..85c319e9fdd9
--- /dev/null
+++ b/editors/leim20/pkg-plist
@@ -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
diff --git a/editors/leim20/scripts/configure b/editors/leim20/scripts/configure
new file mode 100644
index 000000000000..7fe05a1f69fa
--- /dev/null
+++ b/editors/leim20/scripts/configure
@@ -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