diff options
author | dmcmahill <dmcmahill@pkgsrc.org> | 2000-11-14 14:28:14 +0000 |
---|---|---|
committer | dmcmahill <dmcmahill@pkgsrc.org> | 2000-11-14 14:28:14 +0000 |
commit | b08f468e9e32ba91cfeecec313f422e6608fa373 (patch) | |
tree | a69710cb15bc3dc72908d33829708cc06ac98509 | |
parent | 206f78f7bf1cbe1ee0df5e1c9ce22abace0327b7 (diff) | |
download | pkgsrc-b08f468e9e32ba91cfeecec313f422e6608fa373.tar.gz |
initial import of ng-spice-13.
NG-SPICE is the program being developed as the replacement for Berkeley
SPICE. Using the Berkeley code as a starting point, the NG-SPICE team
is working on improving the build system, adding to the models, and
improving the analysis capability.
SPICE is a general-purpose circuit simulation program for nonlinear dc,
nonlinear transient, and linear ac analyses. Circuits may contain resistors,
capacitors, inductors, mutual inductors, independent voltage and current
sources, four types of dependent sources, lossless and lossy transmission
lines (two separate implementations), switches, uniform distributed RC
lines, and the five most common semiconductor devices: diodes, BJTs, JFETs,
MESFETs, and MOSFETs.
-rw-r--r-- | cad/ng-spice/Makefile | 29 | ||||
-rw-r--r-- | cad/ng-spice/files/md5 | 3 | ||||
-rw-r--r-- | cad/ng-spice/files/patch-sum | 7 | ||||
-rw-r--r-- | cad/ng-spice/patches/patch-aa | 13 | ||||
-rw-r--r-- | cad/ng-spice/patches/patch-ab | 10 | ||||
-rw-r--r-- | cad/ng-spice/patches/patch-ac | 46 | ||||
-rw-r--r-- | cad/ng-spice/patches/patch-ad | 11 | ||||
-rw-r--r-- | cad/ng-spice/patches/patch-ae | 11 | ||||
-rw-r--r-- | cad/ng-spice/pkg/COMMENT | 1 | ||||
-rw-r--r-- | cad/ng-spice/pkg/DESCR | 14 | ||||
-rw-r--r-- | cad/ng-spice/pkg/PLIST | 120 |
11 files changed, 265 insertions, 0 deletions
diff --git a/cad/ng-spice/Makefile b/cad/ng-spice/Makefile new file mode 100644 index 00000000000..553d5314af3 --- /dev/null +++ b/cad/ng-spice/Makefile @@ -0,0 +1,29 @@ +# $NetBSD: Makefile,v 1.1.1.1 2000/11/14 14:28:14 dmcmahill Exp $ +# + +DISTNAME= ng-spice-rework-13 +PKGNAME= ng-spice-13 +CATEGORIES= cad +MASTER_SITES= ftp://ieee.ing.uniroma1.it/pub/ng-spice/distribution/ + +MAINTAINER= dmcmahill@netbsd.org +HOMEPAGE= http://ieee.ing.uniroma1.it/ngspice/ + +.if !exists(/usr/include/getopt.h) +DEPENDS+= libgetopt-*:../../devel/libgetopt +LDFLAGS+= -Wl,-R${LOCALBASE}/lib -L${LOCALBASE}/lib -lgetopt +CPPFLAGS+= -I${LOCALBASE}/include +.endif + +USE_LIBTOOL= YES +LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig +USE_CURSES= YES +REPLACE_NCURSES= configure configure.in +GNU_CONFIGURE= yes +CONFIGURE_ARGS+= --disable-debug +LDFLAGS+= -Wl,-R${X11BASE}/lib -L${X11BASE}/lib +CONFIGURE_ENV+= LDFLAGS+="${LDFLAGS}" CPPFLAGS="${CPPFLAGS}" + +CONFLICTS+= spice-* + +.include "../../mk/bsd.pkg.mk" diff --git a/cad/ng-spice/files/md5 b/cad/ng-spice/files/md5 new file mode 100644 index 00000000000..494a9a91b6e --- /dev/null +++ b/cad/ng-spice/files/md5 @@ -0,0 +1,3 @@ +$NetBSD: md5,v 1.1.1.1 2000/11/14 14:28:14 dmcmahill Exp $ + +MD5 (ng-spice-rework-13.tar.gz) = 5b5f992d857ab171c688603e383137ca diff --git a/cad/ng-spice/files/patch-sum b/cad/ng-spice/files/patch-sum new file mode 100644 index 00000000000..d7649d2333e --- /dev/null +++ b/cad/ng-spice/files/patch-sum @@ -0,0 +1,7 @@ +$NetBSD: patch-sum,v 1.1.1.1 2000/11/14 14:28:14 dmcmahill Exp $ + +MD5 (patch-aa) = 6b8210dda8872d527fdbfc2c2cca69c3 +MD5 (patch-ab) = 8a75770b8491831b01b45e52b85dd516 +MD5 (patch-ac) = 727424a911921d2d41bc69e22bbc96c3 +MD5 (patch-ad) = 3ab136624bd21d8497f0fd34dc171585 +MD5 (patch-ae) = 9cea25771b738fd5c265e579566be4eb diff --git a/cad/ng-spice/patches/patch-aa b/cad/ng-spice/patches/patch-aa new file mode 100644 index 00000000000..9a01a49f2d2 --- /dev/null +++ b/cad/ng-spice/patches/patch-aa @@ -0,0 +1,13 @@ +$NetBSD: patch-aa,v 1.1.1.1 2000/11/14 14:28:14 dmcmahill Exp $ + +--- src/include/ngspice.h.orig Sun Oct 15 03:48:57 2000 ++++ src/include/ngspice.h Sat Nov 11 12:20:12 2000 +@@ -13,4 +13,8 @@ + #include <stddef.h> + ++#ifdef HAVE_LIMITS_H ++# include <machine/limits.h> ++#endif ++ + #include "memory.h" + #include "defines.h" diff --git a/cad/ng-spice/patches/patch-ab b/cad/ng-spice/patches/patch-ab new file mode 100644 index 00000000000..2843a93451a --- /dev/null +++ b/cad/ng-spice/patches/patch-ab @@ -0,0 +1,10 @@ +$NetBSD: patch-ab,v 1.1.1.1 2000/11/14 14:28:14 dmcmahill Exp $ + +--- ./src/maths/cmaths/test_cx_ph.c.orig Sun Oct 15 03:49:18 2000 ++++ ./src/maths/cmaths/test_cx_ph.c Sat Nov 11 13:04:33 2000 +@@ -1,4 +1,5 @@ + #include <stdio.h> + #include <math.h> ++#include <float.h> + + #include <config.h> diff --git a/cad/ng-spice/patches/patch-ac b/cad/ng-spice/patches/patch-ac new file mode 100644 index 00000000000..7061368959c --- /dev/null +++ b/cad/ng-spice/patches/patch-ac @@ -0,0 +1,46 @@ +$NetBSD: patch-ac,v 1.1.1.1 2000/11/14 14:28:14 dmcmahill Exp $ + +--- src/frontend/parser/complete.c.orig Wed Oct 25 13:30:06 2000 ++++ src/frontend/parser/complete.c Sat Nov 11 13:56:56 2000 +@@ -415,4 +415,9 @@ + # ifdef HAVE_TERMIOS_H + ++# ifdef __NetBSD__ ++# define TCGETS ++# define TCSETS ++# endif ++ + # define TERM_GET TCGETS + # define TERM_SET TCSETS +@@ -423,5 +428,5 @@ + # endif + +-# ifdef TERM_GET ++# if defined(TERM_GET) || defined(__NetBSD__) + static bool ison = FALSE; + +@@ -431,12 +436,24 @@ + + if (ison == TRUE) { ++#ifdef __NetBSD__ ++ tcgetattr(fileno(cp_in),&OS_Buf); ++#else + (void) ioctl(fileno(cp_in), TERM_GET, (char *) &OS_Buf); ++#endif + sbuf = OS_Buf; + sbuf.c_cc[VEOF] = 0; + sbuf.c_cc[VEOL] = ESCAPE; + sbuf.c_cc[VEOL2] = CNTRL_D; ++#ifdef __NetBSD__ ++ tcsetattr(fileno(cp_in),TCSANOW,&sbuf); ++#else + (void) ioctl(fileno(cp_in), TERM_SET, (char *) &sbuf); ++#endif + } else { ++#ifdef __NetBSD__ ++ tcsetattr(fileno(cp_in),TCSANOW,&OS_Buf); ++#else + (void) ioctl(fileno(cp_in), TERM_SET, (char *) &OS_Buf); ++#endif + } + diff --git a/cad/ng-spice/patches/patch-ad b/cad/ng-spice/patches/patch-ad new file mode 100644 index 00000000000..1d39fee79ea --- /dev/null +++ b/cad/ng-spice/patches/patch-ad @@ -0,0 +1,11 @@ +$NetBSD: patch-ad,v 1.1.1.1 2000/11/14 14:28:14 dmcmahill Exp $ + +--- configure.in.orig Wed Nov 1 17:18:01 2000 ++++ configure.in Sat Nov 11 18:25:41 2000 +@@ -174,5 +174,5 @@ + + AC_DEFINE_UNQUOTED(NGSPICEBINDIR, "`echo $dprefix/bin`" ) +-AC_DEFINE_UNQUOTED(NGSPICEDATADIR, "`echo $dprefix/share/ng-spice`" ) ++AC_DEFINE_UNQUOTED(NGSPICEDATADIR, "`echo $dprefix/share/ng-spice-rework`" ) + AC_DEFINE_UNQUOTED(NGSPICEBUILDDATE, "`date`" ) + diff --git a/cad/ng-spice/patches/patch-ae b/cad/ng-spice/patches/patch-ae new file mode 100644 index 00000000000..8c4f7eca12d --- /dev/null +++ b/cad/ng-spice/patches/patch-ae @@ -0,0 +1,11 @@ +$NetBSD: patch-ae,v 1.1.1.1 2000/11/14 14:28:14 dmcmahill Exp $ + +--- configure.orig Sun Nov 5 12:25:24 2000 ++++ configure Sat Nov 11 18:27:40 2000 +@@ -4288,5 +4288,5 @@ + + cat >> confdefs.h <<EOF +-#define NGSPICEDATADIR "`echo $dprefix/share/ng-spice`" ++#define NGSPICEDATADIR "`echo $dprefix/share/ng-spice-rework`" + EOF + diff --git a/cad/ng-spice/pkg/COMMENT b/cad/ng-spice/pkg/COMMENT new file mode 100644 index 00000000000..93696412936 --- /dev/null +++ b/cad/ng-spice/pkg/COMMENT @@ -0,0 +1 @@ +Next generation circuit simulation program diff --git a/cad/ng-spice/pkg/DESCR b/cad/ng-spice/pkg/DESCR new file mode 100644 index 00000000000..d5e01630fac --- /dev/null +++ b/cad/ng-spice/pkg/DESCR @@ -0,0 +1,14 @@ +NG-SPICE is the program being developed as the replacement for Berkeley +SPICE. Using the Berkeley code as a starting point, the NG-SPICE team +is working on improving the build system, adding to the models, and +improving the analysis capability. + +SPICE is a general-purpose circuit simulation program for nonlinear dc, +nonlinear transient, and linear ac analyses. Circuits may contain resistors, +capacitors, inductors, mutual inductors, independent voltage and current +sources, four types of dependent sources, lossless and lossy transmission +lines (two separate implementations), switches, uniform distributed RC +lines, and the five most common semiconductor devices: diodes, BJTs, JFETs, +MESFETs, and MOSFETs. + +NG-SPICE is part of the gEDA project. diff --git a/cad/ng-spice/pkg/PLIST b/cad/ng-spice/pkg/PLIST new file mode 100644 index 00000000000..95b6e420e03 --- /dev/null +++ b/cad/ng-spice/pkg/PLIST @@ -0,0 +1,120 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2000/11/14 14:28:14 dmcmahill Exp $ +bin/help +bin/makeidx +bin/multidec +bin/ngspice +bin/nutmeg +bin/proc2mod +bin/sconvert +bin/test_cx_j +bin/test_cx_mag +bin/test_cx_ph +@unexec install-info --delete --info-dir=%D/info %D/info/ngspice.info +info/ngspice.info +info/ngspice.info-1 +info/ngspice.info-2 +info/ngspice.info-3 +info/ngspice.info-4 +info/ngspice.info-5 +info/ngspice.info-6 +info/ngspice.info-7 +@exec install-info --info-dir=%D/info %D/info/ngspice.info +lib/libdev.a +lib/ng-spice-rework/libasrc.a +lib/ng-spice-rework/libasrc.la +lib/ng-spice-rework/libasrc.so.0.0 +lib/ng-spice-rework/libbjt.a +lib/ng-spice-rework/libbjt.la +lib/ng-spice-rework/libbjt.so.0.0 +lib/ng-spice-rework/libbsim1.a +lib/ng-spice-rework/libbsim1.la +lib/ng-spice-rework/libbsim1.so.0.0 +lib/ng-spice-rework/libbsim2.a +lib/ng-spice-rework/libbsim2.la +lib/ng-spice-rework/libbsim2.so.0.0 +lib/ng-spice-rework/libbsim3.a +lib/ng-spice-rework/libbsim3.la +lib/ng-spice-rework/libbsim3.so.0.0 +lib/ng-spice-rework/libbsim3v1.a +lib/ng-spice-rework/libbsim3v1.la +lib/ng-spice-rework/libbsim3v1.so.0.0 +lib/ng-spice-rework/libbsim3v2.a +lib/ng-spice-rework/libbsim3v2.la +lib/ng-spice-rework/libbsim3v2.so.0.0 +lib/ng-spice-rework/libbsim4.a +lib/ng-spice-rework/libbsim4.la +lib/ng-spice-rework/libbsim4.so.0.0 +lib/ng-spice-rework/libcap.a +lib/ng-spice-rework/libcap.la +lib/ng-spice-rework/libcap.so.0.0 +lib/ng-spice-rework/libcccs.a +lib/ng-spice-rework/libcccs.la +lib/ng-spice-rework/libcccs.so.0.0 +lib/ng-spice-rework/libccvs.a +lib/ng-spice-rework/libccvs.la +lib/ng-spice-rework/libccvs.so.0.0 +lib/ng-spice-rework/libcsw.a +lib/ng-spice-rework/libcsw.la +lib/ng-spice-rework/libcsw.so.0.0 +lib/ng-spice-rework/libdio.a +lib/ng-spice-rework/libdio.la +lib/ng-spice-rework/libdio.so.0.0 +lib/ng-spice-rework/libind.a +lib/ng-spice-rework/libind.la +lib/ng-spice-rework/libind.so.0.0 +lib/ng-spice-rework/libisrc.a +lib/ng-spice-rework/libisrc.la +lib/ng-spice-rework/libisrc.so.0.0 +lib/ng-spice-rework/libjfet.a +lib/ng-spice-rework/libjfet.la +lib/ng-spice-rework/libjfet.so.0.0 +lib/ng-spice-rework/libjfet2.a +lib/ng-spice-rework/libjfet2.la +lib/ng-spice-rework/libjfet2.so.0.0 +lib/ng-spice-rework/libltra.a +lib/ng-spice-rework/libltra.la +lib/ng-spice-rework/libltra.so.0.0 +lib/ng-spice-rework/libmes.a +lib/ng-spice-rework/libmes.la +lib/ng-spice-rework/libmes.so.0.0 +lib/ng-spice-rework/libmos1.a +lib/ng-spice-rework/libmos1.la +lib/ng-spice-rework/libmos1.so.0.0 +lib/ng-spice-rework/libmos2.a +lib/ng-spice-rework/libmos2.la +lib/ng-spice-rework/libmos2.so.0.0 +lib/ng-spice-rework/libmos3.a +lib/ng-spice-rework/libmos3.la +lib/ng-spice-rework/libmos3.so.0.0 +lib/ng-spice-rework/libmos6.a +lib/ng-spice-rework/libmos6.la +lib/ng-spice-rework/libmos6.so.0.0 +lib/ng-spice-rework/libres.a +lib/ng-spice-rework/libres.la +lib/ng-spice-rework/libres.so.0.0 +lib/ng-spice-rework/libsw.a +lib/ng-spice-rework/libsw.la +lib/ng-spice-rework/libsw.so.0.0 +lib/ng-spice-rework/libtra.a +lib/ng-spice-rework/libtra.la +lib/ng-spice-rework/libtra.so.0.0 +lib/ng-spice-rework/liburc.a +lib/ng-spice-rework/liburc.la +lib/ng-spice-rework/liburc.so.0.0 +lib/ng-spice-rework/libvccs.a +lib/ng-spice-rework/libvccs.la +lib/ng-spice-rework/libvccs.so.0.0 +lib/ng-spice-rework/libvcvs.a +lib/ng-spice-rework/libvcvs.la +lib/ng-spice-rework/libvcvs.so.0.0 +lib/ng-spice-rework/libvsrc.a +lib/ng-spice-rework/libvsrc.la +lib/ng-spice-rework/libvsrc.so.0.0 +man/man1/nutmeg.1 +man/man1/sconvert.1 +man/man1/spice.1 +share/ng-spice-rework/helpdir/ngspice.idx +share/ng-spice-rework/helpdir/ngspice.txt +@dirrm share/ng-spice-rework/helpdir +@dirrm share/ng-spice-rework +@dirrm lib/ng-spice-rework |