aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/emacs-manual
diff options
context:
space:
mode:
authortaoka <taoka@FreeBSD.org>1999-05-19 21:24:00 +0800
committertaoka <taoka@FreeBSD.org>1999-05-19 21:24:00 +0800
commitf6985f73ac8b95c041167e206f5c053c70a3f224 (patch)
tree1b57f8661a8dd059c02f9fde49843d38aff09d84 /japanese/emacs-manual
parentff1679c5f01260a4da8a0b14cfd95a76c0f87a4d (diff)
downloadfreebsd-ports-gnome-f6985f73ac8b95c041167e206f5c053c70a3f224.tar.gz
freebsd-ports-gnome-f6985f73ac8b95c041167e206f5c053c70a3f224.tar.zst
freebsd-ports-gnome-f6985f73ac8b95c041167e206f5c053c70a3f224.zip
Japanese translation of the GNU Emacs Manual
PR: 11638 Submitted by: OKAZAKI Tetsurou <okazaki@be.to>
Diffstat (limited to 'japanese/emacs-manual')
-rw-r--r--japanese/emacs-manual/Makefile57
-rw-r--r--japanese/emacs-manual/distinfo2
-rw-r--r--japanese/emacs-manual/files/Makefile.in21
-rw-r--r--japanese/emacs-manual/files/patch-aa29
-rw-r--r--japanese/emacs-manual/pkg-comment1
-rw-r--r--japanese/emacs-manual/pkg-descr5
-rw-r--r--japanese/emacs-manual/pkg-plist3
7 files changed, 118 insertions, 0 deletions
diff --git a/japanese/emacs-manual/Makefile b/japanese/emacs-manual/Makefile
new file mode 100644
index 000000000000..ac5a54887a75
--- /dev/null
+++ b/japanese/emacs-manual/Makefile
@@ -0,0 +1,57 @@
+# New ports collection makefile for: ja-emacs-manual
+# Version required: 13
+# Date created: 14 April 1999
+# Whom: OKAZAKI Tetsurou
+#
+# $Id$
+#
+
+DISTNAME= emacs-20.3-man-jp
+PKGNAME= ja-emacs-manual-13.1998.11.25
+CATEGORIES= japanese
+MASTER_SITES= http://www.ascii.co.jp/pub/GNU/
+DISTFILES= ${EXTRACT_ONLY} ${EMACS_ARC}
+
+MAINTAINER= okazaki@be.to
+
+BUILD_DEPENDS= emacs-20.3:${PORTSDIR}/editors/emacs20
+
+EXTRACT_ONLY= ${DISTNAME}.tgz
+
+EMACS_DISTNAME= emacs-20.3
+EMACS_ARC= ${EMACS_DISTNAME}.tar.gz
+EMACS_SRCDIR= ${WRKDIR}/${EMACS_DISTNAME}
+EXTRACT_FILES= ${EMACS_DISTNAME}/man/ack.texi \
+ ${EMACS_DISTNAME}/lisp/textmodes/texinfmt.el
+
+# We use emacs20 to format texinfo files.
+EMACS= emacs-20.3
+FORMAT_FLAG= t
+
+MAKE_ENV= EMACS="${EMACS}" FORMAT_FLAG="${FORMAT_FLAG}"
+
+post-extract:
+ @${CP} ${FILESDIR}/Makefile.in ${WRKSRC}/Makefile
+ @(cd ${WRKDIR} && \
+ ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${DISTDIR}/${EMACS_ARC} ${EXTRACT_AFTER_ARGS} ${EXTRACT_FILES})
+ @${CP} ${EMACS_SRCDIR}/man/ack.texi ${WRKSRC}/ack.texi
+ @${CP} ${EMACS_SRCDIR}/lisp/textmodes/texinfmt.el ${WRKSRC}/texinfmt.el
+
+pre-patch:
+ @${PATCH} ${PATCH_ARGS} < ${WRKSRC}/patch-texinfmt.el
+
+post-patch:
+ @(cd ${WRKSRC} && ${MV} texinfmt.el texinfmt.el.tmp && \
+ ${SED} -e 's/START-INFO-DIR-ENTRY\\n\\n/START-INFO-DIR-ENTRY\\n/g' \
+ texinfmt.el.tmp > texinfmt.el)
+
+pre-build:
+ @${ECHO_MSG} "===> Now start formatting texinfo. Please wait."
+
+post-build:
+ @${ECHO_MSG} "===> Done."
+
+post-install:
+ install-info ${PREFIX}/info/emacs-ja ${PREFIX}/info/dir
+
+.include <bsd.port.mk>
diff --git a/japanese/emacs-manual/distinfo b/japanese/emacs-manual/distinfo
new file mode 100644
index 000000000000..f7d969775274
--- /dev/null
+++ b/japanese/emacs-manual/distinfo
@@ -0,0 +1,2 @@
+MD5 (emacs-20.3-man-jp.tgz) = b080e57be7aa861012aeee3f17ec6a8e
+MD5 (emacs-20.3.tar.gz) = 5aee43bb7c7267cc24b78011d280ecdc
diff --git a/japanese/emacs-manual/files/Makefile.in b/japanese/emacs-manual/files/Makefile.in
new file mode 100644
index 000000000000..22b3e0d31352
--- /dev/null
+++ b/japanese/emacs-manual/files/Makefile.in
@@ -0,0 +1,21 @@
+TEXIFILE= emacs.texi
+INFOFILE= emacs-ja
+
+EMACS?= emacs
+FORMAT_FLAG?= t
+
+EMACS_ARGS= -batch -nw --multibyte -no-site-file
+EMACS_LOADLIBS= --load=texinfmt.el
+EMACS_FUNCALLS= --eval "(texinfo-format-buffer ${FORMAT_FLAG})" -f save-buffer
+
+all: ${INFOFILE}
+
+${INFOFILE}: ${TEXIFILE}
+ ${EMACS} ${EMACS_ARGS} ${EMACS_LOADLIBS} ${TEXIFILE} ${EMACS_FUNCALLS} \
+ > /dev/null 2>&1
+
+install: all
+ ${BSD_INSTALL_DATA} ${INFOFILE} ${PREFIX}/info
+
+clean:
+ rm -f ${INFOFILE} \ No newline at end of file
diff --git a/japanese/emacs-manual/files/patch-aa b/japanese/emacs-manual/files/patch-aa
new file mode 100644
index 000000000000..67218e4c801b
--- /dev/null
+++ b/japanese/emacs-manual/files/patch-aa
@@ -0,0 +1,29 @@
+--- emacs.texi.orig Tue Dec 1 00:00:00 1998
++++ emacs.texi Fri Apr 23 23:21:44 1999
+@@ -10,20 +10,20 @@
+ @setchapternewpage odd
+ @c @settitle GNU Emacs Manual
+ @settitle GNU Emacsマニュアル
+-@setfilename ../info/emacs
++@setfilename emacs-ja
++@footnotestyle end
+ @synindex pg cp
+
+ @ifinfo
++@dircategory The Emacs editor and associated tools
++@direntry
++* Emacs-ja: (emacs-ja). The extensible self-documenting text editor. (Japanese)
++@end direntry
+ @c @c The edition number appears in several places in this file
+ @c This is the thirteenth edition of the @cite{GNU Emacs Manual},
+ @c updated for Emacs version 20.3
+ Emacs 20.3版対応に改訂した@cite{GNU Emacs Manual} 13版です。
+ @c Please REMEMBER to update edition number in *three* places in this file.
+-
+-@dircategory Editors
+-@direntry
+-* Emacs: (emacs). The extensible self-documenting text editor.
+-@end direntry
+
+ Published by the Free Software Foundation
+ 59 Temple Place, Suite 330
diff --git a/japanese/emacs-manual/pkg-comment b/japanese/emacs-manual/pkg-comment
new file mode 100644
index 000000000000..9ab7922d4672
--- /dev/null
+++ b/japanese/emacs-manual/pkg-comment
@@ -0,0 +1 @@
+Japanese translation of the GNU Emacs Manual
diff --git a/japanese/emacs-manual/pkg-descr b/japanese/emacs-manual/pkg-descr
new file mode 100644
index 000000000000..75ed47866650
--- /dev/null
+++ b/japanese/emacs-manual/pkg-descr
@@ -0,0 +1,5 @@
+This is a Japanese translation of the GNU Emacs Manual.
+
+Emacs is the extensible, customizable, self-documenting real-time
+display editor. This Info file describes how to edit with Emacs and
+some of how to customize it; it corresponds to GNU Emacs version 20.3.
diff --git a/japanese/emacs-manual/pkg-plist b/japanese/emacs-manual/pkg-plist
new file mode 100644
index 000000000000..84f56e30fc33
--- /dev/null
+++ b/japanese/emacs-manual/pkg-plist
@@ -0,0 +1,3 @@
+@unexec install-info --delete %D/info/emacs-ja %D/info/dir
+info/emacs-ja
+@exec install-info %D/info/emacs-ja %D/info/dir