Date: Mon, 17 Nov 2025 05:04:07 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: 18855920f674 - main - editors/marginalia.el: Install byte-compiled elisp Message-ID: <202511170504.5AH547bw009868@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=18855920f6746e0f1e3e3d04b7afb8099206dcdf commit 18855920f6746e0f1e3e3d04b7afb8099206dcdf Author: Joseph Mingrone <jrm@FreeBSD.org> AuthorDate: 2025-11-17 03:21:56 +0000 Commit: Joseph Mingrone <jrm@FreeBSD.org> CommitDate: 2025-11-17 04:38:28 +0000 editors/marginalia.el: Install byte-compiled elisp While here, use DISTVERSION instead of PORTVERSION. Sponsored by: The FreeBSD Foundation --- editors/marginalia.el/Makefile | 10 +++++++--- editors/marginalia.el/pkg-plist | 1 + 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/editors/marginalia.el/Makefile b/editors/marginalia.el/Makefile index f07533b574d9..8f779fef3850 100644 --- a/editors/marginalia.el/Makefile +++ b/editors/marginalia.el/Makefile @@ -1,5 +1,6 @@ PORTNAME= marginalia.el -PORTVERSION= 2.4 +DISTVERSION= 2.4 +PORTREVISION= 1 CATEGORIES= editors elisp PKGNAMESUFFIX= ${EMACS_PKGNAMESUFFIX} @@ -18,13 +19,16 @@ GH_ACCOUNT= minad GH_PROJECT= marginalia NO_ARCH= yes -NO_BUILD= yes OPTIONS_DEFINE= DOCS +do-build: + ${EMACS_CMD} -q --batch -f batch-byte-compile ${WRKSRC}/marginalia.el + do-install: @${MKDIR} ${STAGEDIR}${PREFIX}/${EMACS_SITE_LISPDIR} - ${INSTALL_DATA} ${WRKSRC}/marginalia.el ${STAGEDIR}${PREFIX}/${EMACS_SITE_LISPDIR} + ${INSTALL_DATA} ${WRKSRC}/marginalia.el ${WRKSRC}/marginalia.elc \ + ${STAGEDIR}${PREFIX}/${EMACS_SITE_LISPDIR} post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} diff --git a/editors/marginalia.el/pkg-plist b/editors/marginalia.el/pkg-plist index 934eb13d8a5b..f054b1ca4726 100644 --- a/editors/marginalia.el/pkg-plist +++ b/editors/marginalia.el/pkg-plist @@ -1,2 +1,3 @@ %%EMACS_SITE_LISPDIR%%/marginalia.el +%%EMACS_SITE_LISPDIR%%/marginalia.elc %%PORTDOCS%%%%DOCSDIR%%/README.orghome | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202511170504.5AH547bw009868>
