diff options
author | dd <dd@FreeBSD.org> | 2006-01-02 10:10:25 +0800 |
---|---|---|
committer | dd <dd@FreeBSD.org> | 2006-01-02 10:10:25 +0800 |
commit | b71994c7eeb4c5c2f77bdfdc945580a5611eab12 (patch) | |
tree | 6a31a2a1e32180c3feab5826d06fbe70b7934fee | |
parent | e8229bf0c2a39f75fd1e11ebb16771a7025c1d2c (diff) | |
download | freebsd-ports-gnome-b71994c7eeb4c5c2f77bdfdc945580a5611eab12.tar.gz freebsd-ports-gnome-b71994c7eeb4c5c2f77bdfdc945580a5611eab12.tar.zst freebsd-ports-gnome-b71994c7eeb4c5c2f77bdfdc945580a5611eab12.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
-rw-r--r-- | lang/tuareg-mode.el/Makefile | 5 | ||||
-rw-r--r-- | mail/rmime/Makefile | 4 |
2 files changed, 4 insertions, 5 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: diff --git a/mail/rmime/Makefile b/mail/rmime/Makefile index f60b10da973b..8c9d44172ca1 100644 --- a/mail/rmime/Makefile +++ b/mail/rmime/Makefile @@ -19,7 +19,7 @@ EXTRACT_ONLY= # empty MAINTAINER= dd@FreeBSD.org COMMENT= Decode MIME messages inside Emacs (works with RMAIL, VM, and mh-e) -BUILD_DEPENDS= emacs:${PORTSDIR}/editors/emacs20 +EMACS_PORT_NAME?= emacs20 RUN_DEPENDS= metamail:${PORTSDIR}/mail/metamail NO_WRKSUBDIR= yes @@ -27,7 +27,7 @@ STRIP= # empty do-build: ${CP} ${DISTDIR}/rmime.el ${WRKDIR} - emacs -batch -f batch-byte-compile ${WRKDIR}/rmime.el + ${EMACS_CMD} -batch -f batch-byte-compile ${WRKDIR}/rmime.el do-install: ${INSTALL_DATA} ${WRKDIR}/rmime.el ${WRKDIR}/rmime.elc\ |