Import qucs-s-0.0.21.

Qucs-S is a spin-off of the Qucs cross-platform circuit simulator (which
uses its own simulation kernel Qucsator). "S" letter indicates SPICE.

The purpose of the Qucs-S subproject is to use free SPICE circuit
simulation kernels with the Qucs GUI.

Qucs-S is not a simulator by itself, but it requires to use a simulation
backend (Ngspice is recommended).

From Alessandro De Laurenzis; thanks!

ok sthen@
This commit is contained in:
bentley 2019-05-02 03:34:39 +00:00
parent bd46cc55ad
commit 7b4d773163
7 changed files with 381 additions and 0 deletions

31
cad/qucs-s/Makefile Normal file
View File

@ -0,0 +1,31 @@
# $OpenBSD: Makefile,v 1.1.1.1 2019/05/02 03:34:39 bentley Exp $
COMMENT = an universal GUI for SPICE and not-SPICE circuit simulators
V = 0.0.21
DISTNAME = qucs-s-${V}
CATEGORIES = cad
HOMEPAGE = https://ra3xdh.github.io/
MAINTAINER = Alessandro De Laurenzis <just22@atlantide.t28.net>
MASTER_SITES = https://github.com/ra3xdh/qucs_s/releases/download/${V}/
# GPLv2
PERMIT_PACKAGE_CDROM = Yes
WANTLIB += ${COMPILER_LIBCXX} Qt3Support QtGui QtScript QtSvg QtXml c m
# C++
COMPILER = base-clang ports-gcc base-gcc
MODULES = devel/cmake \
x11/qt4
RUN_DEPENDS = cad/ngspice \
devel/desktop-file-utils \
x11/gtk+3,-guic
NO_TEST = Yes
.include <bsd.port.mk>

2
cad/qucs-s/distinfo Normal file
View File

@ -0,0 +1,2 @@
SHA256 (qucs-s-0.0.21.tar.gz) = 5tnU1w5KLNT0mNsQwScZLvmASkJO3o5XdUcTBnb1k3U=
SIZE (qucs-s-0.0.21.tar.gz) = 11270570

View File

@ -0,0 +1,11 @@
$OpenBSD: patch-contrib_CMakeLists_txt,v 1.1.1.1 2019/05/02 03:34:39 bentley Exp $
Index: contrib/CMakeLists.txt
--- contrib/CMakeLists.txt.orig
+++ contrib/CMakeLists.txt
@@ -2,4 +2,4 @@
# Netlist preprocessor script and man page
INSTALL( FILES ps2sp DESTINATION bin/ )
-INSTALL( FILES ps2sp.1 DESTINATION share/man/man1 )
+INSTALL( FILES ps2sp.1 DESTINATION man/man1 )

View File

