git: cf4d05789124 - main - devel/git-modes: Update to 1.4.1

From: Yasuhiro Kimura <yasu_at_FreeBSD.org>
Date: Sat, 13 May 2023 06:38:10 UTC
The branch main has been updated by yasu:

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

commit cf4d05789124cbe7bc22ffe676deb4a8525e0fb7
Author:     Yasuhiro Kimura <yasu@FreeBSD.org>
AuthorDate: 2023-05-12 07:10:14 +0000
Commit:     Yasuhiro Kimura <yasu@FreeBSD.org>
CommitDate: 2023-05-13 06:33:14 +0000

    devel/git-modes: Update to 1.4.1
    
    Changes:        https://github.com/magit/git-modes/compare/1.4.0...1.4.1
---
 devel/git-modes/Makefile | 21 ++++++++++++---------
 devel/git-modes/distinfo |  6 +++---
 2 files changed, 15 insertions(+), 12 deletions(-)

diff --git a/devel/git-modes/Makefile b/devel/git-modes/Makefile
index 222937ac91fe..dce9f7ebbfcb 100644
--- a/devel/git-modes/Makefile
+++ b/devel/git-modes/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	git-modes
-DISTVERSION=	1.4.0
-PORTREVISION=	6
+DISTVERSION=	1.4.1
 PORTEPOCH=	1
 CATEGORIES=	devel elisp
 PKGNAMESUFFIX=	${EMACS_PKGNAMESUFFIX}
@@ -12,28 +11,32 @@ WWW=		https://github.com/magit/git-modes
 LICENSE=	GPLv3
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-RUN_DEPENDS=	git:devel/git
+BUILD_DEPENDS=	compat.el${EMACS_PKGNAMESUFFIX}>=29.1.3.4:misc/compat.el@${EMACS_FLAVOR}
+RUN_DEPENDS=	compat.el${EMACS_PKGNAMESUFFIX}>=29.1.3.4:misc/compat.el@${EMACS_FLAVOR} \
+		git:devel/git
 
 USES=		emacs gmake
 USE_GITHUB=	yes
 GH_ACCOUNT=	magit
 
+MAKE_ENV+=	LOAD_PATH="-L ${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}/compat"
+
 NO_ARCH=	yes
 
-PLIST_SUB=	ELISPDIR=${_ELISPDIR}
-PORTDOCS=	README.md
+PLIST_SUB=	ELISPDIR=${ELISPDIR}
+PORTDOCS=	README.org
 
 OPTIONS_DEFINE=	DOCS
 
-_ELISPDIR=	${EMACS_VERSION_SITE_LISPDIR}/${PORTNAME}
+ELISPDIR=	${EMACS_VERSION_SITE_LISPDIR}/${PORTNAME}
 
 do-install:
-	@${MKDIR} ${STAGEDIR}${PREFIX}/${_ELISPDIR}
+	@${MKDIR} ${STAGEDIR}${PREFIX}/${ELISPDIR}
 	${INSTALL_DATA} ${WRKSRC}/*.el ${WRKSRC}/*.elc \
-		${STAGEDIR}${PREFIX}/${_ELISPDIR}
+		${STAGEDIR}${PREFIX}/${ELISPDIR}
 
 do-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/README.org ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>
diff --git a/devel/git-modes/distinfo b/devel/git-modes/distinfo
index 63900c28b54e..026f77c9cfcc 100644
--- a/devel/git-modes/distinfo
+++ b/devel/git-modes/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1634782042
-SHA256 (magit-git-modes-1.4.0_GH0.tar.gz) = e8f9fe59e3dfbde6b25abdc87ff8cbdb09ffdb71ed0c2e7b18b014ac32df2cfa
-SIZE (magit-git-modes-1.4.0_GH0.tar.gz) = 18218
+TIMESTAMP = 1683868814
+SHA256 (magit-git-modes-1.4.1_GH0.tar.gz) = d634b500af93d70daa4cc1d5d2631ab161dcf24102ec8a7d5dd114a0f9f1f5a5
+SIZE (magit-git-modes-1.4.1_GH0.tar.gz) = 18445