git: 6c5200b096f3 - main - editors/with-editor: Update to 3.1.0

From: Yasuhiro Kimura <yasu_at_FreeBSD.org>
Date: Thu, 06 Jan 2022 16:34:33 UTC
The branch main has been updated by yasu:

URL: https://cgit.FreeBSD.org/ports/commit/?id=6c5200b096f3aceae1393485d47c576ae4e4b2b1

commit 6c5200b096f3aceae1393485d47c576ae4e4b2b1
Author:     Yasuhiro Kimura <yasu@FreeBSD.org>
AuthorDate: 2022-01-06 16:10:57 +0000
Commit:     Yasuhiro Kimura <yasu@FreeBSD.org>
CommitDate: 2022-01-06 16:33:35 +0000

    editors/with-editor: Update to 3.1.0
    
    Changes:        https://github.com/magit/with-editor/commits/v3.1.0
---
 editors/with-editor/Makefile | 9 ++++-----
 editors/with-editor/distinfo | 6 +++---
 2 files changed, 7 insertions(+), 8 deletions(-)

diff --git a/editors/with-editor/Makefile b/editors/with-editor/Makefile
index dc418be67a03..f166fd6a7863 100644
--- a/editors/with-editor/Makefile
+++ b/editors/with-editor/Makefile
@@ -2,8 +2,7 @@
 
 PORTNAME=	with-editor
 DISTVERSIONPREFIX=	v
-DISTVERSION=	3.0.5
-PORTREVISION=	1
+DISTVERSION=	3.1.0
 CATEGORIES=	editors elisp
 PKGNAMESUFFIX=	${EMACS_PKGNAMESUFFIX}
 
@@ -17,7 +16,7 @@ USES=		emacs gmake makeinfo
 USE_GITHUB=	yes
 GH_ACCOUNT=	magit
 
-MAKE_ENV+=	EFLAGS="-L ${PREFIX}/${EMACS_SITE_LISPDIR}"
+ALL_TARGET=	lisp info
 
 NO_ARCH=	yes
 
@@ -31,12 +30,12 @@ OPTIONS_DEFINE=	DOCS
 
 do-install:
 	@${MKDIR} ${STAGEDIR}${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}
-	${INSTALL_DATA} ${WRKSRC}/*.el ${WRKSRC}/*.elc \
+	${INSTALL_DATA} ${WRKSRC}/lisp/*.el* \
 		${STAGEDIR}${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}
+	${INSTALL_DATA} ${WRKSRC}/docs/*.info ${STAGEDIR}${PREFIX}/${INFO_PATH}
 
 do-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/*.info ${STAGEDIR}${PREFIX}/${INFO_PATH}
 	${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>
diff --git a/editors/with-editor/distinfo b/editors/with-editor/distinfo
index a7ce53ee5f62..9dd18ea6b5b5 100644
--- a/editors/with-editor/distinfo
+++ b/editors/with-editor/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1633136248
-SHA256 (magit-with-editor-v3.0.5_GH0.tar.gz) = 9926e69aef982a6c857d742016c274acfa00d2cb2b07f48e01477aa57639d488
-SIZE (magit-with-editor-v3.0.5_GH0.tar.gz) = 31985
+TIMESTAMP = 1641462807
+SHA256 (magit-with-editor-v3.1.0_GH0.tar.gz) = 511841c41baba1b2793de3dc6d3af2d221d4e856cd1d4916f0fc195ea979cea8
+SIZE (magit-with-editor-v3.1.0_GH0.tar.gz) = 32068