Skip site navigation (1)Skip section navigation (2)
Date:      20 Feb 2000 01:14:09 -0000
From:      okazaki@be.to
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/16827: New port: Mule-UCS
Message-ID:  <20000220011409.12623.qmail@dolphin.be.to>

next in thread | raw e-mail | index | archive | help

>Number:         16827
>Category:       ports
>Synopsis:       New port: Mule-UCS
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Feb 19 17:20:03 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     OKAZAKI Tetsurou
>Release:        FreeBSD 3.4-STABLE i386
>Organization:
Unknown
>Environment:

	

>Description:

	This is a port of Mule-UCS, an Emacs Lisp library to define
	encoding/decoding schemes by simple translation rules.
	Predefined conversions included in this version are:

	  *  Unicode(UTF-7/8/16) support.
	  *  Big5 <-> CNS conversion support.

	Since Mule-UCS currently supports Emacs20.4 or later only,
	we can not make the port for emacsen besides editors/emacs20.

>How-To-Repeat:

	Use the shar below to create the port.

>Fix:
	
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	mule-ucs-emacs20
#	mule-ucs-emacs20/files
#	mule-ucs-emacs20/files/md5
#	mule-ucs-emacs20/pkg
#	mule-ucs-emacs20/pkg/COMMENT
#	mule-ucs-emacs20/pkg/DESCR
#	mule-ucs-emacs20/pkg/PLIST
#	mule-ucs-emacs20/pkg/MESSAGE
#	mule-ucs-emacs20/Makefile
#
echo c - mule-ucs-emacs20
mkdir -p mule-ucs-emacs20 > /dev/null 2>&1
echo c - mule-ucs-emacs20/files
mkdir -p mule-ucs-emacs20/files > /dev/null 2>&1
echo x - mule-ucs-emacs20/files/md5
sed 's/^X//' >mule-ucs-emacs20/files/md5 << 'END-of-mule-ucs-emacs20/files/md5'
XMD5 (Mule-UCS-0.71.tar.gz) = d2d23a6d1ce14a93cfc9ef329e980ff9
END-of-mule-ucs-emacs20/files/md5
echo c - mule-ucs-emacs20/pkg
mkdir -p mule-ucs-emacs20/pkg > /dev/null 2>&1
echo x - mule-ucs-emacs20/pkg/COMMENT
sed 's/^X//' >mule-ucs-emacs20/pkg/COMMENT << 'END-of-mule-ucs-emacs20/pkg/COMMENT'
XUniversal enCoding System for FSF Emacs 20
END-of-mule-ucs-emacs20/pkg/COMMENT
echo x - mule-ucs-emacs20/pkg/DESCR
sed 's/^X//' >mule-ucs-emacs20/pkg/DESCR << 'END-of-mule-ucs-emacs20/pkg/DESCR'
XMule-UCS is an Emacs Lisp library to define encoding/decoding schemes by
Xrather simple translation rule.
X
XEmacs prepares encoding/decoding schemes in the following 2 mechanisms.
X
X  (A) ... built-in ISO/IEC 2022 encoder/decoder
X  (B) ... Code Conversion Language(CCL) engine
X
XAlthough (A) provides powerful encoding/decoding schemes as to
XISO/IEC 2022, we cannot utilize this for any other encoding schemes.
X(B) is a simple register machine. However, CCL program is arcane
Xlanguage because it is infamous and mysterious:-P.
X
XMule-UCS provides flexible and comprehensible encoding mechanism to Emacs.
XCurrently, Mule-UCS generates CCL program from the translation rule, but
Xin the future, Mule-UCS may support another conversion engine on Emacs.
X
XPredefined conversions for Mule-UCS included in this package are:
X
X  *  Unicode(UTF-7/8/16) support.
X  *  Big5 <-> CNS conversion support.
X
X---
XPorted by okazaki@be.to
END-of-mule-ucs-emacs20/pkg/DESCR
echo x - mule-ucs-emacs20/pkg/PLIST
sed 's/^X//' >mule-ucs-emacs20/pkg/PLIST << 'END-of-mule-ucs-emacs20/pkg/PLIST'
X%%EMACS_LIBDIR_WITH_VER%%/site-lisp/mule-ucs/big5conv/big5-cns.el
X%%EMACS_LIBDIR_WITH_VER%%/site-lisp/mule-ucs/big5conv/big5-cns.elc
X%%EMACS_LIBDIR_WITH_VER%%/site-lisp/mule-ucs/big5conv/big5conv.el
X%%EMACS_LIBDIR_WITH_VER%%/site-lisp/mule-ucs/big5conv/big5type.el
X%%EMACS_LIBDIR_WITH_VER%%/site-lisp/mule-ucs/mccl-font.el
X%%EMACS_LIBDIR_WITH_VER%%/site-lisp/mule-ucs/mccl-font.elc
X%%EMACS_LIBDIR_WITH_VER%%/site-lisp/mule-ucs/mucs-ccl.el
X%%EMACS_LIBDIR_WITH_VER%%/site-lisp/mule-ucs/mucs-ccl.elc
X%%EMACS_LIBDIR_WITH_VER%%/site-lisp/mule-ucs/mucs-error.el
X%%EMACS_LIBDIR_WITH_VER%%/site-lisp/mule-ucs/mucs-error.elc
X%%EMACS_LIBDIR_WITH_VER%%/site-lisp/mule-ucs/mucs-type.el
X%%EMACS_LIBDIR_WITH_VER%%/site-lisp/mule-ucs/mucs-type.elc
X%%EMACS_LIBDIR_WITH_VER%%/site-lisp/mule-ucs/mucs.el
X%%EMACS_LIBDIR_WITH_VER%%/site-lisp/mule-ucs/mucs.elc
X%%EMACS_LIBDIR_WITH_VER%%/site-lisp/mule-ucs/reldata/u-cns-1.el
X%%EMACS_LIBDIR_WITH_VER%%/site-lisp/mule-ucs/reldata/u-cns-2.el
X%%EMACS_LIBDIR_WITH_VER%%/site-lisp/mule-ucs/reldata/u-cns-3.el
X%%EMACS_LIBDIR_WITH_VER%%/site-lisp/mule-ucs/reldata/u-cns-4.el
X%%EMACS_LIBDIR_WITH_VER%%/site-lisp/mule-ucs/reldata/u-cns-5.el
X%%EMACS_LIBDIR_WITH_VER%%/site-lisp/mule-ucs/reldata/u-cns-6.el
X%%EMACS_LIBDIR_WITH_VER%%/site-lisp/mule-ucs/reldata/u-cns-7.el
X%%EMACS_LIBDIR_WITH_VER%%/site-lisp/mule-ucs/reldata/uascii.el
X%%EMACS_LIBDIR_WITH_VER%%/site-lisp/mule-ucs/reldata/ugb2312.el
X%%EMACS_LIBDIR_WITH_VER%%/site-lisp/mule-ucs/reldata/uipa.el
X%%EMACS_LIBDIR_WITH_VER%%/site-lisp/mule-ucs/reldata/uiso8859-1.el
X%%EMACS_LIBDIR_WITH_VER%%/site-lisp/mule-ucs/reldata/uiso8859-2.el
X%%EMACS_LIBDIR_WITH_VER%%/site-lisp/mule-ucs/reldata/uiso8859-3.el
X%%EMACS_LIBDIR_WITH_VER%%/site-lisp/mule-ucs/reldata/uiso8859-4.el
X%%EMACS_LIBDIR_WITH_VER%%/site-lisp/mule-ucs/reldata/uiso8859-5.el
X%%EMACS_LIBDIR_WITH_VER%%/site-lisp/mule-ucs/reldata/uiso8859-6.el
X%%EMACS_LIBDIR_WITH_VER%%/site-lisp/mule-ucs/reldata/uiso8859-7.el
X%%EMACS_LIBDIR_WITH_VER%%/site-lisp/mule-ucs/reldata/uiso8859-8.el
X%%EMACS_LIBDIR_WITH_VER%%/site-lisp/mule-ucs/reldata/uiso8859-9.el
X%%EMACS_LIBDIR_WITH_VER%%/site-lisp/mule-ucs/reldata/ujisx0201.el
X%%EMACS_LIBDIR_WITH_VER%%/site-lisp/mule-ucs/reldata/ujisx0208.el
X%%EMACS_LIBDIR_WITH_VER%%/site-lisp/mule-ucs/reldata/ujisx0212.el
X%%EMACS_LIBDIR_WITH_VER%%/site-lisp/mule-ucs/reldata/uksc5601.el
X%%EMACS_LIBDIR_WITH_VER%%/site-lisp/mule-ucs/tae.el
X%%EMACS_LIBDIR_WITH_VER%%/site-lisp/mule-ucs/tae.elc
X%%EMACS_LIBDIR_WITH_VER%%/site-lisp/mule-ucs/tbl-mg.el
X%%EMACS_LIBDIR_WITH_VER%%/site-lisp/mule-ucs/tbl-mg.elc
X%%EMACS_LIBDIR_WITH_VER%%/site-lisp/mule-ucs/trans-util.el
X%%EMACS_LIBDIR_WITH_VER%%/site-lisp/mule-ucs/trans-util.elc
X%%EMACS_LIBDIR_WITH_VER%%/site-lisp/mule-ucs/txt-tbl.el
X%%EMACS_LIBDIR_WITH_VER%%/site-lisp/mule-ucs/txt-tbl.elc
X%%EMACS_LIBDIR_WITH_VER%%/site-lisp/mule-ucs/un-data.el
X%%EMACS_LIBDIR_WITH_VER%%/site-lisp/mule-ucs/un-data.elc
X%%EMACS_LIBDIR_WITH_VER%%/site-lisp/mule-ucs/un-define.el
X%%EMACS_LIBDIR_WITH_VER%%/site-lisp/mule-ucs/un-define.elc
X%%EMACS_LIBDIR_WITH_VER%%/site-lisp/mule-ucs/un-tools.el
X%%EMACS_LIBDIR_WITH_VER%%/site-lisp/mule-ucs/un-tools.elc
X%%EMACS_LIBDIR_WITH_VER%%/site-lisp/mule-ucs/unicode.el
X%%EMACS_LIBDIR_WITH_VER%%/site-lisp/mule-ucs/unicode.elc
X@dirrm %%EMACS_LIBDIR_WITH_VER%%/site-lisp/mule-ucs/big5conv
X@dirrm %%EMACS_LIBDIR_WITH_VER%%/site-lisp/mule-ucs/reldata
X@dirrm %%EMACS_LIBDIR_WITH_VER%%/site-lisp/mule-ucs
X%%MULEUCSDOCDIR%%/ChangeLog
X%%MULEUCSDOCDIR%%/MuleUni.txt
X%%MULEUCSDOCDIR%%/README
X%%MULEUCSDOCDIR%%/README.Unicode
X%%MULEUCSDOCDIR%%/README.big5conv
X@dirrm %%MULEUCSDOCDIR%%
END-of-mule-ucs-emacs20/pkg/PLIST
echo x - mule-ucs-emacs20/pkg/MESSAGE
sed 's/^X//' >mule-ucs-emacs20/pkg/MESSAGE << 'END-of-mule-ucs-emacs20/pkg/MESSAGE'
XMule-UCS Unicode definition(MULE-UCS-Unicode hereafter) provides
Xvarious coding-systems for external representations and some APIs
Xfor other Emacs Lisp Library.
X
XIf you want to use these features included in this package,
Xplease put one line as below:
X---
X(require 'un-define)
X---
Xin your .emacs, site-start.el, or any other start up configuration file.
X
XIf you want to use auto detection feature on UTF-8/16, please
Xadd one more line:
X---
X(require 'un-tools)
X---
Xto your .emacs.
X
X  See ${PREFIX}/share/doc/mule-ucs/README{,.Unicode} for detail.
X
XMule-UCS is installed under the following directory:
X	${PREFIX}/share/emacs/20.x/site-lisp/mule-ucs/	--- Mule-UCS
END-of-mule-ucs-emacs20/pkg/MESSAGE
echo x - mule-ucs-emacs20/Makefile
sed 's/^X//' >mule-ucs-emacs20/Makefile << 'END-of-mule-ucs-emacs20/Makefile'
X# New ports collection makefile for:	Mule-UCS for FSF Emacs 20
X# Version required:	0.71
X# Date created:		14 January 2000
X# Whom:			OKAZAKI Tetsurou
X#
X# $FreeBSD$
X#
X
XDISTNAME=	mule-ucs-${MULEUCS_VER}
XCATEGORIES=	converters elisp
XMASTER_SITES=	ftp://ftp.kddlabs.co.jp/Japan/m17n.org/mule/Mule-UCS/ \
X		ftp://ftp.etl.go.jp/pub/mule/Mule-UCS/ \
X		ftp://ftp.win.or.jp/pub/word/mule/Mule-UCS/ \
X		ftp://ftp.center.osaka-u.ac.jp/mule/Mule-UCS/ \
X		ftp://ftp.kreonet.re.kr/pub/tools/emacs/mule/Mule-UCS/ \
X		ftp://ftp.m17n.org/pub/mule/Mule-UCS/
X
XMAINTAINER=	okazaki@be.to
X
X# distfile version
XMULEUCS_VER=		0.71
XMULEUCS_PKG_VER=	${MULEUCS_VER}
XMULEUCSDOCDIR=		share/doc/mule-ucs
X
X# emacs20
XEMACS_NAME=	emacs
XEMACS_PORT=	emacs20
XEMACS_VER=	20.5
XEMACS_LIBDIR=		share/${EMACS_NAME}
XEMACS_LIBDIR_WITH_VER=	${EMACS_LIBDIR}/${EMACS_VER}
X
X# target name for make build
XALL_TARGET=	elc
X
XPKGNAME=	Mule-UCS-${EMACS_PORT}-${MULEUCS_PKG_VER}
XEMACS_CMD=	${PREFIX}/bin/${EMACS_NAME}-${EMACS_VER}
XBUILD_DEPENDS=	${EMACS_CMD}:${PORTSDIR}/editors/${EMACS_PORT}
XRUN_DEPENDS=	${EMACS_CMD}:${PORTSDIR}/editors/${EMACS_PORT}
XSCRIPTS_ENV=	EMACS_LIBDIR=${EMACS_LIBDIR} EMACS_VER=${EMACS_VER} \
X		EMACS_LIBDIR_WITH_VER=${EMACS_LIBDIR_WITH_VER}
XPLIST_SUB=	EMACS_LIBDIR=${EMACS_LIBDIR} EMACS_VER=${EMACS_VER} \
X		EMACS_LIBDIR_WITH_VER=${EMACS_LIBDIR_WITH_VER} \
X		MULEUCSDOCDIR=${MULEUCSDOCDIR}
XMAKE_FLAGS=	EMACS=${EMACS_CMD}
X
XMULEUCS_DESTDIR= ${PREFIX}/${EMACS_LIBDIR_WITH_VER}/site-lisp/mule-ucs
XEMACS_ARGS=	-q --no-site-file -batch
X
Xdo-build:
X	cd ${WRKSRC}; \
X	${EMACS_CMD} ${EMACS_ARGS} -l mucs-comp.el ; \
X	${EMACS_CMD} ${EMACS_ARGS} -l mucs-comp.el lisp/big5conv/big5-cns.el
X
Xdo-install:
X	@${MKDIR} ${MULEUCS_DESTDIR}
X	cd ${WRKSRC}/lisp; \
X	for dir in . big5conv reldata ; do \
X		${MKDIR} ${MULEUCS_DESTDIR}/$${dir} ; \
X		${INSTALL_DATA} $${dir}/*.el* ${MULEUCS_DESTDIR}/$${dir} ; \
X	done
X
Xpost-install:
X.if !defined(NOPORTDOCS)
X	@${MKDIR} ${PREFIX}/${MULEUCSDOCDIR}
X	cd ${WRKSRC}/lisp; \
X	for i in ChangeLog MuleUni.txt README* ; do \
X		${INSTALL_DATA} $${i} ${PREFIX}/${MULEUCSDOCDIR}/ ; \
X	done
X	${INSTALL_DATA} ${WRKSRC}/lisp/big5conv/README \
X			 ${PREFIX}/${MULEUCSDOCDIR}/README.big5conv
X.endif
X
X.include <bsd.port.mk>
END-of-mule-ucs-emacs20/Makefile
exit




>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000220011409.12623.qmail>