diff options
author | sada <sada@FreeBSD.org> | 2000-07-24 22:29:46 +0000 |
---|---|---|
committer | sada <sada@FreeBSD.org> | 2000-07-24 22:29:46 +0000 |
commit | 9489dbe05694a517d1e8576f004577429a1ac031 (patch) | |
tree | 70de208e968797ad4a1051a0f89ea336e08f6e1c /japanese | |
parent | 49c0b3d1d9ffd2650f52c442f999451771ee2479 (diff) | |
download | FreeBSD-ports-9489dbe05694a517d1e8576f004577429a1ac031.zip FreeBSD-ports-9489dbe05694a517d1e8576f004577429a1ac031.tar.gz |
New port for a Japanese translation of the
GNU Emacs Lisp Reference Manual edition 2.5.
PR: ports/17771
Submitted by: OKAZAKI Tetsurou <okazaki@be.to>
Diffstat (limited to 'japanese')
-rw-r--r-- | japanese/elisp-manual/Makefile | 56 | ||||
-rw-r--r-- | japanese/elisp-manual/distinfo | 3 | ||||
-rw-r--r-- | japanese/elisp-manual/files/Makefile.in | 19 | ||||
-rw-r--r-- | japanese/elisp-manual/files/PORT_TEXIFMT.MK | 17 | ||||
-rw-r--r-- | japanese/elisp-manual/files/extra-patch-texinfmt.el.patch | 41 | ||||
-rw-r--r-- | japanese/elisp-manual/files/patch-aa | 19 | ||||
-rw-r--r-- | japanese/elisp-manual/pkg-comment | 1 | ||||
-rw-r--r-- | japanese/elisp-manual/pkg-descr | 24 | ||||
-rw-r--r-- | japanese/elisp-manual/pkg-plist | 3 |
9 files changed, 183 insertions, 0 deletions
diff --git a/japanese/elisp-manual/Makefile b/japanese/elisp-manual/Makefile new file mode 100644 index 0000000..4e81b3a --- /dev/null +++ b/japanese/elisp-manual/Makefile @@ -0,0 +1,56 @@ +# New ports collection makefile for: ja-elisp-manual +# Date created: 28 Mar 2000 +# Whom: OKAZAKI Tetsurou +# +# $FreeBSD$ +# + +PORTNAME= elisp-manual +PORTVERSION= 2.5.20000508 +CATEGORIES= japanese lang +MASTER_SITES= ftp://ftp.ascii.co.jp/pub/GNU/elisp-manual-20/ +DISTNAME= elisp-manual-20-2.5-jp +EXTRACT_SUFX= .tgz + +PATCH_SITES= ftp://ftp.ascii.co.jp/pub/GNU/elisp-manual-20/ +PATCHFILES= elisp-manual-20-2.5-jp.ERRATA.000422.jis \ + elisp-manual-20-2.5-jp.ERRATA.000508.jis + +MAINTAINER= okazaki@be.to + +EMACS_PORT_NAME= emacs20 +EMACS_NO_RUN_DEPENDS= YES + +# emacs port setup + +EXTRA_FILES= ${LOCALBASE}/${EMACS_LIBDIR_WITH_VER}/lisp/textmodes/texinfmt.el + +# We must apply this patch at first. +EXTRA_PATCHES= ${WRKSRC}/patch-texinfmt.el + +post-extract: + ${CP} ${FILESDIR}/Makefile.in ${WRKSRC}/Makefile + ${CP} ${FILESDIR}/PORT_TEXIFMT.MK ${WRKSRC} + ${CP} ${EXTRA_FILES} ${WRKSRC} + ${MKDIR} ${WRKDIR}/info + ${LN} -sf index.unperm ${WRKSRC}/index.texi + +pre-patch: + @(cd ${WRKSRC} && \ + ${PATCH} ${PATCH_ARGS} < ${FILESDIR}/patch-texinfmt.el.patch ; \ + ) + +post-patch: + cd ${WRKSRC} && \ + ${PERL} -pi -e 's/(@[^@]*ref{.*,.*,.*, *emacs),/$$1-ja,/;' *.texi + +pre-build: + @${ECHO_MSG} "===> Now start formatting texinfo. Please wait." + +post-build: + @${ECHO_MSG} "===> Done." + +post-install: + install-info ${PREFIX}/info/elisp-ja ${PREFIX}/info/dir + +.include <bsd.port.mk> diff --git a/japanese/elisp-manual/distinfo b/japanese/elisp-manual/distinfo new file mode 100644 index 0000000..514ccad --- /dev/null +++ b/japanese/elisp-manual/distinfo @@ -0,0 +1,3 @@ +MD5 (elisp-manual-20-2.5-jp.tgz) = db1bc051680d99fa1e80bd4a2a204d07 +MD5 (elisp-manual-20-2.5-jp.ERRATA.000422.jis) = 1c82071aebee7b3cd1611589828a57b6 +MD5 (elisp-manual-20-2.5-jp.ERRATA.000508.jis) = ec1a557a5d81a09574b047a5bc0e5183 diff --git a/japanese/elisp-manual/files/Makefile.in b/japanese/elisp-manual/files/Makefile.in new file mode 100644 index 0000000..564d033 --- /dev/null +++ b/japanese/elisp-manual/files/Makefile.in @@ -0,0 +1,19 @@ +TEXIFILE= elisp.texi +INFOFILE= ../info/elisp-ja + +EMACS?= emacs + +EMACS_ARGS= -batch -nw --multibyte -no-init-file -no-site-file +EMACS_LOADLIBS= --load=texinfmt.el --load=PORT_TEXIFMT.MK +EMACS_FUNCALLS= --eval "(port-texinfo-format \"${TEXIFILE}\" 'junet)" + +all: ${INFOFILE} + +${INFOFILE}: ${TEXIFILE} + ${EMACS} ${EMACS_ARGS} ${EMACS_LOADLIBS} ${EMACS_FUNCALLS} + +install: all + ${BSD_INSTALL_DATA} ${INFOFILE} ${PREFIX}/info + +clean: + rm -f ${INFOFILE} diff --git a/japanese/elisp-manual/files/PORT_TEXIFMT.MK b/japanese/elisp-manual/files/PORT_TEXIFMT.MK new file mode 100644 index 0000000..a050d11 --- /dev/null +++ b/japanese/elisp-manual/files/PORT_TEXIFMT.MK @@ -0,0 +1,17 @@ +;;; -*- Emacs-Lisp -*- +;;; PORT_TEXIFMT.MK --- for texinfo-format +;;; Code: + +(defun port-texinfo-format (file &optional coding-system) + (let (obuf) + (find-file (expand-file-name file)) + (setq obuf (current-buffer)) + (require 'texinfmt) + (texinfo-format-buffer t) + (if coding-system + (set-buffer-file-coding-system coding-system)) + (save-buffer) + (kill-buffer (current-buffer)) + (kill-buffer obuf))) + +;;; PORT_TEXIFMT.MK ends here diff --git a/japanese/elisp-manual/files/extra-patch-texinfmt.el.patch b/japanese/elisp-manual/files/extra-patch-texinfmt.el.patch new file mode 100644 index 0000000..ccf02526 --- /dev/null +++ b/japanese/elisp-manual/files/extra-patch-texinfmt.el.patch @@ -0,0 +1,41 @@ +--- patch-texinfmt.el.orig Fri Mar 3 21:26:16 2000 ++++ patch-texinfmt.el Thu Jul 13 18:17:38 2000 +@@ -1,5 +1,5 @@ +---- texinfmt.el-ORIG Sun May 30 04:21:06 1999 +-+++ texinfmt.el Thu Jan 13 10:52:58 2000 ++--- texinfmt.el.orig Thu Jul 13 18:12:19 2000 +++++ texinfmt.el Thu Jul 13 18:17:28 2000 + @@ -1111,6 +1111,78 @@ + + ;;; @node, @menu, @detailmenu +@@ -112,17 +112,18 @@ + (texinfo-discard-command) + (setq texinfo-last-node name) + (let ((tem (if texinfo-fold-nodename-case (downcase name) name))) +-@@ -1212,7 +1308,8 @@ ++@@ -1212,7 +1308,9 @@ + (insert (or fname (car args)) ": ") + (if (nth 3 args) + (insert "(" (nth 3 args) ")")) +-- (insert (car args)))))) ++- (and (car args) (insert (car args))))))) + + (insert (or (car args) "")) + + (or (save-excursion (looking-at "[.,]")) (insert ".")))))) +++ + + (put 'pxref 'texinfo-format 'texinfo-format-pxref) + (defun texinfo-format-pxref () +-@@ -1220,6 +1317,7 @@ ++@@ -1220,6 +1318,7 @@ + (or (save-excursion + (forward-char -2) + (looking-at "::")) +@@ -130,7 +131,7 @@ + (insert "."))) + + ;; @inforef{NODE, FNAME, FILE} +-@@ -1230,7 +1328,8 @@ ++@@ -1230,7 +1329,8 @@ + (let ((args (texinfo-format-parse-args))) + (texinfo-discard-command) + (if (nth 1 args) diff --git a/japanese/elisp-manual/files/patch-aa b/japanese/elisp-manual/files/patch-aa new file mode 100644 index 0000000..e5d449d --- /dev/null +++ b/japanese/elisp-manual/files/patch-aa @@ -0,0 +1,19 @@ +--- elisp.texi.~1~ Mon Mar 6 12:40:41 2000 ++++ elisp.texi Wed Mar 29 17:50:21 2000 +@@ -1,13 +1,13 @@ + \input texinfo @c -*-texinfo-*- + @c %**start of header +-@setfilename elisp ++@setfilename ../info/elisp-ja + @c @settitle GNU Emacs Lisp Reference Manual + @settitle GNU Emacs Lispリファレンスマニュアル + @c %**end of header + +-@dircategory Editors ++@dircategory Emacs Lisp programming + @direntry +-* Elisp: (elisp). The Emacs Lisp Reference Manual. ++* Elisp manual-ja: (elisp-ja). The Emacs Lisp Reference Manual. (Japanese) + @end direntry + + @smallbook diff --git a/japanese/elisp-manual/pkg-comment b/japanese/elisp-manual/pkg-comment new file mode 100644 index 0000000..91d26b3 --- /dev/null +++ b/japanese/elisp-manual/pkg-comment @@ -0,0 +1 @@ +Japanese translation of the GNU Emacs Lisp Reference Manual diff --git a/japanese/elisp-manual/pkg-descr b/japanese/elisp-manual/pkg-descr new file mode 100644 index 0000000..2c01704 --- /dev/null +++ b/japanese/elisp-manual/pkg-descr @@ -0,0 +1,24 @@ +This is a Japanese translation of the GNU Emacs Lisp Reference Manual. + +Most of the GNU Emacs text editor is written in the programming +language called Emacs Lisp. You can write new code in Emacs Lisp and +install it as an extension to the editor. However, Emacs Lisp is more +than a mere ``extension language''; it is a full computer programming +language in its own right. You can use it as you would any other +programming language. + +Because Emacs Lisp is designed for use in an editor, it has special +features for scanning and parsing text as well as features for handling +files, buffers, displays, subprocesses, and so on. Emacs Lisp is +closely integrated with the editing facilities; thus, editing commands +are functions that can also conveniently be called from Lisp programs, +and parameters for customization are ordinary Lisp variables. + +This manual describes Emacs Lisp, presuming considerable familiarity +with the use of Emacs for editing. (See The GNU Emacs Manual for this +basic information.) Generally speaking, the earlier chapters describe +features of Emacs Lisp that have counterparts in many programming +languages, and later chapters describe features that are peculiar to +Emacs Lisp or relate specifically to editing. + +This is edition 2.5. diff --git a/japanese/elisp-manual/pkg-plist b/japanese/elisp-manual/pkg-plist new file mode 100644 index 0000000..e638cfe --- /dev/null +++ b/japanese/elisp-manual/pkg-plist @@ -0,0 +1,3 @@ +@unexec install-info --delete %D/info/elisp-ja %D/info/dir +info/elisp-ja +@exec install-info %D/info/elisp-ja %D/info/dir |