aboutsummaryrefslogtreecommitdiff
path: root/lang/tuareg-mode.el
diff options
context:
space:
mode:
authorDima Dorfman <dd@FreeBSD.org>2006-01-02 02:10:25 +0000
committerDima Dorfman <dd@FreeBSD.org>2006-01-02 02:10:25 +0000
commit7074031439f9a766f1a31856ba95a41253767df8 (patch)
tree9e29cb9679d33d51dd1c34ac366906cfe4f9dfca /lang/tuareg-mode.el
parent1195283da39034051d936c41180eb427b2faa55a (diff)
downloadports-7074031439f9a766f1a31856ba95a41253767df8.tar.gz
ports-7074031439f9a766f1a31856ba95a41253767df8.zip
This port still requires emacs20, so use the port.mk emacs framework
to get the right port. (Actually, ideally, the port would just be upgraded to use emacs21, but--this is better than nothing for now.) PR: 90469, 90471 Submitted by: NIIMI Satoshi
Notes
Notes: svn path=/head/; revision=152550
Diffstat (limited to 'lang/tuareg-mode.el')
-rw-r--r--lang/tuareg-mode.el/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/lang/tuareg-mode.el/Makefile b/lang/tuareg-mode.el/Makefile
index 9845d62059c8..7e3c4509c25e 100644
--- a/lang/tuareg-mode.el/Makefile
+++ b/lang/tuareg-mode.el/Makefile
@@ -13,8 +13,7 @@ MASTER_SITES= http://www-rocq.inria.fr/~acohen/tuareg/mode/
MAINTAINER= dd@FreeBSD.org
COMMENT= Emacs major mode for editing Caml code
-BUILD_DEPENDS= emacs:${PORTSDIR}/editors/emacs20
-RUN_DEPENDS= emacs:${PORTSDIR}/editors/emacs20
+EMACS_PORT_NAME?= emacs20
DOC_FILES= README HISTORY append-tuareg.el custom-tuareg.el
DOC_DIR= share/doc/tuareg-mode
@@ -30,7 +29,7 @@ do-build:
.for __f in ${ELISP_FILES}
cd ${WRKSRC} && echo '(setq load-path (cons "." load-path)) \
(batch-byte-compile)' | \
- emacs -batch -q -l /dev/stdin ${__f} 2> /dev/null
+ ${EMACS_CMD} -batch -q -l /dev/stdin ${__f} 2> /dev/null
.endfor
do-install: