aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/emacs-manual/Makefile
diff options
context:
space:
mode:
authorshige <shige@FreeBSD.org>2000-07-19 16:03:55 +0800
committershige <shige@FreeBSD.org>2000-07-19 16:03:55 +0800
commitee6ad8b7d368ebc7f7b04db6b2ff12b00f2a0824 (patch)
tree79c7a56df32c4ab445a3a593e31f220269038a3d /japanese/emacs-manual/Makefile
parent09a3443d2c60bac05824ef25d83e4a5cf1d1ac46 (diff)
downloadfreebsd-ports-gnome-ee6ad8b7d368ebc7f7b04db6b2ff12b00f2a0824.tar.gz
freebsd-ports-gnome-ee6ad8b7d368ebc7f7b04db6b2ff12b00f2a0824.tar.zst
freebsd-ports-gnome-ee6ad8b7d368ebc7f7b04db6b2ff12b00f2a0824.zip
Synchronize with emacs-20.7 update.
And apply EMACS_PORT_NAME style.
Diffstat (limited to 'japanese/emacs-manual/Makefile')
-rw-r--r--japanese/emacs-manual/Makefile16
1 files changed, 9 insertions, 7 deletions
diff --git a/japanese/emacs-manual/Makefile b/japanese/emacs-manual/Makefile
index 6e0f9fd5cb0d..66ab8518caa8 100644
--- a/japanese/emacs-manual/Makefile
+++ b/japanese/emacs-manual/Makefile
@@ -16,12 +16,13 @@ DISTFILES= ${DISTNAME}.tgz ${EMACS_ARC}
MAINTAINER= okazaki@be.to
-BUILD_DEPENDS= ${EMACS}:${PORTSDIR}/editors/emacs20
+EMACS_PORT_NAME= emacs20
+EMACS_NO_RUN_DEPENDS= YES
ERRATA_FILE=
EXTRACT_ONLY= ${DISTNAME}.tgz
-EMACS_DISTNAME= emacs-20.6
+EMACS_DISTNAME= emacs-${EMACS_VER}
EMACS_ARC= ${EMACS_DISTNAME}.tar.gz
EMACS_SRCDIR= ${WRKDIR}/${EMACS_DISTNAME}
EXTRACT_FILES= ${EMACS_DISTNAME}/man/ack.texi \
@@ -36,11 +37,6 @@ EXTRACT_ONLY+= ${ERRATA_FILE}.tgz
EXTRA_PATCHES+= ${WRKDIR}/${ERRATA_FILE}
.endif
-# We use emacs20 to format texinfo files.
-EMACS= emacs-20.6
-
-MAKE_ENV= EMACS="${EMACS}"
-
post-extract:
${CP} ${FILESDIR}/Makefile.in ${WRKSRC}/Makefile
${CP} ${FILESDIR}/PORT_TEXIFMT.MK ${WRKSRC}
@@ -49,6 +45,12 @@ post-extract:
${CP} ${EXTRACT_FILES} ${WRKSRC})
${MKDIR} ${WRKDIR}/info
+# workaround target (please delete after emacs-20.7-man-jp is released).
+pre-patch:
+ @(cd ${WRKSRC} && \
+ ${PATCH} ${PATCH_ARGS} < ${FILESDIR}/patch-texinfmt.el.patch ; \
+ )
+
post-patch:
cd ${WRKSRC} && \
${PERL} -pi -e 's/(@[^@]*ref{.*,.*,.*, *elisp),/$$1-ja,/;' *.texi