summaryrefslogtreecommitdiff
path: root/japanese/emacs-manual/Makefile
diff options
context:
space:
mode:
authorSatoshi Taoka <taoka@FreeBSD.org>1999-05-19 13:24:00 +0000
committerSatoshi Taoka <taoka@FreeBSD.org>1999-05-19 13:24:00 +0000
commitb63972b47162628063e432cf92c1a6909a794d75 (patch)
tree0f96d451133008703b6ab8e45b2e5965ddd93ac3 /japanese/emacs-manual/Makefile
parentAdded tuc (diff)
Japanese translation of the GNU Emacs Manual
PR: 11638 Submitted by: OKAZAKI Tetsurou <okazaki@be.to>
Notes
Notes: svn path=/head/; revision=18884
Diffstat (limited to 'japanese/emacs-manual/Makefile')
-rw-r--r--japanese/emacs-manual/Makefile57
1 files changed, 57 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>