Date: Mon, 17 Nov 2025 05:04:10 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: d9eff4c90d7f - main - editors/perspective.el: Install byte-compiled elisp Message-ID: <202511170504.5AH54AIl009936@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=d9eff4c90d7f8daccff55d8d8b1d49eda9170ece commit d9eff4c90d7f8daccff55d8d8b1d49eda9170ece Author: Joseph Mingrone <jrm@FreeBSD.org> AuthorDate: 2025-11-17 03:25:28 +0000 Commit: Joseph Mingrone <jrm@FreeBSD.org> CommitDate: 2025-11-17 04:38:28 +0000 editors/perspective.el: Install byte-compiled elisp While here, use DISTVERSION instead of PORTVERSION. Sponsored by: The FreeBSD Foundation --- editors/perspective.el/Makefile | 12 +++++++----- editors/perspective.el/pkg-plist | 1 + 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/editors/perspective.el/Makefile b/editors/perspective.el/Makefile index 45d5d088ee03..84ffc43f2057 100644 --- a/editors/perspective.el/Makefile +++ b/editors/perspective.el/Makefile @@ -1,5 +1,6 @@ PORTNAME= perspective.el -PORTVERSION= 2.20 +DISTVERSION= 2.20 +PORTREVISION= 1 CATEGORIES= editors elisp PKGNAMESUFFIX= ${EMACS_PKGNAMESUFFIX} @@ -16,16 +17,17 @@ USE_GITHUB= yes GH_ACCOUNT= nex3 GH_PROJECT= perspective-el -EMACS_NO_DEPENDS= yes - NO_ARCH= yes -NO_BUILD= 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 ${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} diff --git a/editors/perspective.el/pkg-plist b/editors/perspective.el/pkg-plist index dcacec446bed..c7bd8ddf81bb 100644 --- a/editors/perspective.el/pkg-plist +++ b/editors/perspective.el/pkg-plist @@ -1,2 +1,3 @@ %%EMACS_SITE_LISPDIR%%/perspective.el +%%EMACS_SITE_LISPDIR%%/perspective.elc %%PORTDOCS%%%%DOCSDIR%%/README.mdhome | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202511170504.5AH54AIl009936>