@ -0,0 +1,14 @@
$OpenBSD: patch-qucs-attenuator_CMakeLists_txt,v 1.1.1.1 2019/05/02 03:34:39 bentley Exp $
Index: qucs-attenuator/CMakeLists.txt
--- qucs-attenuator/CMakeLists.txt.orig
+++ qucs-attenuator/CMakeLists.txt
@@ -105,7 +105,7 @@ INSTALL(TARGETS ${PROJECT_NAME}
# man pages
IF(NOT WITH_SPICE)
-INSTALL( FILES qucsattenuator.1 DESTINATION share/man/man1 )
+INSTALL( FILES qucsattenuator.1 DESTINATION man/man1 )
ENDIF()

View File

@ -0,0 +1,14 @@
$OpenBSD: patch-qucs_CMakeLists_txt,v 1.1.1.1 2019/05/02 03:34:39 bentley Exp $
Index: qucs/CMakeLists.txt
--- qucs/CMakeLists.txt.orig
+++ qucs/CMakeLists.txt
@@ -318,7 +318,7 @@ ENDIF()
INSTALL( FILES ${SCRIPTS} DESTINATION bin/ )
-INSTALL( FILES ${QUCS_NAME}.1 DESTINATION share/man/man1 )
+INSTALL( FILES ${QUCS_NAME}.1 DESTINATION man/man1 )
# To Create a package, one can run "cpack -G DragNDrop CPackConfig.cmake" on Mac OS X
# where CPackConfig.cmake is created by including CPack

8
cad/qucs-s/pkg/DESCR Normal file
View File

@ -0,0 +1,8 @@
Qucs-S is a spin-off of the Qucs cross-platform circuit simulator (which
uses its own simulation kernel Qucsator). "S" letter indicates SPICE.
The purpose of the Qucs-S subproject is to use free SPICE circuit
simulation kernels with the Qucs GUI.
Qucs-S is not a simulator by itself, but it requires to use a simulation
backend (Ngspice is recommended).

301
cad/qucs-s/pkg/PLIST Normal file
View File

@ -0,0 +1,301 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2019/05/02 03:34:39 bentley Exp $
@bin bin/qucs-s
@bin bin/qucs-sactivefilter
@bin bin/qucs-sfilter
@bin bin/qucs-slib
@man man/man1/qucs-s.1
share/applications/qucs-s.desktop
share/icons/hicolor/128x128/apps/qucs-s.png
share/icons/hicolor/16x16/apps/qucs-s.png
share/icons/hicolor/22x22/apps/qucs-s.png
share/icons/hicolor/256x256/apps/qucs-s.png
share/icons/hicolor/32x32/apps/qucs-s.png
share/icons/hicolor/48x48/apps/qucs-s.png
share/icons/hicolor/512x512/apps/qucs-s.png
share/icons/hicolor/64x64/apps/qucs-s.png
share/icons/hicolor/scalable/apps/qucs-s.svg
share/qucs-s/
share/qucs-s/examples/
share/qucs-s/examples/Amp_Baseband_Low-noise.sch
share/qucs-s/examples/Amp_Two_Tone.sch
share/qucs-s/examples/BPF_1550_edge_cpld.sch
share/qucs-s/examples/BPF_2000_Co-ax.sch
share/qucs-s/examples/Comb_Gen.sch
share/qucs-s/examples/IdealBalun.sch
share/qucs-s/examples/LPF-Balun2.sch
share/qucs-s/examples/LPF-Balun3.sch
share/qucs-s/examples/LPF_1000_Coplanar.sch
share/qucs-s/examples/LPF_1000_Radial-Stub.sch
share/qucs-s/examples/LPF_1250_Elliptical.sch
share/qucs-s/examples/Puls3b.sch
share/qucs-s/examples/README
share/qucs-s/examples/SmithChartTest.sch
share/qucs-s/examples/VCO_100.sch
share/qucs-s/examples/X2_100_Bipolar.sch
share/qucs-s/examples/X5_500.sch
share/qucs-s/examples/active_bp.sch
share/qucs-s/examples/active_lp.sch
share/qucs-s/examples/active_mixer.sch
share/qucs-s/examples/bbv.sch
share/qucs-s/examples/boostconverter.sch
share/qucs-s/examples/bpf_10Ghz.sch
share/qucs-s/examples/bridge.sch
share/qucs-s/examples/buckboost.sch
share/qucs-s/examples/buckconverter.sch
share/qucs-s/examples/charac.sch
share/qucs-s/examples/chargepump.sch
share/qucs-s/examples/chebyshev1_5th.sch
share/qucs-s/examples/classic_osci.sch
share/qucs-s/examples/colpitts.sch
share/qucs-s/examples/colpitts_base.sch
share/qucs-s/examples/diff1.sch
share/qucs-s/examples/diode_hb.sch
share/qucs-s/examples/elliptic_5th.sch
share/qucs-s/examples/external_interface/
share/qucs-s/examples/external_interface/cpp-interface/
share/qucs-s/examples/external_interface/cpp-interface/boostconverter.net
share/qucs-s/examples/external_interface/cpp-interface/main.cpp
share/qucs-s/examples/external_interface/cpp-interface/qucs_cpp_interface_example.cbp
share/qucs-s/examples/external_interface/example_ecvs.net
share/qucs-s/examples/external_interface/example_probe_and_subcircuit_access.net
share/qucs-s/examples/external_interface/m-interface/
share/qucs-s/examples/external_interface/m-interface/asynchronous_boost_converter_example.m
share/qucs-s/examples/external_interface/m-interface/boostconverter.net
share/qucs-s/examples/external_interface/m-interface/example_ecvs.m
share/qucs-s/examples/external_interface/m-interface/example_probe_and_subcircuit_access_async.m
share/qucs-s/examples/external_interface/m-interface/synchronous_boost_converter_example.m
share/qucs-s/examples/external_interface/probe_and_subcircuit/
share/qucs-s/examples/external_interface/probe_and_subcircuit/example_probe_and_subcircuit.sch
share/qucs-s/examples/external_interface/probe_and_subcircuit/example_sub_subcircuit.sch
share/qucs-s/examples/external_interface/probe_and_subcircuit/example_subcircuit.sch
share/qucs-s/examples/fet.sch
share/qucs-s/examples/fet_noise.sch
share/qucs-s/examples/fgummel.sch
share/qucs-s/examples/fhr01fh.sch
share/qucs-s/examples/filter_optimization.sch
share/qucs-s/examples/flicker.sch
share/qucs-s/examples/fullwaverectifier_1.sch
share/qucs-s/examples/fullwaverectifier_2.sch
share/qucs-s/examples/gain.sch
share/qucs-s/examples/giacoletto.sch
share/qucs-s/examples/gilbert.sch
share/qucs-s/examples/groupdelay_ac.sch
share/qucs-s/examples/groupdelay_sp.sch
share/qucs-s/examples/gyrator.sch
share/qucs-s/examples/lc_osc.sch
share/qucs-s/examples/lf_osci.sch
share/qucs-s/examples/microstrip.sch
share/qucs-s/examples/mixer.sch
share/qucs-s/examples/mscoupler.sch
share/qucs-s/examples/multiplier.sch
share/qucs-s/examples/ngspice/
share/qucs-s/examples/ngspice/B-sources.sch
share/qucs-s/examples/ngspice/BJT-four.sch
share/qucs-s/examples/ngspice/BJT-noise.sch
share/qucs-s/examples/ngspice/BJT-swp.dat.ngspice
share/qucs-s/examples/ngspice/BJT-swp.dpl
share/qucs-s/examples/ngspice/BJT-swp.sch
share/qucs-s/examples/ngspice/BJT.sch
share/qucs-s/examples/ngspice/BJT_dc.sch
share/qucs-s/examples/ngspice/Distortion.sch
share/qucs-s/examples/ngspice/EDD-Q-test.sch
share/qucs-s/examples/ngspice/Full_wave.sch
share/qucs-s/examples/ngspice/LM358_spice_prj.tar.gz
share/qucs-s/examples/ngspice/MESFETs/
share/qucs-s/examples/ngspice/MESFETs/testACMESFETCL1.sch
share/qucs-s/examples/ngspice/MESFETs/testDCIdsVgs.sch
share/qucs-s/examples/ngspice/MESFETs/testDCMESFETCL1.sch
share/qucs-s/examples/ngspice/RCL.sch
share/qucs-s/examples/ngspice/RFLumpComp/
share/qucs-s/examples/ngspice/RFLumpComp/RFLumpedComponents.lib
share/qucs-s/examples/ngspice/RFLumpComp/Test_RATF_EquivCircD.sch
share/qucs-s/examples/ngspice/RFLumpComp/Test_chip_res_basic.sch
share/qucs-s/examples/ngspice/Relay.sch
share/qucs-s/examples/ngspice/TestFNXSPICEDC.sch
share/qucs-s/examples/ngspice/Test_Cores.qucs
share/qucs-s/examples/ngspice/Test_XSPICE_Xanalogue_lib.zip
share/qucs-s/examples/ngspice/Test_tran_coup.sch
share/qucs-s/examples/ngspice/TranLibTest.qucs
share/qucs-s/examples/ngspice/Transformer_opposite_coupling.sch
share/qucs-s/examples/ngspice/Transformer_positive_coupling.sch
share/qucs-s/examples/ngspice/Tunnel.sch
share/qucs-s/examples/ngspice/XSPICE_CM/
share/qucs-s/examples/ngspice/XSPICE_CM/DiodeCap_prj/
share/qucs-s/examples/ngspice/XSPICE_CM/DiodeCap_prj/diodecap.ifs
share/qucs-s/examples/ngspice/XSPICE_CM/DiodeCap_prj/diodecap.mod
share/qucs-s/examples/ngspice/XSPICE_CM/testRFind.sch
share/qucs-s/examples/ngspice/audio_amp.sch
share/qucs-s/examples/ngspice/diode.sch
share/qucs-s/examples/ngspice/irfz44_switch.sch
share/qucs-s/examples/ngspice/par_sweep_test.sch
share/qucs-s/examples/ngspice/quarz.sch
share/qucs-s/examples/ngspice/quarz_test.dat.ngspice
share/qucs-s/examples/ngspice/quarz_test.dat.xyce
share/qucs-s/examples/ngspice/quarz_test.dpl
share/qucs-s/examples/ngspice/quarz_test.sch
share/qucs-s/examples/ngspice/sensitivityACandDC.sch
share/qucs-s/examples/ngspice/single_phase_transformer.sch
share/qucs-s/examples/ngspice/spice4qucs-help/
share/qucs-s/examples/ngspice/spice4qucs-help/Chapter13/
share/qucs-s/examples/ngspice/spice4qucs-help/Chapter13/S11_Probe.sch
share/qucs-s/examples/ngspice/spice4qucs-help/Chapter13/S12_Probe.sch
share/qucs-s/examples/ngspice/spice4qucs-help/Chapter13/S21_Probe.sch
share/qucs-s/examples/ngspice/spice4qucs-help/Chapter13/S22_Probe.sch
share/qucs-s/examples/ngspice/spice4qucs-help/Chapter13/STestBench.sch
share/qucs-s/examples/ngspice/spice4qucs-help/Chapter13/TestLPF.sch
share/qucs-s/examples/ngspice/spice4qucs-help/Chapter13/TwoPortConversion_scripts.sch
share/qucs-s/examples/ngspice/spice4qucs-help/Chapter13/Xyce2ToneTest.sch
share/qucs-s/examples/ngspice/spice4qucs-help/Chapter13/ngspiceCustom1.sch
share/qucs-s/examples/ngspice/spice4qucs-help/Chapter13/testDiodeSM.sch
share/qucs-s/examples/notch.sch
share/qucs-s/examples/opamp_gyrator.sch
share/qucs-s/examples/pentode.sch
share/qucs-s/examples/preregulator.sch
share/qucs-s/examples/resonance.sch
share/qucs-s/examples/rf_osci.sch
share/qucs-s/examples/rgummel.sch
share/qucs-s/examples/sawtooth-1.sch
share/qucs-s/examples/sawtooth-2.sch
share/qucs-s/examples/sawtooth-3.sch
share/qucs-s/examples/sawtooth-discreet.sch
share/qucs-s/examples/schmitt.sch
share/qucs-s/examples/selective_amp.sch
share/qucs-s/examples/shot.sch
share/qucs-s/examples/singleOPV.sch
share/qucs-s/examples/single_balanced.sch
share/qucs-s/examples/stab.sch
share/qucs-s/examples/supply.sch
share/qucs-s/examples/swr_meter.sch
share/qucs-s/examples/sym_osci.sch
share/qucs-s/examples/time_resistor.sch
share/qucs-s/examples/triode.sch
share/qucs-s/examples/wilkinson.sch
share/qucs-s/examples/xyce/
share/qucs-s/examples/xyce/XyceDigital/
share/qucs-s/examples/xyce/XyceDigital/testCombLogic1.sch
share/qucs-s/examples/xyce/XyceDigital/testCombLogic2.sch
share/qucs-s/examples/xyce/XyceDigital/testNAND2.sch
share/qucs-s/examples/xyce/XyceDigital/testPATGENX1.sch
share/qucs-s/examples/xyce/XyceDigital/testPATGENX4.sch
share/qucs-s/examples/xyce/hb-test.sch
share/qucs-s/examples/xyce/sensitivityDC.sch
share/qucs-s/examples/xyce/sensitivityTRAN.sch
share/qucs-s/lang/
share/qucs-s/lang/qucs_ar.qm
share/qucs-s/lang/qucs_ca.qm
share/qucs-s/lang/qucs_cs.qm
share/qucs-s/lang/qucs_de.qm
share/qucs-s/lang/qucs_en.qm
share/qucs-s/lang/qucs_es.qm
share/qucs-s/lang/qucs_fr.qm
share/qucs-s/lang/qucs_he.qm
share/qucs-s/lang/qucs_hu.qm
share/qucs-s/lang/qucs_it.qm
share/qucs-s/lang/qucs_ja.qm
share/qucs-s/lang/qucs_kk.qm
share/qucs-s/lang/qucs_pl.qm
share/qucs-s/lang/qucs_pt_BR.qm
share/qucs-s/lang/qucs_pt_PT.qm
share/qucs-s/lang/qucs_ro.qm
share/qucs-s/lang/qucs_ru.qm
share/qucs-s/lang/qucs_sv.qm
share/qucs-s/lang/qucs_tr.qm
share/qucs-s/lang/qucs_uk.qm
share/qucs-s/lang/qucs_zh_CN.qm
share/qucs-s/library/
share/qucs-s/library/AnalogueCM/
share/qucs-s/library/AnalogueCM.lib
share/qucs-s/library/AnalogueCM/FNXSPICECM.ifs
share/qucs-s/library/AnalogueCM/FNXSPICECM.mod
share/qucs-s/library/AnalogueCM/RFind.ifs
share/qucs-s/library/AnalogueCM/RFind.mod
share/qucs-s/library/AnalogueCM/etd.ifs
share/qucs-s/library/AnalogueCM/etd.mod
share/qucs-s/library/Bridges.lib
share/qucs-s/library/Diodes.lib
share/qucs-s/library/Ideal.lib
share/qucs-s/library/JFETs.lib
share/qucs-s/library/LEDs.lib
share/qucs-s/library/MESFETs/
share/qucs-s/library/MESFETs.lib
share/qucs-s/library/MESFETs/curtice1.ifs
share/qucs-s/library/MESFETs/curtice1.mod
share/qucs-s/library/MOSFETs.lib
share/qucs-s/library/NMOSFETs.lib
share/qucs-s/library/OpAmps.lib
share/qucs-s/library/PMOSFETs.lib
share/qucs-s/library/Regulators.lib
share/qucs-s/library/SpiceOpamp.lib
share/qucs-s/library/Substrates.lib
share/qucs-s/library/Transformers.lib
share/qucs-s/library/Transistors.lib
share/qucs-s/library/Varistors.lib
share/qucs-s/library/Xanalogue.lib
share/qucs-s/library/XyceDigital/
share/qucs-s/library/XyceDigital.lib
share/qucs-s/library/XyceDigital/A2DBRIDGE.sym
share/qucs-s/library/XyceDigital/A2DBRIDGEX2.sym
share/qucs-s/library/XyceDigital/A2DBRIDGEX4.sym
share/qucs-s/library/XyceDigital/A2DBRIDGEX8.sym
share/qucs-s/library/XyceDigital/AND2.sym
share/qucs-s/library/XyceDigital/AND4.sym
share/qucs-s/library/XyceDigital/ANDOR4X2.sym
share/qucs-s/library/XyceDigital/BUF.sym
share/qucs-s/library/XyceDigital/D2ABRIDGE.sym
share/qucs-s/library/XyceDigital/D2ABRIDGEX2.sym
share/qucs-s/library/XyceDigital/D2ABRIDGEX4.sym
share/qucs-s/library/XyceDigital/D2ABRIDGEX8.sym
share/qucs-s/library/XyceDigital/FADDER.sym
share/qucs-s/library/XyceDigital/GEN0OR1X4.sym
share/qucs-s/library/XyceDigital/GEN0OR1X8.sym
share/qucs-s/library/XyceDigital/INV.sym
share/qucs-s/library/XyceDigital/LOGIC0.sym
share/qucs-s/library/XyceDigital/LOGIC1.sym
share/qucs-s/library/XyceDigital/MUX2TO1.sym
share/qucs-s/library/XyceDigital/MUX4TO1.sym
share/qucs-s/library/XyceDigital/MUX8TO1.sym
share/qucs-s/library/XyceDigital/NAND2.sym
share/qucs-s/library/XyceDigital/NAND4.sym
share/qucs-s/library/XyceDigital/NOR2.sym
share/qucs-s/library/XyceDigital/NOR4.sym
share/qucs-s/library/XyceDigital/NXOR.sym
share/qucs-s/library/XyceDigital/OR2.sym
share/qucs-s/library/XyceDigital/OR4.sym
share/qucs-s/library/XyceDigital/PATGENX1.sym
share/qucs-s/library/XyceDigital/PATGENX128.sym
share/qucs-s/library/XyceDigital/PATGENX2.sym
share/qucs-s/library/XyceDigital/PATGENX32.sym
share/qucs-s/library/XyceDigital/PATGENX4.sym
share/qucs-s/library/XyceDigital/PATGENX8.sym
share/qucs-s/library/XyceDigital/XOR.sym
share/qucs-s/library/Xyce_Digital_TTL_Technology.lib
share/qucs-s/library/Z-Diodes.lib
share/qucs-s/library/ngspice.blacklist
share/qucs-s/library/qucs.blacklist
share/qucs-s/library/xyce.blacklist
share/qucs-s/octave/
share/qucs-s/octave/getQucsVariable.m
share/qucs-s/octave/loadQucsDataSet.m
share/qucs-s/octave/loadQucsVariable.m
share/qucs-s/octave/plotCartesian2D.m
share/qucs-s/octave/plotCartesian2D2V.m
share/qucs-s/octave/plotFFT.m
share/qucs-s/octave/plotFFT2V.m
share/qucs-s/octave/plotTimeFFT.m
share/qucs-s/octave/showQucsDataSet.m
share/qucs-s/python/
share/qucs-s/python/parse_result.py
share/qucs-s/python/parse_result_example.py
share/qucs-s/python/rc_ac_sweep.dat
share/qucs-s/python/rc_ac_sweep.net
share/qucs-s/symbols/
share/qucs-s/symbols/opamp3t.sym
share/qucs-s/symbols/opamp5t.sym
share/qucs-s/xspice_cmlib/
share/qucs-s/xspice_cmlib/cmlib.linux.rules.mk
share/qucs-s/xspice_cmlib/cmlib.mingw32.rules.mk
share/qucs-s/xspice_cmlib/include/
share/qucs-s/xspice_cmlib/include/ngspice_mathfunc.inc
share/qucs-s/xspice_cmlib/include/xspice_mathfunc.h
@tag update-desktop-database
@tag gtk-update-icon-cache %D/share/icons/hicolor