aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPat Maddox <pat@patmaddox.com>2025-10-24 09:09:39 +0000
committerJoseph Mingrone <jrm@FreeBSD.org>2025-11-17 04:38:27 +0000
commitc16273eec20ad7512742e36a53752ba0102e7236 (patch)
tree67e0fc621eb5c4bccd1e6cff83f099daa27f2d65
parent44034c017474697237ecc1424aabe98e4dcdc032 (diff)
comms/emacs-eat: Emulate A Terminal
Eat's name is self-explanatory, it stands for "Emulate A Terminal". Eat is a terminal emulator. It can run most (if not all) full-screen terminal programs, including Emacs. It is pretty fast, more than three times faster than Term, despite being implemented entirely in Emacs Lisp. So fast that you can comfortably run Emacs inside Eat, or even use your Emacs as a terminal multiplexer. It has many features that other Emacs terminal emulator still don't have, for example Sixel support, complete mouse support, shell integration, etc. WWW: https://codeberg.org/akib/emacs-eat PR: 290546
-rw-r--r--comms/Makefile1
-rw-r--r--comms/emacs-eat/Makefile38
-rw-r--r--comms/emacs-eat/distinfo3
-rw-r--r--comms/emacs-eat/pkg-descr17
-rw-r--r--comms/emacs-eat/pkg-plist11
5 files changed, 70 insertions, 0 deletions
diff --git a/comms/Makefile b/comms/Makefile
index 66c038286683..8a02926e4757 100644
--- a/comms/Makefile
+++ b/comms/Makefile
@@ -36,6 +36,7 @@
SUBDIR += ebook2cw
SUBDIR += ebusd
SUBDIR += echolinux
+ SUBDIR += emacs-eat
SUBDIR += ems-flasher
SUBDIR += fl_moxgen
SUBDIR += flamp
diff --git a/comms/emacs-eat/Makefile b/comms/emacs-eat/Makefile
new file mode 100644
index 000000000000..ff1193d9762c
--- /dev/null
+++ b/comms/emacs-eat/Makefile
@@ -0,0 +1,38 @@
+PORTNAME= emacs-eat
+DISTVERSIONPREFIX= v
+DISTVERSION= 0.9.4
+CATEGORIES= comms elisp
+MASTER_SITES= https://codeberg.org/akib/${PORTNAME}/archive/${DISTVERSIONFULL}${EXTRACT_SUFX}?dummy=/
+
+MAINTAINER= pat@patmaddox.com
+COMMENT= Emulate A Terminal, in a region, in a buffer and in Eshell
+WWW= https://codeberg.org/akib/emacs-eat
+
+LICENSE= GPLv3
+LICENSE_FILE= ${WRKSRC}/COPYING
+
+USES= emacs:build gmake makeinfo
+
+NO_ARCH= yes
+
+WRKSRC= ${WRKDIR}/${PORTNAME}
+
+INFO= eat
+
+OPTIONS_DEFINE= DOCS
+
+do-install:
+ @${MKDIR} ${STAGEDIR}${PREFIX}/${EMACS_SITE_LISPDIR}
+ ${INSTALL_DATA} ${WRKSRC}/eat.el ${STAGEDIR}${PREFIX}/${EMACS_SITE_LISPDIR}
+ ${INSTALL_DATA} ${WRKSRC}/eat.elc ${STAGEDIR}${PREFIX}/${EMACS_SITE_LISPDIR}
+ @${MKDIR} ${STAGEDIR}${PREFIX}/share/terminfo/e
+ @${MKDIR} ${STAGEDIR}${PREFIX}/share/terminfo/65
+ ${INSTALL_DATA} ${WRKSRC}/terminfo/e/* ${STAGEDIR}${PREFIX}/share/terminfo/e/
+ ${INSTALL_DATA} ${WRKSRC}/terminfo/65/* ${STAGEDIR}${PREFIX}/share/terminfo/65/
+
+post-install-DOCS-on:
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README.org ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/eat.info ${STAGEDIR}${PREFIX}/${INFO_PATH}/
+
+.include <bsd.port.mk>
diff --git a/comms/emacs-eat/distinfo b/comms/emacs-eat/distinfo
new file mode 100644
index 000000000000..02d6510ac6dd
--- /dev/null
+++ b/comms/emacs-eat/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1761299764
+SHA256 (emacs-eat-v0.9.4.tar.gz) = 32a2793c1f203bf2e0fe67f79310c2389257e1338b191e017ea60dc68000c01a
+SIZE (emacs-eat-v0.9.4.tar.gz) = 275808
diff --git a/comms/emacs-eat/pkg-descr b/comms/emacs-eat/pkg-descr
new file mode 100644
index 000000000000..cf7623f25862
--- /dev/null
+++ b/comms/emacs-eat/pkg-descr
@@ -0,0 +1,17 @@
+Eat's name self-explanatory, it stands for "Emulate A Terminal". Eat
+is a terminal emulator. It can run most (if not all) full-screen
+terminal programs, including Emacs.
+
+It is pretty fast, more than three times faster than Term, despite
+being implemented entirely in Emacs Lisp. So fast that you can
+comfortably run Emacs inside Eat, or even use your Emacs as a terminal
+multiplexer.
+
+It has many features that other Emacs terminal emulator still don't
+have, for example Sixel support, complete mouse support, shell
+integration, etc.
+
+It flickers less than other Emacs terminal emulator, so you get more
+performance and a smoother experience.
+
+To get the most out of Eat, you should also setup shell integration.
diff --git a/comms/emacs-eat/pkg-plist b/comms/emacs-eat/pkg-plist
new file mode 100644
index 000000000000..622545878ecb
--- /dev/null
+++ b/comms/emacs-eat/pkg-plist
@@ -0,0 +1,11 @@
+%%EMACS_SITE_LISPDIR%%/eat.el
+%%EMACS_SITE_LISPDIR%%/eat.elc
+share/terminfo/65/eat-256color
+share/terminfo/65/eat-color
+share/terminfo/65/eat-mono
+share/terminfo/65/eat-truecolor
+share/terminfo/e/eat-256color
+share/terminfo/e/eat-color
+share/terminfo/e/eat-mono
+share/terminfo/e/eat-truecolor
+%%PORTDOCS%%%%DOCSDIR%%/README.org