cad/qucs-s: Add option for Xyce dependency

This commit is contained in:
Yuri Victorovich 2022-07-08 23:24:36 -07:00
parent 42eb119b4a
commit b43d535264

View file

@ -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