summaryrefslogtreecommitdiff
path: root/misc/elscreen
diff options
context:
space:
mode:
authorYoichi NAKAYAMA <yoichi@FreeBSD.org>2007-08-01 23:19:49 +0000
committerYoichi NAKAYAMA <yoichi@FreeBSD.org>2007-08-01 23:19:49 +0000
commit566fce113384150ce637fe94a2c725378c3f2055 (patch)
tree4905421bf3122213b83ebb5b69b62ab98a1426db /misc/elscreen
parentFix build with emacs22 (diff)
Fix install with emacs22.
Notes
Notes: svn path=/head/; revision=196926
Diffstat (limited to 'misc/elscreen')
-rw-r--r--misc/elscreen/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/misc/elscreen/Makefile b/misc/elscreen/Makefile
index 66833f534671..b30e831226cf 100644
--- a/misc/elscreen/Makefile
+++ b/misc/elscreen/Makefile
@@ -16,11 +16,11 @@ MAINTAINER= yoichi@FreeBSD.org
COMMENT= GNU screen like utility on Emacsen
USE_EMACS= yes
-EMACS_PORT_NAME?= emacs21
-.if (${EMACS_PORT_NAME} == "emacs21")
-DEPPORT_SUFFIX=
-.else
+.include <bsd.port.pre.mk>
+.if (${EMACS_PORT_NAME} == "emacs20")
DEPPORT_SUFFIX= -${EMACS_PORT_NAME}
+.else
+DEPPORT_SUFFIX=
.endif
RUN_DEPENDS= ${LOCALBASE}/${EMACS_VERSION_SITE_LISPDIR}/emu/emu.el:${PORTSDIR}/editors/apel${DEPPORT_SUFFIX}
@@ -36,4 +36,4 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
.endfor
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>