git: 7c4a4ed289eb - main - devel/transient: Update to 0.4.0

From: Yasuhiro Kimura <yasu_at_FreeBSD.org>
Date: Thu, 11 May 2023 06:15:00 UTC
The branch main has been updated by yasu:

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

commit 7c4a4ed289eb19a25cc5db6c9e005d7a70193598
Author:     Yasuhiro Kimura <yasu@FreeBSD.org>
AuthorDate: 2023-05-11 04:32:06 +0000
Commit:     Yasuhiro Kimura <yasu@FreeBSD.org>
CommitDate: 2023-05-11 06:13:57 +0000

    devel/transient: Update to 0.4.0
    
    ChangeLog:      https://github.com/magit/transient/blob/main/CHANGELOG
---
 devel/transient/Makefile | 12 ++++++++----
 devel/transient/distinfo |  6 +++---
 2 files changed, 11 insertions(+), 7 deletions(-)

diff --git a/devel/transient/Makefile b/devel/transient/Makefile
index db93cd567344..f66ecde61472 100644
--- a/devel/transient/Makefile
+++ b/devel/transient/Makefile
@@ -1,7 +1,6 @@
 PORTNAME=	transient
 DISTVERSIONPREFIX=	v
-DISTVERSION=	0.3.7
-PORTREVISION=	7
+DISTVERSION=	0.4.0
 CATEGORIES=	devel elisp
 PKGNAMESUFFIX=	${EMACS_PKGNAMESUFFIX}
 
@@ -12,10 +11,15 @@ WWW=		https://github.com/magit/transient
 LICENSE=	GPLv3+
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
+BUILD_DEPENDS=	compat.el${EMACS_PKGNAMESUFFIX}>=29.1.4.1:misc/compat.el@${EMACS_FLAVOR}
+RUN_DEPENDS=	compat.el${EMACS_PKGNAMESUFFIX}>=29.1.4.1:misc/compat.el@${EMACS_FLAVOR}
+
 USES=		emacs gmake makeinfo
 USE_GITHUB=	yes
 GH_ACCOUNT=	magit
 
+MAKE_ENV+=	LOAD_PATH="-L ${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}/compat"
+
 ALL_TARGET=	lisp info
 
 CONFLICTS_INSTALL=	transient-devel-emacs*
@@ -24,7 +28,7 @@ NO_ARCH=	yes
 
 INFO=		transient
 
-PORTDOCS=	CHANGELOG README.md transient.html
+PORTDOCS=	CHANGELOG README.org transient.html
 
 OPTIONS_DEFINE=	DOCS PDF
 
@@ -48,7 +52,7 @@ do-install:
 
 do-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/README.md ${WRKSRC}/docs/CHANGELOG \
+	${INSTALL_DATA} ${WRKSRC}/README.org ${WRKSRC}/CHANGELOG \
 		${WRKSRC}/docs/transient.html ${STAGEDIR}${DOCSDIR}
 
 do-install-PDF-on:
diff --git a/devel/transient/distinfo b/devel/transient/distinfo
index e7b861193639..e9df95cc74d3 100644
--- a/devel/transient/distinfo
+++ b/devel/transient/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1635206116
-SHA256 (magit-transient-v0.3.7_GH0.tar.gz) = b6b8c9432135a5b359a104a216c7ee46133c41bb70e3d1af3c77e8250245cf41
-SIZE (magit-transient-v0.3.7_GH0.tar.gz) = 103105
+TIMESTAMP = 1683772932
+SHA256 (magit-transient-v0.4.0_GH0.tar.gz) = b968bff7e82fe7efeee8121b2707bb5807e2d1f4869227898145e199cdeb639f
+SIZE (magit-transient-v0.4.0_GH0.tar.gz) = 128429