git: ff4d093f3184 - main - cad/yosys: Update 0.11 -> 0.12

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Sat, 04 Dec 2021 09:21:09 UTC
The branch main has been updated by yuri:

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

commit ff4d093f3184e3b8fd89a37196408e4182ee99ac
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2021-12-04 09:19:45 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2021-12-04 09:21:05 +0000

    cad/yosys: Update 0.11 -> 0.12
    
    Also add the test target, and run-time dependency.
    
    Reported by:    portscout
---
 cad/yosys/Makefile  |  9 ++++++++-
 cad/yosys/distinfo  |  6 +++---
 cad/yosys/pkg-plist | 11 +++++++++++
 3 files changed, 22 insertions(+), 4 deletions(-)

diff --git a/cad/yosys/Makefile b/cad/yosys/Makefile
index 218adaa23478..9d16ca501ec8 100644
--- a/cad/yosys/Makefile
+++ b/cad/yosys/Makefile
@@ -2,7 +2,7 @@
 
 PORTNAME=	yosys
 DISTVERSIONPREFIX=	yosys-
-DISTVERSION=	0.11
+DISTVERSION=	0.12
 CATEGORIES=	cad
 
 MAINTAINER=	yuri@FreeBSD.org
@@ -15,18 +15,25 @@ BUILD_DEPENDS=	abc:cad/abc \
 		bash:shells/bash \
 		gawk:lang/gawk
 LIB_DEPENDS=	libffi.so:devel/libffi
+RUN_DEPENDS=	xdot:x11/py-xdot@${PY_FLAVOR}
+TEST_DEPENDS=	bash:shells/bash \
+		iverilog:cad/iverilog
 
 USES=		bison compiler:c++11-lang gmake pkgconfig python:3.6+ readline \
 		shebangfix tcl
 
 SHEBANG_FILES=	backends/smt2/smtbmc.py \
 		misc/yosys-config.in
+SHEBANG_GLOB=	*.sh
 
 USE_GITHUB=	yes
 GH_ACCOUNT=	YosysHQ
 
 BINARY_ALIAS=	python3=${PYTHON_CMD} tclsh=${TCLSH}
 MAKE_ARGS=	ABCEXTERNAL=abc
+MAKE_ENV=	MAKE=${GMAKE}
+
+TEST_TARGET=	test
 
 post-patch:
 	${REINPLACE_CMD} -e '/^CXX =/d; s/^LD = .*/LD = $$(CXX)/' \
diff --git a/cad/yosys/distinfo b/cad/yosys/distinfo
index 62edec178f63..f4caa12ac5da 100644
--- a/cad/yosys/distinfo
+++ b/cad/yosys/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1636949608
-SHA256 (YosysHQ-yosys-yosys-0.11_GH0.tar.gz) = 56b98991b7833b5593d18c81fe02e922a3324bf581b7210ac7e7ca3fdcd9193e
-SIZE (YosysHQ-yosys-yosys-0.11_GH0.tar.gz) = 2037542
+TIMESTAMP = 1638604342
+SHA256 (YosysHQ-yosys-yosys-0.12_GH0.tar.gz) = 0a7467058d11a5d905bf43a5f5fdafbbb22369365b7cc083215d8cf9a45975fa
+SIZE (YosysHQ-yosys-yosys-0.12_GH0.tar.gz) = 2060970
diff --git a/cad/yosys/pkg-plist b/cad/yosys/pkg-plist
index 26ba829f1ea5..f615ad305d3b 100644
--- a/cad/yosys/pkg-plist
+++ b/cad/yosys/pkg-plist
@@ -51,6 +51,17 @@ bin/yosys-smtbmc
 %%DATADIR%%/efinix/cells_sim.v
 %%DATADIR%%/efinix/gbuf_map.v
 %%DATADIR%%/gate2lut.v
+%%DATADIR%%/gatemate/arith_map.v
+%%DATADIR%%/gatemate/brams.txt
+%%DATADIR%%/gatemate/brams_init_20.vh
+%%DATADIR%%/gatemate/brams_init_40.vh
+%%DATADIR%%/gatemate/brams_map.v
+%%DATADIR%%/gatemate/cells_bb.v
+%%DATADIR%%/gatemate/cells_sim.v
+%%DATADIR%%/gatemate/lut_map.v
+%%DATADIR%%/gatemate/mul_map.v
+%%DATADIR%%/gatemate/mux_map.v
+%%DATADIR%%/gatemate/reg_map.v
 %%DATADIR%%/gowin/arith_map.v
 %%DATADIR%%/gowin/bram_init_16.vh
 %%DATADIR%%/gowin/brams.txt