aboutsummaryrefslogtreecommitdiffstats
path: root/editors
diff options
context:
space:
mode:
authorshige <shige@FreeBSD.org>2001-10-24 00:38:34 +0800
committershige <shige@FreeBSD.org>2001-10-24 00:38:34 +0800
commit5e87b8f39c22ad15fa3e16cb24310cf000d23a2c (patch)
tree829088c70c1758cc502fb02a002ff92b7aea6e6a /editors
parentad758d251a2c13bfe06ab2593cb38e8bfce6836c (diff)
downloadfreebsd-ports-gnome-5e87b8f39c22ad15fa3e16cb24310cf000d23a2c.tar.gz
freebsd-ports-gnome-5e87b8f39c22ad15fa3e16cb24310cf000d23a2c.tar.zst
freebsd-ports-gnome-5e87b8f39c22ad15fa3e16cb24310cf000d23a2c.zip
New port for leim-21.1.
Leim is Libraries of Emacs Input Method (for Multi-Languages).
Diffstat (limited to 'editors')
-rw-r--r--editors/Makefile1
-rw-r--r--editors/leim21/Makefile28
-rw-r--r--editors/leim21/distinfo1
-rw-r--r--editors/leim21/pkg-comment1
-rw-r--r--editors/leim21/pkg-descr24
-rw-r--r--editors/leim21/pkg-plist101
-rw-r--r--editors/leim21/scripts/configure28
7 files changed, 184 insertions, 0 deletions
diff --git a/editors/Makefile b/editors/Makefile
index e0d06a2620e5..b61f728e4300 100644
--- a/editors/Makefile
+++ b/editors/Makefile
@@ -69,6 +69,7 @@
SUBDIR += le
SUBDIR += led
SUBDIR += leim20
+ SUBDIR += leim21
SUBDIR += lfhex
SUBDIR += lpe
SUBDIR += manedit
diff --git a/editors/leim21/Makefile b/editors/leim21/Makefile
new file mode 100644
index 000000000000..1bdbdfa92a2c
--- /dev/null
+++ b/editors/leim21/Makefile
@@ -0,0 +1,28 @@
+# New ports collection makefile for: LEIM for emacs21
+# Date created: 10 September 1998
+# Whom: Shigeyuki FUKUSHIMA <shige@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= leim
+PORTVERSION= 21.1
+CATEGORIES= editors
+MASTER_SITES= ${MASTER_SITE_GNU}
+MASTER_SITE_SUBDIR= emacs
+
+MAINTAINER= shige@FreeBSD.org
+
+BUILD_DEPENDS= emacs-${EMACS_VER}:${PORTSDIR}/editors/emacs21
+RUN_DEPENDS= emacs-${EMACS_VER}:${PORTSDIR}/editors/emacs21
+
+USE_GMAKE= yes
+EMACS_VER= 21.1
+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/leim21/distinfo b/editors/leim21/distinfo
new file mode 100644
index 000000000000..c583ba265492
--- /dev/null
+++ b/editors/leim21/distinfo
@@ -0,0 +1 @@
+MD5 (leim-21.1.tar.gz) = 57b9d7c902f8d6a29aa28761d5edeae0
diff --git a/editors/leim21/pkg-comment b/editors/leim21/pkg-comment
new file mode 100644
index 000000000000..dd88fb1d4e0f
--- /dev/null
+++ b/editors/leim21/pkg-comment
@@ -0,0 +1 @@
+Libraries of (GNU) Emacs Input Method
diff --git a/editors/leim21/pkg-descr b/editors/leim21/pkg-descr
new file mode 100644
index 000000000000..da577fcda36d
--- /dev/null
+++ b/editors/leim21/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-\'.
+
+Ported by shige@FreeBSD.ORG
diff --git a/editors/leim21/pkg-plist b/editors/leim21/pkg-plist
new file mode 100644
index 000000000000..6e7a64547b8a
--- /dev/null
+++ b/editors/leim21/pkg-plist
@@ -0,0 +1,101 @@
+share/emacs/%%EMACS_VER%%/leim/ja-dic/ja-dic.el
+share/emacs/%%EMACS_VER%%/leim/ja-dic/ja-dic.elc
+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-b5.el
+share/emacs/%%EMACS_VER%%/leim/quail/CTLau-b5.elc
+share/emacs/%%EMACS_VER%%/leim/quail/CTLau.el
+share/emacs/%%EMACS_VER%%/leim/quail/CTLau.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/hebrew.el
+share/emacs/%%EMACS_VER%%/leim/quail/hebrew.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-ltx.el
+share/emacs/%%EMACS_VER%%/leim/quail/latin-ltx.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
+@dirrm share/emacs/%%EMACS_VER%%/leim/ja-dic
+@dirrm share/emacs/%%EMACS_VER%%/leim/quail
diff --git a/editors/leim21/scripts/configure b/editors/leim21/scripts/configure
new file mode 100644
index 000000000000..7fe05a1f69fa
--- /dev/null
+++ b/editors/leim21/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