git: 2e445d6adab6 - main - devel/libddoc: Update to 0.8.0

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

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

commit 2e445d6adab6942d0b4130a2df705807dc495e4f
Author:     Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
AuthorDate: 2022-11-15 01:01:11 +0000
Commit:     Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
CommitDate: 2022-11-15 01:49:12 +0000

    devel/libddoc: Update to 0.8.0
    
    ChangeLog at:   https://github.com/dlang-community/libddoc/releases/tag/v0.8.0
---
 devel/libddoc/Makefile  | 8 +++++---
 devel/libddoc/distinfo  | 6 +++---
 devel/libddoc/pkg-plist | 2 ++
 3 files changed, 10 insertions(+), 6 deletions(-)

diff --git a/devel/libddoc/Makefile b/devel/libddoc/Makefile
index e83b2062d477..9b41ae7d6514 100644
--- a/devel/libddoc/Makefile
+++ b/devel/libddoc/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	libddoc
-PORTVERSION=	0.6.0
+PORTVERSION=	0.8.0
 DISTVERSIONPREFIX=	v
 CATEGORIES=	devel
 
@@ -20,17 +20,19 @@ GH_ACCOUNT=	dlang-community
 DUB_CMD=	${LOCALBASE}/bin/dub build --build=release
 D_INCLUDE_DIR=	${PREFIX}/include/d
 D_LIB_DIR=	${PREFIX}/lib/d
+DC=		${PREFIX}/bin/ldmd2
 
 post-patch:
-	${REINPLACE_CMD} -e '22,24d' ${WRKSRC}/dub.json
+	${REINPLACE_CMD} -e '23d' ${WRKSRC}/dub.json
 
 do-build:
-	@cd ${WRKSRC} && ${DUB_CMD}
+	@cd ${WRKSRC} && DC=${DC} ${DUB_CMD}
 
 do-install:
 	@${MKDIR} ${STAGEDIR}${D_INCLUDE_DIR}
 	@${MKDIR} ${STAGEDIR}${D_LIB_DIR}
 	${INSTALL_DATA} ${WRKSRC}/bin/libddoc.a ${STAGEDIR}${D_LIB_DIR}
 	cd ${WRKSRC}/src && ${COPYTREE_SHARE} . ${STAGEDIR}${D_INCLUDE_DIR} "-name *\.d"
+	cd ${WRKSRC}/common/source && ${COPYTREE_SHARE} . ${STAGEDIR}${D_INCLUDE_DIR} "-name *\.d"
 
 .include <bsd.port.mk>
diff --git a/devel/libddoc/distinfo b/devel/libddoc/distinfo
index bd1d2b45fc0e..59d7e2ff67a6 100644
--- a/devel/libddoc/distinfo
+++ b/devel/libddoc/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1551859492
-SHA256 (dlang-community-libddoc-v0.6.0_GH0.tar.gz) = 6d503d011792c16c03564d41c5c8aba57db25838206cd5a9141eadc96a7cf364
-SIZE (dlang-community-libddoc-v0.6.0_GH0.tar.gz) = 19766
+TIMESTAMP = 1668473774
+SHA256 (dlang-community-libddoc-v0.8.0_GH0.tar.gz) = 9e5657de8aea225f622a00b5cb5ca9f1dac091dd98970152d65876a92669e18e
+SIZE (dlang-community-libddoc-v0.8.0_GH0.tar.gz) = 21112
diff --git a/devel/libddoc/pkg-plist b/devel/libddoc/pkg-plist
index 7c428c6a79ec..dd1558dd4652 100644
--- a/devel/libddoc/pkg-plist
+++ b/devel/libddoc/pkg-plist
@@ -5,4 +5,6 @@ include/d/ddoc/macros.d
 include/d/ddoc/package.d
 include/d/ddoc/sections.d
 include/d/ddoc/standalone.d
+include/d/ddoc/types.d
+include/d/ddoc/unhighlight.d
 lib/d/libddoc.a