git: b43d535264ba - main - cad/qucs-s: Add option for Xyce dependency

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Sat, 09 Jul 2022 14:52:35 UTC
The branch main has been updated by yuri:

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

commit b43d535264ba9be733eaad37350a907b952c26fc
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-07-09 06:24:36 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-07-09 14:52:33 +0000

    cad/qucs-s: Add option for Xyce dependency
---
 cad/qucs-s/Makefile | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/cad/qucs-s/Makefile b/cad/qucs-s/Makefile
index 9848896ba127..712c8dcdac25 100644
--- a/cad/qucs-s/Makefile
+++ b/cad/qucs-s/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	qucs-s
 DISTVERSION=	0.0.24
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	cad
 
 MAINTAINER=	yuri@FreeBSD.org
@@ -19,6 +19,14 @@ USE_GITHUB=	yes
 GH_ACCOUNT=	ra3xdh
 GH_PROJECT=	qucs_s
 
+OPTIONS_GROUP=		BACKENDS
+OPTIONS_GROUP_BACKENDS=	XYCE
+
+BACKENDS_DESC=		Additional backends (in addition to ngspice)
+
+XYCE_DESC=		Xyce electronic simulator
+XYCE_RUN_DEPENDS=	Xyce:cad/xyce
+
 post-patch:
 	# first the patch under files/ introduces %%PREFIX%%, and now we fix it here
 	@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|' ${WRKSRC}/qucs/main.cpp