git: 55b94408be92 - main - editors/orderless.el: Install byte-compiled elisp
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 17 Nov 2025 05:04:08 UTC
The branch main has been updated by jrm:
URL: https://cgit.FreeBSD.org/ports/commit/?id=55b94408be92f5444a8cec92dae406b4048286a1
commit 55b94408be92f5444a8cec92dae406b4048286a1
Author: Joseph Mingrone <jrm@FreeBSD.org>
AuthorDate: 2025-11-17 03:22:58 +0000
Commit: Joseph Mingrone <jrm@FreeBSD.org>
CommitDate: 2025-11-17 04:38:28 +0000
editors/orderless.el: Install byte-compiled elisp
While here, use DISTVERSION instead of PORTVERSION.
Sponsored by: The FreeBSD Foundation
---
editors/orderless.el/Makefile | 10 ++++++----
editors/orderless.el/pkg-plist | 2 ++
2 files changed, 8 insertions(+), 4 deletions(-)
diff --git a/editors/orderless.el/Makefile b/editors/orderless.el/Makefile
index c1d7b49fc223..257e8c502d7c 100644
--- a/editors/orderless.el/Makefile
+++ b/editors/orderless.el/Makefile
@@ -1,5 +1,6 @@
PORTNAME= orderless.el
-PORTVERSION= 1.5
+DISTVERSION= 1.5
+PORTREVISION= 1
CATEGORIES= editors elisp
PKGNAMESUFFIX= ${EMACS_PKGNAMESUFFIX}
@@ -18,14 +19,15 @@ GH_ACCOUNT= oantolin
GH_PROJECT= orderless
NO_ARCH= yes
-NO_BUILD= yes
OPTIONS_DEFINE= DOCS
+do-build:
+ ${EMACS_CMD} -q --batch -L ${WRKSRC} -f batch-byte-compile ${WRKSRC}/*.el
+
do-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/${EMACS_SITE_LISPDIR}
- ${INSTALL_DATA} ${WRKSRC}/orderless.el ${STAGEDIR}${PREFIX}/${EMACS_SITE_LISPDIR}
- ${INSTALL_DATA} ${WRKSRC}/orderless-kwd.el ${STAGEDIR}${PREFIX}/${EMACS_SITE_LISPDIR}
+ ${INSTALL_DATA} ${WRKSRC}/*.el ${WRKSRC}/*.elc ${STAGEDIR}${PREFIX}/${EMACS_SITE_LISPDIR}
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
diff --git a/editors/orderless.el/pkg-plist b/editors/orderless.el/pkg-plist
index 758408b9ea46..5e2866dbb647 100644
--- a/editors/orderless.el/pkg-plist
+++ b/editors/orderless.el/pkg-plist
@@ -1,3 +1,5 @@
%%EMACS_SITE_LISPDIR%%/orderless-kwd.el
+%%EMACS_SITE_LISPDIR%%/orderless-kwd.elc
%%EMACS_SITE_LISPDIR%%/orderless.el
+%%EMACS_SITE_LISPDIR%%/orderless.elc
%%PORTDOCS%%%%DOCSDIR%%/README.org