git: a02c3eadc5e1 - main - cad/qucs-s: Add options for optional run-time dependencies
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 10 Jul 2022 22:37:57 UTC
The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=a02c3eadc5e13d8d97bcd2e60525c6c3ba87575d commit a02c3eadc5e13d8d97bcd2e60525c6c3ba87575d Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2022-07-10 22:36:59 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2022-07-10 22:37:54 +0000 cad/qucs-s: Add options for optional run-time dependencies --- cad/qucs-s/Makefile | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/cad/qucs-s/Makefile b/cad/qucs-s/Makefile index b55be84a0e8c..a35348c2cede 100644 --- a/cad/qucs-s/Makefile +++ b/cad/qucs-s/Makefile @@ -1,6 +1,6 @@ PORTNAME= qucs-s DISTVERSION= 0.0.24 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= cad MAINTAINER= yuri@FreeBSD.org @@ -9,8 +9,6 @@ COMMENT= Quite Universal Circuit Simulator: GUI for circuit simulation kernels LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING -RUN_DEPENDS= octave:math/octave - USES= cmake qt:5 USE_QT= core gui printsupport svg widgets buildtools_build linguisttools_build qmake_build @@ -18,11 +16,13 @@ USE_GITHUB= yes GH_ACCOUNT= ra3xdh GH_PROJECT= qucs_s -OPTIONS_GROUP= BACKENDS +OPTIONS_GROUP= BACKENDS RTDEPENDS OPTIONS_GROUP_BACKENDS= NGSPICE XYCE QUCSATOR +OPTIONS_GROUP_RTDEPENDS= OCTAVE ADMS OPTIONS_DEFAULT= NGSPICE BACKENDS_DESC= Simulation backends +RTDEPENDS_DESC= Optional run-time dependencies NGSPICE_DESC= ngspice mixed-signal circuit simulator NGSPICE_RUN_DEPENDS= ngspice:cad/ngspice_rework @@ -34,6 +34,12 @@ XYCE_RUN_DEPENDS= Xyce:cad/xyce \ QUCSATOR_DESC= Circuit simulator of the Qucs project QUCSATOR_RUN_DEPENDS= qucsator:cad/qucsator +OCTAVE_DESC= Octave is used for some non-essential features +OCTAVE_RUN_DEPENDS= octave:math/octave + +ADMS_DESC= ADMS model generator used for some non-essential features +ADMS_RUN_DEPENDS= admsXml:cad/adms + 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