aboutsummaryrefslogtreecommitdiffstats
path: root/misc/elscreen
diff options
context:
space:
mode:
authoryoichi <yoichi@FreeBSD.org>2007-08-02 07:19:49 +0800
committeryoichi <yoichi@FreeBSD.org>2007-08-02 07:19:49 +0800
commit08498c1cad03fabac396a75816d8175b8812a6e2 (patch)
tree08b1fecb2e56e6ea161976be019393822e614d71 /misc/elscreen
parent9eac0b1dda8aa7797db6c7ba027fc0144b8a8217 (diff)
downloadfreebsd-ports-gnome-08498c1cad03fabac396a75816d8175b8812a6e2.tar.gz
freebsd-ports-gnome-08498c1cad03fabac396a75816d8175b8812a6e2.tar.zst
freebsd-ports-gnome-08498c1cad03fabac396a75816d8175b8812a6e2.zip
Fix install with emacs22.
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>