aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/emacs20-emcws
diff options
context:
space:
mode:
authoryoichi <yoichi@FreeBSD.org>2001-12-02 23:10:01 +0800
committeryoichi <yoichi@FreeBSD.org>2001-12-02 23:10:01 +0800
commit999216dcd3d777be8514f256c4b079c51a9ad0d8 (patch)
tree7d2a9ff9351ca5eee6973343e2e88cdb16d30bca /japanese/emacs20-emcws
parent7133cf194b006ee93c2b7bcb9327cb54cbbf0a8e (diff)
downloadfreebsd-ports-gnome-999216dcd3d777be8514f256c4b079c51a9ad0d8.tar.gz
freebsd-ports-gnome-999216dcd3d777be8514f256c4b079c51a9ad0d8.tar.zst
freebsd-ports-gnome-999216dcd3d777be8514f256c4b079c51a9ad0d8.zip
Create appropriate DOC_FILE in build stage, instead of renaming
in install stage. Submitted by: MAINTAINER Reviewed by: knu(mentor)
Diffstat (limited to 'japanese/emacs20-emcws')
-rw-r--r--japanese/emacs20-emcws/Makefile5
-rw-r--r--japanese/emacs20-emcws/files/patch-eb13
2 files changed, 13 insertions, 5 deletions
diff --git a/japanese/emacs20-emcws/Makefile b/japanese/emacs20-emcws/Makefile
index fc34f06ef33c..bf834ab8f26b 100644
--- a/japanese/emacs20-emcws/Makefile
+++ b/japanese/emacs20-emcws/Makefile
@@ -131,14 +131,13 @@ pre-fetch:
pre-build:
find ${WRKSRC} \( -name \*.orig -o -name \*~ \) -exec ${RM} -f \{} \;
${RM} -rf ${WRKSRC}/info/*
- ${LN} -sf DOC ${WRKSRC}/etc/${DOC_FILE}
@(cd ${WRKSRC}/src; ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} emacs)
@(cd ${WRKSRC}/src/../lisp; \
${WRKSRC}/src/emacs -batch -q -f batch-byte-compile \
ange-ftp.el help.el international/ccl.el international/mule-cmds.el \
international/mule.el international/titdic-cnv.el)
${RM} -f ${WRKSRC}/src/emacs ${WRKSRC}/src/emacs-${EMACS_VER}.1
- ${RM} -f ${WRKSRC}/etc/DOC-${EMACS_VER}.1
+ ${RM} -f ${WRKSRC}/etc/${DOC_FILE}
${RM} -f ${WRKSRC}/lib-src/fns-emcws-${EMACS_VER}.1.el
do-install:
@@ -147,7 +146,7 @@ do-install:
@${LN} ${PREFIX}/bin/emcws-${EMACS_VER} ${PREFIX}/bin/emcws
@test -d ${PREFIX}/share/emacs/${EMACS_VER}-emcws/etc || \
${MKDIR} ${PREFIX}/share/emacs/${EMACS_VER}-emcws/etc
- @${INSTALL_DATA} ${WRKSRC}/etc/DOC ${PREFIX}/share/emacs/${EMACS_VER}-emcws/etc/${DOC_FILE}
+ @${INSTALL_DATA} ${WRKSRC}/etc/${DOC_FILE} ${PREFIX}/share/emacs/${EMACS_VER}-emcws/etc/${DOC_FILE}
@test -d ${PREFIX}/share/emacs/${EMACS_VER}-emcws/lisp/its || \
${MKDIR} ${PREFIX}/share/emacs/${EMACS_VER}-emcws/lisp/its
@for i in ${EMCWS_ELCS}; do \
diff --git a/japanese/emacs20-emcws/files/patch-eb b/japanese/emacs20-emcws/files/patch-eb
index 83cc685c15c3..3b471abbd975 100644
--- a/japanese/emacs20-emcws/files/patch-eb
+++ b/japanese/emacs20-emcws/files/patch-eb
@@ -1,5 +1,14 @@
---- lisp/loadup.el.orig Wed Nov 28 20:54:00 2001
-+++ lisp/loadup.el Wed Nov 28 20:55:24 2001
+--- lisp/loadup.el.orig Sun Dec 2 22:10:51 2001
++++ lisp/loadup.el Sun Dec 2 22:12:10 2001
+@@ -246,7 +246,7 @@
+ (if (memq system-type '(ms-dos windows-nt))
+ (setq name (expand-file-name
+ (if (fboundp 'x-create-frame) "DOC-X" "DOC") "../etc"))
+- (setq name (concat (expand-file-name "../etc/DOC-") name))
++ (setq name (concat (expand-file-name "../etc/DOC-EMCWS-") name))
+ (if (file-exists-p name)
+ (delete-file name))
+ (copy-file (expand-file-name "../etc/DOC") name t))
@@ -280,11 +280,11 @@
(expand-file-name
(cond