git: be657a9244fe - main - devel/libdparse: Update to 0.20.0

From: Jose Alonso Cardenas Marquez <acm_at_FreeBSD.org>
Date: Tue, 15 Nov 2022 01:49:26 UTC
The branch main has been updated by acm:

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

commit be657a9244fedbd1eab3530d0f716fbf774a6e23
Author:     Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
AuthorDate: 2022-11-15 00:46:07 +0000
Commit:     Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
CommitDate: 2022-11-15 01:49:11 +0000

    devel/libdparse: Update to 0.20.0
    
    ChangeLog at:   https://github.com/dlang-community/libdparse/releases/tag/v0.20.0
---
 devel/libdparse/Makefile  | 8 +++-----
 devel/libdparse/distinfo  | 6 +++---
 devel/libdparse/pkg-plist | 3 +++
 3 files changed, 9 insertions(+), 8 deletions(-)

diff --git a/devel/libdparse/Makefile b/devel/libdparse/Makefile
index cb65e54b4e85..e3c4bf90d28e 100644
--- a/devel/libdparse/Makefile
+++ b/devel/libdparse/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	libdparse
-PORTVERSION=	0.11.4
+PORTVERSION=	0.20.0
 DISTVERSIONPREFIX=	v
 CATEGORIES=	devel
 
@@ -20,12 +20,10 @@ GH_ACCOUNT=	dlang-community
 DUB_CMD=	${LOCALBASE}/bin/dub build --build=release
 D_INCLUDE_DIR=	${PREFIX}/include/d
 D_LIB_DIR=	${PREFIX}/lib/d
-
-post-patch:
-	${REINPLACE_CMD} '11,13d' ${WRKSRC}/dub.json
+DC=		${PREFIX}/bin/ldmd2
 
 do-build:
-	@cd ${WRKSRC} && ${DUB_CMD}
+	@cd ${WRKSRC} && DC=${DC} ${DUB_CMD}
 
 do-install:
 	@${MKDIR} ${STAGEDIR}${D_INCLUDE_DIR}
diff --git a/devel/libdparse/distinfo b/devel/libdparse/distinfo
index 1cb5139c1db9..0ada5c437fef 100644
--- a/devel/libdparse/distinfo
+++ b/devel/libdparse/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1551858279
-SHA256 (dlang-community-libdparse-v0.11.4_GH0.tar.gz) = 7ebb3207edacbf262a847ba5c89b4501ec24f7c6a99535ef0608a1de3a634f7f
-SIZE (dlang-community-libdparse-v0.11.4_GH0.tar.gz) = 122375
+TIMESTAMP = 1668392021
+SHA256 (dlang-community-libdparse-v0.20.0_GH0.tar.gz) = 9e3ed06bb3d120d4b7a5bea684bdc1d4d1e7318047418e39bd8e68e18a5f8920
+SIZE (dlang-community-libdparse-v0.20.0_GH0.tar.gz) = 149222
diff --git a/devel/libdparse/pkg-plist b/devel/libdparse/pkg-plist
index 95a459e0e930..7da4d3ecb774 100644
--- a/devel/libdparse/pkg-plist
+++ b/devel/libdparse/pkg-plist
@@ -1,9 +1,12 @@
 include/d/dparse/ast.d
+include/d/dparse/astprinter.d
 include/d/dparse/entities.d
 include/d/dparse/formatter.d
 include/d/dparse/lexer.d
 include/d/dparse/parser.d
 include/d/dparse/rollback_allocator.d
 include/d/dparse/stack_buffer.d
+include/d/dparse/strings.d
+include/d/dparse/trivia.d
 include/d/std/experimental/lexer.d
 lib/d/libdparse.a