git: 8d90ef126dd8 - main - cad/iverilog: Update 11.0 → 12_0

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Tue, 18 Apr 2023 15:55:17 UTC
The branch main has been updated by yuri:

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

commit 8d90ef126dd81a73e211f3faaffaed3ea3188093
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2023-04-18 15:54:24 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2023-04-18 15:55:15 +0000

    cad/iverilog: Update 11.0 → 12_0
    
    PR:     270908
    Approved by:    kbowling@
---
 cad/iverilog/Makefile | 18 +++++++++++++-----
 cad/iverilog/distinfo |  6 +++---
 2 files changed, 16 insertions(+), 8 deletions(-)

diff --git a/cad/iverilog/Makefile b/cad/iverilog/Makefile
index 098b52a36e4a..fd826cdbf5aa 100644
--- a/cad/iverilog/Makefile
+++ b/cad/iverilog/Makefile
@@ -1,18 +1,26 @@
 PORTNAME=	iverilog
-PORTVERSION=	11.0
+DISTVERSIONPREFIX=	v
+DISTVERSION=	12_0
 CATEGORIES=	cad
-MASTER_SITES=	ftp://icarus.com/pub/eda/verilog/v11/
-DISTNAME=	verilog-${PORTVERSION}
 
 MAINTAINER=	kbowling@FreeBSD.org
 COMMENT=	Verilog simulation and synthesis tool
-WWW=		http://iverilog.icarus.com/
+WWW=		https://steveicarus.github.io/iverilog/
 
 LICENSE=	GPLv2
 
+BUILD_DEPENDS=	autoconf:devel/autoconf \
+		gperf:devel/gperf
+
+USES=		bison compiler:c++11-lang gmake readline
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	steveicarus
+
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--disable-suffix
 
-USES=		bison compiler:c++11-lang gmake readline
+pre-configure:
+	@cd ${WRKSRC} && sh autoconf.sh
 
 .include <bsd.port.mk>
diff --git a/cad/iverilog/distinfo b/cad/iverilog/distinfo
index a07a5033e89d..13746659378b 100644
--- a/cad/iverilog/distinfo
+++ b/cad/iverilog/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1603302018
-SHA256 (verilog-11.0.tar.gz) = d54785616b63fe6739948e9967499624f29ded54adb57e1e00eb897567a655d5
-SIZE (verilog-11.0.tar.gz) = 1784307
+TIMESTAMP = 1681749176
+SHA256 (steveicarus-iverilog-v12_0_GH0.tar.gz) = a68cb1ef7c017ef090ebedb2bc3e39ef90ecc70a3400afb4aa94303bc3beaa7d
+SIZE (steveicarus-iverilog-v12_0_GH0.tar.gz) = 2995096