aboutsummaryrefslogtreecommitdiffstats
path: root/converters/mule-ucs-emacs20
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2000-04-05 02:11:30 +0800
committerknu <knu@FreeBSD.org>2000-04-05 02:11:30 +0800
commitd3f5a7713d243299ff9387470c227f1609be7cf2 (patch)
treedebc7f83054e33451fcc58fac976ef381cfe06af /converters/mule-ucs-emacs20
parentcc6243c508d5614c2da9cc9aed7113f4553cbde5 (diff)
downloadfreebsd-ports-gnome-d3f5a7713d243299ff9387470c227f1609be7cf2.tar.gz
freebsd-ports-gnome-d3f5a7713d243299ff9387470c227f1609be7cf2.tar.zst
freebsd-ports-gnome-d3f5a7713d243299ff9387470c227f1609be7cf2.zip
This is the Mule-UCS (Universal enCoding System) for FSF Emacs 20,
an Emacs Lisp library to define encoding/decoding schemes by rather simple translation rule.. PR: ports/16931 Submitted by: OKAZAKI Tetsurou <okazaki@be.to>
Diffstat (limited to 'converters/mule-ucs-emacs20')
-rw-r--r--converters/mule-ucs-emacs20/Makefile80
-rw-r--r--converters/mule-ucs-emacs20/distinfo1
-rw-r--r--converters/mule-ucs-emacs20/pkg-comment1
-rw-r--r--converters/mule-ucs-emacs20/pkg-descr24
-rw-r--r--converters/mule-ucs-emacs20/pkg-message32
-rw-r--r--converters/mule-ucs-emacs20/pkg-plist93
6 files changed, 231 insertions, 0 deletions
diff --git a/converters/mule-ucs-emacs20/Makefile b/converters/mule-ucs-emacs20/Makefile
new file mode 100644
index 000000000000..04fc9d774f3b
--- /dev/null
+++ b/converters/mule-ucs-emacs20/Makefile
@@ -0,0 +1,80 @@
+# New ports collection makefile for: Mule-UCS for GNU Emacs 20
+# Version required: 0.74
+# Date created: 14 January 2000
+# Whom: OKAZAKI Tetsurou
+#
+# $FreeBSD$
+#
+
+DISTNAME= Mule-UCS-0.74
+PORTNAME= mule-ucs-${EMACS_PORT}
+PORTVERSION= 0.74
+CATEGORIES= converters elisp
+MASTER_SITES= ftp://ftp.kddlabs.co.jp/Japan/m17n.org/mule/Mule-UCS/ \
+ ftp://ftp.etl.go.jp/pub/mule/Mule-UCS/ \
+ ftp://ftp.win.or.jp/pub/word/mule/Mule-UCS/ \
+ ftp://ftp.center.osaka-u.ac.jp/mule/Mule-UCS/ \
+ ftp://ftp.kreonet.re.kr/pub/tools/emacs/mule/Mule-UCS/ \
+ ftp://ftp.m17n.org/pub/mule/Mule-UCS/
+
+MAINTAINER= okazaki@be.to
+
+MULEUCSDOCDIR= share/doc/mule-ucs
+
+# emacs20
+EMACS_NAME= emacs
+EMACS_PORT= emacs20
+EMACS_VER= 20.6
+EMACS_LIBDIR= share/${EMACS_NAME}
+EMACS_LIBDIR_WITH_VER= ${EMACS_LIBDIR}/${EMACS_VER}
+
+# target name for make build
+ALL_TARGET= elc
+
+EMACS_CMD= ${PREFIX}/bin/${EMACS_NAME}-${EMACS_VER}
+BUILD_DEPENDS= ${EMACS_CMD}:${PORTSDIR}/editors/${EMACS_PORT}
+RUN_DEPENDS= ${EMACS_CMD}:${PORTSDIR}/editors/${EMACS_PORT}
+SCRIPTS_ENV= EMACS_LIBDIR=${EMACS_LIBDIR} EMACS_VER=${EMACS_VER} \
+ EMACS_LIBDIR_WITH_VER=${EMACS_LIBDIR_WITH_VER}
+PLIST_SUB= EMACS_LIBDIR=${EMACS_LIBDIR} EMACS_VER=${EMACS_VER} \
+ EMACS_LIBDIR_WITH_VER=${EMACS_LIBDIR_WITH_VER} \
+ MULEUCSDOCDIR=${MULEUCSDOCDIR}
+MAKE_FLAGS= EMACS=${EMACS_CMD}
+
+MULEUCS_DESTDIR= ${PREFIX}/${EMACS_LIBDIR_WITH_VER}/site-lisp/mule-ucs
+EMACS_ARGS= -q --no-site-file -batch
+
+do-build:
+ cd ${WRKSRC} && \
+ ${EMACS_CMD} ${EMACS_ARGS} -l mucs-comp.el
+ cd ${WRKSRC}/lisp/big5conv && \
+ ${EMACS_CMD} ${EMACS_ARGS} -l big5-comp.el
+ cd ${WRKSRC}/lisp/jisx0213 && \
+ ${EMACS_CMD} ${EMACS_ARGS} -l x0213-comp.el
+
+do-install:
+ @${MKDIR} ${MULEUCS_DESTDIR}
+ cd ${WRKSRC}/lisp; \
+ for dir in . big5conv jisx0213 reldata ; do \
+ ${MKDIR} ${MULEUCS_DESTDIR}/$${dir} ; \
+ ${INSTALL_DATA} $${dir}/*.el* ${MULEUCS_DESTDIR}/$${dir} ; \
+ done
+ @${RM} ${MULEUCS_DESTDIR}/big5conv/big5-comp.el
+ @${RM} ${MULEUCS_DESTDIR}/jisx0213/x0213-comp.el
+
+post-install:
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${PREFIX}/${MULEUCSDOCDIR}
+ cd ${WRKSRC}/lisp; \
+ for i in ChangeLog MuleUni.txt README* ; do \
+ ${INSTALL_DATA} $${i} ${PREFIX}/${MULEUCSDOCDIR}/ ; \
+ done
+ ${INSTALL_DATA} ${WRKSRC}/lisp/big5conv/README \
+ ${PREFIX}/${MULEUCSDOCDIR}/README.big5conv
+ ${INSTALL_DATA} ${WRKSRC}/lisp/jisx0213/ChangeLog \
+ ${PREFIX}/${MULEUCSDOCDIR}/ChangeLog.jisx0213
+ ${INSTALL_DATA} ${WRKSRC}/lisp/jisx0213/readme.txt \
+ ${PREFIX}/${MULEUCSDOCDIR}/README.jisx0213
+.endif
+
+.include <bsd.port.mk>
diff --git a/converters/mule-ucs-emacs20/distinfo b/converters/mule-ucs-emacs20/distinfo
new file mode 100644
index 000000000000..c9aab9fa76c1
--- /dev/null
+++ b/converters/mule-ucs-emacs20/distinfo
@@ -0,0 +1 @@
+MD5 (Mule-UCS-0.74.tar.gz) = dae96a8086fd9eb215dee2088d88ef68
diff --git a/converters/mule-ucs-emacs20/pkg-comment b/converters/mule-ucs-emacs20/pkg-comment
new file mode 100644
index 000000000000..9c1fcdc2431e
--- /dev/null
+++ b/converters/mule-ucs-emacs20/pkg-comment
@@ -0,0 +1 @@
+Universal enCoding System for FSF Emacs 20
diff --git a/converters/mule-ucs-emacs20/pkg-descr b/converters/mule-ucs-emacs20/pkg-descr
new file mode 100644
index 000000000000..d0a465b4238e
--- /dev/null
+++ b/converters/mule-ucs-emacs20/pkg-descr
@@ -0,0 +1,24 @@
+Mule-UCS is an Emacs Lisp library to define encoding/decoding schemes by
+rather simple translation rule.
+
+Emacs prepares encoding/decoding schemes in the following 2 mechanisms.
+
+ (A) ... built-in ISO/IEC 2022 encoder/decoder
+ (B) ... Code Conversion Language(CCL) engine
+
+Although (A) provides powerful encoding/decoding schemes as to
+ISO/IEC 2022, we cannot utilize this for any other encoding schemes.
+(B) is a simple register machine. However, CCL program is arcane
+language because it is infamous and mysterious:-P.
+
+Mule-UCS provides flexible and comprehensible encoding mechanism to Emacs.
+Currently, Mule-UCS generates CCL program from the translation rule, but
+in the future, Mule-UCS may support another conversion engine on Emacs.
+
+Predefined conversions for Mule-UCS included in this package are:
+
+ * Unicode(UTF-7/8/16) support.
+ * Big5 <-> CNS conversion support.
+
+---
+Ported by okazaki@be.to
diff --git a/converters/mule-ucs-emacs20/pkg-message b/converters/mule-ucs-emacs20/pkg-message
new file mode 100644
index 000000000000..acc717e0b624
--- /dev/null
+++ b/converters/mule-ucs-emacs20/pkg-message
@@ -0,0 +1,32 @@
+If you want to use Unicode support included in Mule-UCS package,
+please put one line as below:
+
+(require 'un-define)
+
+in your .emacs, site-start.el, or any other start up configuration file.
+If you want to use auto detection feature on UTF-8/16, add one more:
+
+(require 'un-tools)
+
+See ${PREFIX}/share/doc/mule-ucs/README.Unicode for details.
+
+If you want to use BIG5 conversion support, add the below line either:
+
+(require 'big5c-ucs)
+
+or
+
+(require 'big5c-cns)
+
+to your .emacs depends on which conversion methods you would like to use.
+See ${PREFIX}/share/doc/mule-ucs/README.big5conv for details.
+
+If you want to use JIS X 0213 support, add the following line:
+
+(require 'jisx0213)
+
+to your .emacs. See ${PREFIX}/share/doc/mule-ucs/README.jisx0213
+(written in Japanese) for details.
+
+Mule-UCS is installed under the following directory:
+ ${PREFIX}/share/emacs/20.x/site-lisp/mule-ucs/ --- Mule-UCS
diff --git a/converters/mule-ucs-emacs20/pkg-plist b/converters/mule-ucs-emacs20/pkg-plist
new file mode 100644
index 000000000000..97f5b415c0df
--- /dev/null
+++ b/converters/mule-ucs-emacs20/pkg-plist
@@ -0,0 +1,93 @@
+%%EMACS_LIBDIR_WITH_VER%%/site-lisp/mule-ucs/big5conv/big5c-cns.el
+%%EMACS_LIBDIR_WITH_VER%%/site-lisp/mule-ucs/big5conv/big5c-cns.elc
+%%EMACS_LIBDIR_WITH_VER%%/site-lisp/mule-ucs/big5conv/big5c-ucs.el
+%%EMACS_LIBDIR_WITH_VER%%/site-lisp/mule-ucs/big5conv/big5c-ucs.elc
+%%EMACS_LIBDIR_WITH_VER%%/site-lisp/mule-ucs/big5conv/big5conv.el
+%%EMACS_LIBDIR_WITH_VER%%/site-lisp/mule-ucs/big5conv/big5conv.elc
+%%EMACS_LIBDIR_WITH_VER%%/site-lisp/mule-ucs/big5conv/big5type.el
+%%EMACS_LIBDIR_WITH_VER%%/site-lisp/mule-ucs/big5conv/big5type.elc
+%%EMACS_LIBDIR_WITH_VER%%/site-lisp/mule-ucs/jisx0213/egg-sim-jisx0213.el
+%%EMACS_LIBDIR_WITH_VER%%/site-lisp/mule-ucs/jisx0213/jisx0213.el
+%%EMACS_LIBDIR_WITH_VER%%/site-lisp/mule-ucs/jisx0213/x0213-cdef.el
+%%EMACS_LIBDIR_WITH_VER%%/site-lisp/mule-ucs/jisx0213/x0213-cdef.elc
+%%EMACS_LIBDIR_WITH_VER%%/site-lisp/mule-ucs/jisx0213/x0213-char.el
+%%EMACS_LIBDIR_WITH_VER%%/site-lisp/mule-ucs/jisx0213/x0213-char.elc
+%%EMACS_LIBDIR_WITH_VER%%/site-lisp/mule-ucs/jisx0213/x0213-csys.el
+%%EMACS_LIBDIR_WITH_VER%%/site-lisp/mule-ucs/jisx0213/x0213-csys.elc
+%%EMACS_LIBDIR_WITH_VER%%/site-lisp/mule-ucs/jisx0213/x0213-font.el
+%%EMACS_LIBDIR_WITH_VER%%/site-lisp/mule-ucs/jisx0213/x0213-font.elc
+%%EMACS_LIBDIR_WITH_VER%%/site-lisp/mule-ucs/jisx0213/x0213-mime.el
+%%EMACS_LIBDIR_WITH_VER%%/site-lisp/mule-ucs/jisx0213/x0213-mime.elc
+%%EMACS_LIBDIR_WITH_VER%%/site-lisp/mule-ucs/jisx0213/x0213-sjis.el
+%%EMACS_LIBDIR_WITH_VER%%/site-lisp/mule-ucs/jisx0213/x0213-udef.el
+%%EMACS_LIBDIR_WITH_VER%%/site-lisp/mule-ucs/jisx0213/x0213-udef.elc
+%%EMACS_LIBDIR_WITH_VER%%/site-lisp/mule-ucs/jisx0213/x0213-util.el
+%%EMACS_LIBDIR_WITH_VER%%/site-lisp/mule-ucs/jisx0213/x0213-util.elc
+%%EMACS_LIBDIR_WITH_VER%%/site-lisp/mule-ucs/jisx0213/ujisx0213.el
+%%EMACS_LIBDIR_WITH_VER%%/site-lisp/mule-ucs/mccl-font.el
+%%EMACS_LIBDIR_WITH_VER%%/site-lisp/mule-ucs/mccl-font.elc
+%%EMACS_LIBDIR_WITH_VER%%/site-lisp/mule-ucs/mucs-ccl.el
+%%EMACS_LIBDIR_WITH_VER%%/site-lisp/mule-ucs/mucs-ccl.elc
+%%EMACS_LIBDIR_WITH_VER%%/site-lisp/mule-ucs/mucs-error.el
+%%EMACS_LIBDIR_WITH_VER%%/site-lisp/mule-ucs/mucs-error.elc
+%%EMACS_LIBDIR_WITH_VER%%/site-lisp/mule-ucs/mucs-type.el
+%%EMACS_LIBDIR_WITH_VER%%/site-lisp/mule-ucs/mucs-type.elc
+%%EMACS_LIBDIR_WITH_VER%%/site-lisp/mule-ucs/mucs.el
+%%EMACS_LIBDIR_WITH_VER%%/site-lisp/mule-ucs/mucs.elc
+%%EMACS_LIBDIR_WITH_VER%%/site-lisp/mule-ucs/mule-uni.el
+%%EMACS_LIBDIR_WITH_VER%%/site-lisp/mule-ucs/reldata/u-cns-1.el
+%%EMACS_LIBDIR_WITH_VER%%/site-lisp/mule-ucs/reldata/u-cns-2.el
+%%EMACS_LIBDIR_WITH_VER%%/site-lisp/mule-ucs/reldata/u-cns-3.el
+%%EMACS_LIBDIR_WITH_VER%%/site-lisp/mule-ucs/reldata/u-cns-4.el
+%%EMACS_LIBDIR_WITH_VER%%/site-lisp/mule-ucs/reldata/u-cns-5.el
+%%EMACS_LIBDIR_WITH_VER%%/site-lisp/mule-ucs/reldata/u-cns-6.el
+%%EMACS_LIBDIR_WITH_VER%%/site-lisp/mule-ucs/reldata/u-cns-7.el
+%%EMACS_LIBDIR_WITH_VER%%/site-lisp/mule-ucs/reldata/uascii.el
+%%EMACS_LIBDIR_WITH_VER%%/site-lisp/mule-ucs/reldata/ubig5.el
+%%EMACS_LIBDIR_WITH_VER%%/site-lisp/mule-ucs/reldata/ugb2312.el
+%%EMACS_LIBDIR_WITH_VER%%/site-lisp/mule-ucs/reldata/uipa.el
+%%EMACS_LIBDIR_WITH_VER%%/site-lisp/mule-ucs/reldata/uiso8859-1.el
+%%EMACS_LIBDIR_WITH_VER%%/site-lisp/mule-ucs/reldata/uiso8859-2.el
+%%EMACS_LIBDIR_WITH_VER%%/site-lisp/mule-ucs/reldata/uiso8859-3.el
+%%EMACS_LIBDIR_WITH_VER%%/site-lisp/mule-ucs/reldata/uiso8859-4.el
+%%EMACS_LIBDIR_WITH_VER%%/site-lisp/mule-ucs/reldata/uiso8859-5.el
+%%EMACS_LIBDIR_WITH_VER%%/site-lisp/mule-ucs/reldata/uiso8859-6.el
+%%EMACS_LIBDIR_WITH_VER%%/site-lisp/mule-ucs/reldata/uiso8859-7.el
+%%EMACS_LIBDIR_WITH_VER%%/site-lisp/mule-ucs/reldata/uiso8859-8.el
+%%EMACS_LIBDIR_WITH_VER%%/site-lisp/mule-ucs/reldata/uiso8859-9.el
+%%EMACS_LIBDIR_WITH_VER%%/site-lisp/mule-ucs/reldata/ujisx0201.el
+%%EMACS_LIBDIR_WITH_VER%%/site-lisp/mule-ucs/reldata/ujisx0208.el
+%%EMACS_LIBDIR_WITH_VER%%/site-lisp/mule-ucs/reldata/ujisx0212.el
+%%EMACS_LIBDIR_WITH_VER%%/site-lisp/mule-ucs/reldata/uksc5601.el
+%%EMACS_LIBDIR_WITH_VER%%/site-lisp/mule-ucs/reldata/utis620.el
+%%EMACS_LIBDIR_WITH_VER%%/site-lisp/mule-ucs/tae.el
+%%EMACS_LIBDIR_WITH_VER%%/site-lisp/mule-ucs/tae.elc
+%%EMACS_LIBDIR_WITH_VER%%/site-lisp/mule-ucs/tbl-mg.el
+%%EMACS_LIBDIR_WITH_VER%%/site-lisp/mule-ucs/tbl-mg.elc
+%%EMACS_LIBDIR_WITH_VER%%/site-lisp/mule-ucs/trans-util.el
+%%EMACS_LIBDIR_WITH_VER%%/site-lisp/mule-ucs/trans-util.elc
+%%EMACS_LIBDIR_WITH_VER%%/site-lisp/mule-ucs/txt-tbl.el
+%%EMACS_LIBDIR_WITH_VER%%/site-lisp/mule-ucs/txt-tbl.elc
+%%EMACS_LIBDIR_WITH_VER%%/site-lisp/mule-ucs/un-data.el
+%%EMACS_LIBDIR_WITH_VER%%/site-lisp/mule-ucs/un-data.elc
+%%EMACS_LIBDIR_WITH_VER%%/site-lisp/mule-ucs/un-define.el
+%%EMACS_LIBDIR_WITH_VER%%/site-lisp/mule-ucs/un-define.elc
+%%EMACS_LIBDIR_WITH_VER%%/site-lisp/mule-ucs/un-tools.el
+%%EMACS_LIBDIR_WITH_VER%%/site-lisp/mule-ucs/un-tools.elc
+%%EMACS_LIBDIR_WITH_VER%%/site-lisp/mule-ucs/un-trbase.el
+%%EMACS_LIBDIR_WITH_VER%%/site-lisp/mule-ucs/unicode.el
+%%EMACS_LIBDIR_WITH_VER%%/site-lisp/mule-ucs/unicode.elc
+%%EMACS_LIBDIR_WITH_VER%%/site-lisp/mule-ucs/utf.el
+%%EMACS_LIBDIR_WITH_VER%%/site-lisp/mule-ucs/utf.elc
+@dirrm %%EMACS_LIBDIR_WITH_VER%%/site-lisp/mule-ucs/big5conv
+@dirrm %%EMACS_LIBDIR_WITH_VER%%/site-lisp/mule-ucs/jisx0213
+@dirrm %%EMACS_LIBDIR_WITH_VER%%/site-lisp/mule-ucs/reldata
+@dirrm %%EMACS_LIBDIR_WITH_VER%%/site-lisp/mule-ucs
+%%MULEUCSDOCDIR%%/ChangeLog
+%%MULEUCSDOCDIR%%/ChangeLog.jisx0213
+%%MULEUCSDOCDIR%%/MuleUni.txt
+%%MULEUCSDOCDIR%%/README
+%%MULEUCSDOCDIR%%/README.Unicode
+%%MULEUCSDOCDIR%%/README.big5conv
+%%MULEUCSDOCDIR%%/README.jisx0213
+@dirrm %%MULEUCSDOCDIR%%