1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00
freebsd-ports/cad/qucs-s/Makefile
Kyle Evans 6cbeebb080 cad/ngspice_rework: update to v41
The current version's distfiles have dropped off sourceforge, so let's
take this time to update.  While we're here, upstream has since removed
the sbrk usage, so we can successfully build on aarch64 again.

Reverse dependencies PORTREVISION bumped to play it safe, because it's
not clear to me that the ABI really didn't change.

Approved by:    kevinz5000@gmail.com (maintainer)
2023-09-10 15:10:40 -05:00

50 lines
1.3 KiB
Makefile

PORTNAME= qucs-s
DISTVERSION= 2.0.0
PORTREVISION= 1
CATEGORIES= cad
MAINTAINER= yuri@FreeBSD.org
COMMENT= Quite Universal Circuit Simulator: GUI for circuit simulation kernels
WWW= https://ra3xdh.github.io/
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
USES= bison cmake gl localbase qt:6
USE_QT= base svg tools:build
USE_GL= gl opengl
USE_GITHUB= yes
GH_ACCOUNT= ra3xdh
GH_PROJECT= qucs_s
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
XYCE_DESC= Xyce electronic simulator
XYCE_RUN_DEPENDS= Xyce:cad/xyce \
mpich>0:net/mpich # mpich for the mpirun executable
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
.include <bsd.port.mk>