git: a296b01d9686 - main - cad/verilator: update 5.022 → 5.024

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Sat, 06 Apr 2024 14:54:54 UTC
The branch main has been updated by yuri:

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

commit a296b01d96863678099ef7b4402f8c69a2006135
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2024-04-06 14:39:28 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-04-06 14:54:51 +0000

    cad/verilator: update 5.022 → 5.024
    
    Reported by:    portscout
---
 cad/verilator/Makefile  | 18 +++++++++++++-----
 cad/verilator/distinfo  |  6 +++---
 cad/verilator/pkg-plist |  9 ++++++++-
 3 files changed, 24 insertions(+), 9 deletions(-)

diff --git a/cad/verilator/Makefile b/cad/verilator/Makefile
index 7e3a9252e17d..ba58ca97f31e 100644
--- a/cad/verilator/Makefile
+++ b/cad/verilator/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	verilator
 DISTVERSIONPREFIX=	v
-DISTVERSION=	5.022
+DISTVERSION=	5.024
 CATEGORIES=	cad
 
 MAINTAINER=	yuri@FreeBSD.org
@@ -63,11 +63,19 @@ pre-configure:
 	cd ${WRKSRC} && \
 		autoconf
 
-post-build:
-	@${STRIP_CMD} ${WRKSRC}/bin/verilator_bin
+post-install:
+	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/share/verilator/bin/verilator_bin
+
+post-install-INSTALL_DBG_EXECUTABLES-on:
+	@${STRIP_CMD} \
+		${STAGEDIR}${PREFIX}/share/verilator/bin/verilator_bin_dbg \
+		${STAGEDIR}${PREFIX}/share/verilator/bin/verilator_coverage_bin_dbg
 
 post-install-INSTALL_DBG_EXECUTABLES-off:
-	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/verilator_bin
-	@${RM} ${STAGEDIR}${PREFIX}/bin/verilator_bin_dbg ${STAGEDIR}${PREFIX}/bin/verilator_coverage_bin_dbg
+	@${RM} \
+		${STAGEDIR}${PREFIX}/bin/verilator_bin_dbg \
+		${STAGEDIR}${PREFIX}/bin/verilator_coverage_bin_dbg \
+		${STAGEDIR}${PREFIX}/share/verilator/bin/verilator_bin_dbg \
+		${STAGEDIR}${PREFIX}/share/verilator/bin/verilator_coverage_bin_dbg
 
 .include <bsd.port.mk>
diff --git a/cad/verilator/distinfo b/cad/verilator/distinfo
index eb8fe002c41c..b0277a4646a4 100644
--- a/cad/verilator/distinfo
+++ b/cad/verilator/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1708837162
-SHA256 (verilator-verilator-v5.022_GH0.tar.gz) = 2602d38c4da19133fad12c60570665d40cb8d014b958ab648ff44487b88bf60c
-SIZE (verilator-verilator-v5.022_GH0.tar.gz) = 3761455
+TIMESTAMP = 1712381917
+SHA256 (verilator-verilator-v5.024_GH0.tar.gz) = 88b04c953e7165c670d6a700f202cef99c746a0867b4e2efe1d7ea789dee35f3
+SIZE (verilator-verilator-v5.024_GH0.tar.gz) = 3879481
diff --git a/cad/verilator/pkg-plist b/cad/verilator/pkg-plist
index 9f1032e7b298..301576a2b9a4 100644
--- a/cad/verilator/pkg-plist
+++ b/cad/verilator/pkg-plist
@@ -10,9 +10,15 @@ share/man/man1/verilator.1.gz
 share/man/man1/verilator_coverage.1.gz
 share/man/man1/verilator_gantt.1.gz
 share/man/man1/verilator_profcfunc.1.gz
+%%DATADIR%%/bin/verilator
+%%DATADIR%%/bin/verilator_bin
+%%INSTALL_DBG_EXECUTABLES%%%%DATADIR%%/bin/verilator_bin_dbg
 %%DATADIR%%/bin/verilator_ccache_report
-%%DATADIR%%/bin/verilator_difftree
+%%DATADIR%%/bin/verilator_coverage
+%%INSTALL_DBG_EXECUTABLES%%%%DATADIR%%/bin/verilator_coverage_bin_dbg
+%%DATADIR%%/bin/verilator_gantt
 %%DATADIR%%/bin/verilator_includer
+%%DATADIR%%/bin/verilator_profcfunc
 %%DATADIR%%/examples/cmake_hello_c/CMakeLists.txt
 %%DATADIR%%/examples/cmake_hello_c/Makefile
 %%DATADIR%%/examples/cmake_hello_sc/CMakeLists.txt
@@ -103,6 +109,7 @@ share/man/man1/verilator_profcfunc.1.gz
 %%DATADIR%%/include/verilated_vpi.cpp
 %%DATADIR%%/include/verilated_vpi.h
 %%DATADIR%%/include/verilatedos.h
+%%DATADIR%%/include/verilatedos_c.h
 %%DATADIR%%/include/vltstd/sv_vpi_user.h
 %%DATADIR%%/include/vltstd/svdpi.h
 %%DATADIR%%/include/vltstd/vpi_user.h