mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-27 00:57:50 +00:00
This port provides a GUI for two freely available SPICE electronic circuit
simulation engines: GNU-Cap and Ng-Spice. Current features: Import gschem schematic files using gentlist. Load and parse circuit description (net list) files. Provides a GUI interface for GNU-Cap OP, DC, AC and Transient analyses and generates appropriate simulator commands based on user input. Provides a GUI interface for Ng-Spice DC, AC and Transient analyses and generates appropriate simulator commands based on user input. The raw output may be viewed for any processes initiated by gspiceui. Formatting of simulator output so that it may be plotted using gwave. WWW: http://www.geda.seul.org/tools/gspiceui/index.html PR: ports/99357 Submitted by: Stanislav Sedov <ssedov at mbsd.msk.ru>
This commit is contained in:
parent
c74a8d91a1
commit
78fa4aaae1
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=169394
@ -34,6 +34,7 @@
|
||||
SUBDIR += gmsh
|
||||
SUBDIR += gnucap
|
||||
SUBDIR += gplcver
|
||||
SUBDIR += gspiceui
|
||||
SUBDIR += gtkwave
|
||||
SUBDIR += gwave
|
||||
SUBDIR += impact
|
||||
|
65
cad/gspiceui/Makefile
Normal file
65
cad/gspiceui/Makefile
Normal file
@ -0,0 +1,65 @@
|
||||
# New ports collection makefile for: gspiceui
|
||||
# Date created: 30 April 2006
|
||||
# Whom: Stanislav Sedov <ssedov@mbsd.msk.ru>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= gspiceui
|
||||
PORTVERSION= 0.8.55
|
||||
CATEGORIES= cad
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
DISTNAME= ${PORTNAME}-v${PORTVERSION}
|
||||
|
||||
MAINTAINER= ssedov@mbsd.msk.ru
|
||||
COMMENT= GUI frontend for gnucap/ng-spice circuit simulators
|
||||
|
||||
LIB_DEPENDS= wx_gtk2u_core-2.6:${PORTSDIR}/x11-toolkits/wxgtk26-unicode
|
||||
RUN_DEPENDS= gwave:${PORTSDIR}/cad/gwave
|
||||
|
||||
USE_X_PREFIX= yes
|
||||
USE_GMAKE= yes
|
||||
|
||||
OPTIONS= NGSPICE "Use ng-spice as backend" on \
|
||||
GNUCAP "Use gnucap as backend" off \
|
||||
MODELS "Install example models" on
|
||||
|
||||
PORTDOCS= *
|
||||
|
||||
# XXX: exists untill it will be committed to bsd.port.mk
|
||||
COPYTREE_SHARE= ${SH} -c '(${FIND} -d $$0 $$2 | ${CPIO} -dumpl $$1 >/dev/null \
|
||||
2>&1) && \
|
||||
${CHOWN} -R ${SHAREOWN}:${SHAREGRP} $$1 && \
|
||||
${FIND} $$1/ -type d -exec ${CHMOD} 755 {} \; && \
|
||||
${FIND} $$1/ -type f -exec ${CHMOD} ${SHAREMODE} {} \;' --
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if !defined(WITHOUT_NGSPICE)
|
||||
RUN_DEPENDS+= ngspice:${PORTSDIR}/cad/ngspice_rework
|
||||
.endif
|
||||
|
||||
.if defined(WITH_GNUCAP)
|
||||
RUN_DEPENDS+= gnucap:${PORTSDIR}/cad/gnucap
|
||||
.endif
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/bin/${PORTNAME} ${PREFIX}/bin
|
||||
|
||||
post-install:
|
||||
.if !defined(NOPORTDOCS)
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
@(cd ${WRKSRC}/html && ${COPYTREE_SHARE} \* ${DOCSDIR} \
|
||||
"! -name Makefile")
|
||||
.endif
|
||||
.if !defined(WITHOUT_MODELS)
|
||||
@${MKDIR} ${DATADIR}
|
||||
@(cd ${WRKSRC} && ${COPYTREE_SHARE} sch ${DATADIR} \
|
||||
"! -name Makefile" && \
|
||||
${COPYTREE_SHARE} lib ${DATADIR} "! -name Makefile")
|
||||
PLIST_SUB+= MODELS=""
|
||||
.else
|
||||
PLIST_SUB+= MODELS="@comment "
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
3
cad/gspiceui/distinfo
Normal file
3
cad/gspiceui/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (gspiceui-v0.8.55.tar.gz) = 7a52d50456d21f259281350d88a926d3
|
||||
SHA256 (gspiceui-v0.8.55.tar.gz) = 31d39cfafc9af48139cb29b303eca76a082f1dd25cbb91b04c30a292d3effb48
|
||||
SIZE (gspiceui-v0.8.55.tar.gz) = 419458
|
24
cad/gspiceui/files/patch-src_Makefile
Normal file
24
cad/gspiceui/files/patch-src_Makefile
Normal file
@ -0,0 +1,24 @@
|
||||
--- src/Makefile.orig Wed Jan 11 23:09:15 2006
|
||||
+++ src/Makefile Sat Apr 29 19:29:09 2006
|
||||
@@ -23,7 +23,7 @@
|
||||
PROG = gspiceui
|
||||
|
||||
# wxWidgets configuration utility
|
||||
-WXCFG = wx-config
|
||||
+WXCFG = wxgtk2u-2.6-config
|
||||
|
||||
# Directories
|
||||
#ROOT := $(shell cd .. ; pwd)
|
||||
@@ -45,10 +45,10 @@
|
||||
|
||||
# Includes
|
||||
INCLUDES =-I/usr/include -I/usr/X11R6/include -I. -Ibase -Imain -Inetlist \
|
||||
--Ignucap -Ingspice -Iprocess -Iutility
|
||||
+-Ignucap -Ingspice -Iprocess -Iutility $(shell wxgtk2u-2.6-config --cxxflags)
|
||||
|
||||
# Libraries
|
||||
-LIB := $(shell wx-config --libs)
|
||||
+LIB := $(shell wxgtk2u-2.6-config --libs)
|
||||
|
||||
# Sources & headers
|
||||
SRCS = *.cpp
|
16
cad/gspiceui/pkg-descr
Normal file
16
cad/gspiceui/pkg-descr
Normal file
@ -0,0 +1,16 @@
|
||||
This port provides a GUI for two freely available SPICE electronic circuit
|
||||
simulation engines: GNU-Cap and Ng-Spice.
|
||||
|
||||
Current features:
|
||||
Import gschem schematic files using gentlist.
|
||||
Load and parse circuit description (net list) files.
|
||||
Provides a GUI interface for GNU-Cap OP, DC, AC and Transient
|
||||
analyses and generates appropriate simulator commands
|
||||
based on user input.
|
||||
Provides a GUI interface for Ng-Spice DC, AC and Transient
|
||||
analyses and generates appropriate simulator commands
|
||||
based on user input.
|
||||
The raw output may be viewed for any processes initiated by gspiceui.
|
||||
Formatting of simulator output so that it may be plotted using gwave.
|
||||
|
||||
WWW: http://www.geda.seul.org/tools/gspiceui/index.html
|
36
cad/gspiceui/pkg-plist
Normal file
36
cad/gspiceui/pkg-plist
Normal file
@ -0,0 +1,36 @@
|
||||
bin/gspiceui
|
||||
%%MODELS%%%%DATADIR%%/lib/diode/1n914.mod
|
||||
%%MODELS%%%%DATADIR%%/lib/diode/led.mod
|
||||
%%MODELS%%%%DATADIR%%/lib/npn/bc548.mod
|
||||
%%MODELS%%%%DATADIR%%/lib/npn/bc550.mod
|
||||
%%MODELS%%%%DATADIR%%/lib/npn/tip41.mod
|
||||
%%MODELS%%%%DATADIR%%/lib/opamp/lm324.mod
|
||||
%%MODELS%%%%DATADIR%%/lib/opamp/lm358.mod
|
||||
%%MODELS%%%%DATADIR%%/lib/opamp/lm741.mod
|
||||
%%MODELS%%%%DATADIR%%/lib/opamp/lmx358.mod
|
||||
%%MODELS%%%%DATADIR%%/lib/opamp/tl071.mod
|
||||
%%MODELS%%%%DATADIR%%/lib/opamp/ua741.mod
|
||||
%%MODELS%%%%DATADIR%%/lib/pnp/2n5401.mod
|
||||
%%MODELS%%%%DATADIR%%/lib/pnp/bc558.mod
|
||||
%%MODELS%%%%DATADIR%%/lib/pnp/tip42.mod
|
||||
%%MODELS%%%%DATADIR%%/lib/reg/lm317.mod
|
||||
%%MODELS%%%%DATADIR%%/sch/amp-tce-1.sch
|
||||
%%MODELS%%%%DATADIR%%/sch/astable-npn.sch
|
||||
%%MODELS%%%%DATADIR%%/sch/astable-pnp.sch
|
||||
%%MODELS%%%%DATADIR%%/sch/filter-lp-1.sch
|
||||
%%MODELS%%%%DATADIR%%/sch/filter-lp-2.sch
|
||||
%%MODELS%%%%DATADIR%%/sch/gyrator.sch
|
||||
%%MODELS%%%%DATADIR%%/sch/opamp-lm358-1.sch
|
||||
%%MODELS%%%%DATADIR%%/sch/opamp-lm358-2.sch
|
||||
%%MODELS%%%%DATADIR%%/sch/opamp-lm741.sch
|
||||
%%MODELS%%%%DATADIR%%/sch/opamp-lmx358-1.sch
|
||||
%%MODELS%%%%DATADIR%%/sch/opamp-lmx358-2.sch
|
||||
%%MODELS%%%%DATADIR%%/sch/opamp-ua741.sch
|
||||
%%MODELS%%@dirrm %%DATADIR%%/sch
|
||||
%%MODELS%%@dirrm %%DATADIR%%/lib/diode
|
||||
%%MODELS%%@dirrm %%DATADIR%%/lib/npn
|
||||
%%MODELS%%@dirrm %%DATADIR%%/lib/opamp
|
||||
%%MODELS%%@dirrm %%DATADIR%%/lib/pnp
|
||||
%%MODELS%%@dirrm %%DATADIR%%/lib/reg
|
||||
%%MODELS%%@dirrm %%DATADIR%%/lib
|
||||
%%MODELS%%@dirrm %%DATADIR%%
|
Loading…
Reference in New Issue
Block a user