Date: Mon, 17 Nov 2025 05:04:02 GMT From: Joseph Mingrone <jrm@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: a1cc2df58455 - main - editors/perspective.el: Perspectives for Emacs Message-ID: <202511170504.5AH542Re009692@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch main has been updated by jrm: URL: https://cgit.FreeBSD.org/ports/commit/?id=a1cc2df58455bec31b5640de714a8ea3c5207dc2 commit a1cc2df58455bec31b5640de714a8ea3c5207dc2 Author: Pat Maddox <pat@patmaddox.com> AuthorDate: 2025-10-25 01:10:12 +0000 Commit: Joseph Mingrone <jrm@FreeBSD.org> CommitDate: 2025-11-17 04:38:27 +0000 editors/perspective.el: Perspectives for Emacs The Perspective package provides multiple named workspaces (or "perspectives") in Emacs, similar to multiple desktops in window managers like Awesome and XMonad, and Spaces on the Mac. WWW: https://github.com/nex3/perspective-el PR: 290544 --- editors/Makefile | 1 + editors/perspective.el/Makefile | 34 ++++++++++++++++++++++++++++++++++ editors/perspective.el/distinfo | 3 +++ editors/perspective.el/pkg-descr | 15 +++++++++++++++ editors/perspective.el/pkg-plist | 2 ++ 5 files changed, 55 insertions(+) diff --git a/editors/Makefile b/editors/Makefile index 9c6cdfe90446..f968c37a80e8 100644 --- a/editors/Makefile +++ b/editors/Makefile @@ -232,6 +232,7 @@ SUBDIR += p5-Vimana SUBDIR += paredit-mode.el SUBDIR += parinfer-rust + SUBDIR += perspective.el SUBDIR += pico-alpine SUBDIR += picpas SUBDIR += pluma diff --git a/editors/perspective.el/Makefile b/editors/perspective.el/Makefile new file mode 100644 index 000000000000..45d5d088ee03 --- /dev/null +++ b/editors/perspective.el/Makefile @@ -0,0 +1,34 @@ +PORTNAME= perspective.el +PORTVERSION= 2.20 +CATEGORIES= editors elisp +PKGNAMESUFFIX= ${EMACS_PKGNAMESUFFIX} + +MAINTAINER= pat@patmaddox.com +COMMENT= Perspectives for Emacs +WWW= https://github.com/nex3/perspective-el + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/MIT-LICENSE + +USES= emacs + +USE_GITHUB= yes +GH_ACCOUNT= nex3 +GH_PROJECT= perspective-el + +EMACS_NO_DEPENDS= yes + +NO_ARCH= yes +NO_BUILD= yes + +OPTIONS_DEFINE= DOCS + +do-install: + @${MKDIR} ${STAGEDIR}${PREFIX}/${EMACS_SITE_LISPDIR} + ${INSTALL_DATA} ${WRKSRC}/perspective.el ${STAGEDIR}${PREFIX}/${EMACS_SITE_LISPDIR} + +post-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR} + +.include <bsd.port.mk> diff --git a/editors/perspective.el/distinfo b/editors/perspective.el/distinfo new file mode 100644 index 000000000000..6aae890a2719 --- /dev/null +++ b/editors/perspective.el/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1761354799 +SHA256 (nex3-perspective-el-2.20_GH0.tar.gz) = d7d14e972420d91ad132d2f9adddebaddf03aa8fe32f159b0a4cfe072ee1830e +SIZE (nex3-perspective-el-2.20_GH0.tar.gz) = 49754 diff --git a/editors/perspective.el/pkg-descr b/editors/perspective.el/pkg-descr new file mode 100644 index 000000000000..ee6c7a0a7a21 --- /dev/null +++ b/editors/perspective.el/pkg-descr @@ -0,0 +1,15 @@ +The Perspective package provides multiple named workspaces (or +"perspectives") in Emacs, similar to multiple desktops in window +managers like Awesome and XMonad, and Spaces on the Mac. + +Each perspective has its own buffer list and its own window layout, +along with some other isolated niceties, like the xref ring. This +makes it easy to work on many separate projects without getting lost +in all the buffers. Switching to a perspective activates its window +configuration, and when in a perspective, only its buffers are +available (by default). + +Each Emacs frame has a distinct list of perspectives. + +Perspective supports saving its state to a file, so long-lived work +sessions may be saved and recovered as needed. diff --git a/editors/perspective.el/pkg-plist b/editors/perspective.el/pkg-plist new file mode 100644 index 000000000000..dcacec446bed --- /dev/null +++ b/editors/perspective.el/pkg-plist @@ -0,0 +1,2 @@ +%%EMACS_SITE_LISPDIR%%/perspective.el +%%PORTDOCS%%%%DOCSDIR%%/README.mdhome | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202511170504.5AH542Re009692>
