summaryrefslogtreecommitdiff
path: root/editors/perspective.el
diff options
context:
space:
mode:
Diffstat (limited to 'editors/perspective.el')
-rw-r--r--editors/perspective.el/Makefile36
-rw-r--r--editors/perspective.el/distinfo3
-rw-r--r--editors/perspective.el/pkg-descr15
-rw-r--r--editors/perspective.el/pkg-plist3
4 files changed, 57 insertions, 0 deletions
diff --git a/editors/perspective.el/Makefile b/editors/perspective.el/Makefile
new file mode 100644
index 000000000000..84ffc43f2057
--- /dev/null
+++ b/editors/perspective.el/Makefile
@@ -0,0 +1,36 @@
+PORTNAME= perspective.el
+DISTVERSION= 2.20
+PORTREVISION= 1
+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
+
+NO_ARCH= yes
+
+OPTIONS_DEFINE= DOCS
+
+do-build:
+ ${EMACS_CMD} -q --batch -f batch-byte-compile ${WRKSRC}/perspective.el
+
+do-install:
+ @${MKDIR} ${STAGEDIR}${PREFIX}/${EMACS_SITE_LISPDIR}
+ ${INSTALL_DATA} ${WRKSRC}/perspective.el ${WRKSRC}/perspective.elc \
+ ${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..c7bd8ddf81bb
--- /dev/null
+++ b/editors/perspective.el/pkg-plist
@@ -0,0 +1,3 @@
+%%EMACS_SITE_LISPDIR%%/perspective.el
+%%EMACS_SITE_LISPDIR%%/perspective.elc
+%%PORTDOCS%%%%DOCSDIR%%/README.md