pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

ng-spice-dev: wip package to track latest developments in ngspice



Module Name:	pkgsrc-wip
Committed By:	mayuresh <mayuresh%acm.org@localhost>
Pushed By:	mayuresh
Date:		Thu Dec 12 21:19:01 2024 +0530
Changeset:	d2cc0f02c1fdbb4f6b5cc206d9791dcdccc210de

Added Files:
	ng-spice-dev/COMMIT_MSG
	ng-spice-dev/DESCR
	ng-spice-dev/Makefile
	ng-spice-dev/Makefile.common
	ng-spice-dev/PLIST
	ng-spice-dev/distinfo

Log Message:
ng-spice-dev: wip package to track latest developments in ngspice

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=d2cc0f02c1fdbb4f6b5cc206d9791dcdccc210de

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 ng-spice-dev/COMMIT_MSG      |  5 +++++
 ng-spice-dev/DESCR           | 14 ++++++++++++++
 ng-spice-dev/Makefile        | 26 ++++++++++++++++++++++++++
 ng-spice-dev/Makefile.common | 31 +++++++++++++++++++++++++++++++
 ng-spice-dev/PLIST           | 18 ++++++++++++++++++
 ng-spice-dev/distinfo        |  5 +++++
 6 files changed, 99 insertions(+)

diffs:
diff --git a/ng-spice-dev/COMMIT_MSG b/ng-spice-dev/COMMIT_MSG
new file mode 100644
index 0000000000..fb450ddb39
--- /dev/null
+++ b/ng-spice-dev/COMMIT_MSG
@@ -0,0 +1,5 @@
+cad/ng-spice: Update to version 43
+Update prepared in wip by Mayuresh <mayuresh%acm.org@localhost>
+
+See ChangeLog for details:
+https://github.com/ngspice/ngspice/blob/master/ChangeLog
diff --git a/ng-spice-dev/DESCR b/ng-spice-dev/DESCR
new file mode 100644
index 0000000000..d06080505a
--- /dev/null
+++ b/ng-spice-dev/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/ng-spice-dev/Makefile b/ng-spice-dev/Makefile
new file mode 100644
index 0000000000..8ca6c13648
--- /dev/null
+++ b/ng-spice-dev/Makefile
@@ -0,0 +1,26 @@
+# $NetBSD: Makefile,v 1.51 2023/11/12 13:20:47 wiz Exp $
+
+.include "../../wip/ng-spice-dev/Makefile.common"
+
+PKGNAME=	ng-spice-${VERSION}
+COMMENT=	Next generation circuit simulation program
+USE_TOOLS+=	makeinfo
+
+CONFIGURE_ARGS+=	--with-readline=yes
+LIBS+=			${BUILDLINK_LDADD.getopt}
+
+INFO_FILES=	yes
+TEXINFO_REQD+=	4.6
+
+BUILDLINK_TRANSFORM.NetBSD+=	rm:-ldl
+
+.include "../../devel/libgetopt/buildlink3.mk"
+# uses rl_* interface
+.include "../../fonts/fontconfig/buildlink3.mk"
+.include "../../graphics/freetype2/buildlink3.mk"
+.include "../../math/fftw/buildlink3.mk"
+.include "../../x11/libICE/buildlink3.mk"
+.include "../../x11/libXaw/buildlink3.mk"
+.include "../../x11/libXft/buildlink3.mk"
+.include "../../x11/libXmu/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/ng-spice-dev/Makefile.common b/ng-spice-dev/Makefile.common
new file mode 100644
index 0000000000..dceb2af2be
--- /dev/null
+++ b/ng-spice-dev/Makefile.common
@@ -0,0 +1,31 @@
+# $NetBSD: Makefile.common,v 1.4 2024/08/05 13:11:06 tnn Exp $
+#
+# used by can/ng-spice
+# used by can/ng-spice-shared
+# used by wip/ng-spice-shared-dev/Makefile
+
+VERSION=	43
+DISTNAME=	ngspice-${VERSION}
+CATEGORIES=	cad
+MASTER_SITES=	${MASTER_SITE_SOURCEFORGE:=ngspice/}
+
+DISTINFO_FILE=	${.CURDIR}/../../cad/ng-spice/distinfo
+
+MAINTAINER=	dmcmahill%NetBSD.org@localhost
+HOMEPAGE=	http://ngspice.sourceforge.net/
+LICENSE=	modified-bsd AND gnu-lgpl-v2.1 AND gnu-gpl-v2 AND mpl-2.0
+
+USE_LIBTOOL=	YES
+USE_TOOLS+=	gmake
+USE_LANGUAGES=	c c++
+GCC_REQD+=	12
+
+GNU_CONFIGURE=		YES
+CONFIGURE_ARGS+=	--disable-debug
+
+CFLAGS.Linux+=		-D_POSIX_C_SOURCE=200809L       # fileno(3)
+CFLAGS.Linux+=		-fopenmp
+# should be _XOPEN_SOURCE, but glibc hides usleep with _POSIX_C_SOURCE.
+CFLAGS.Linux+=		-D_DEFAULT_SOURCE=1             # usleep(3)
+
+.include "../../devel/readline/buildlink3.mk"
diff --git a/ng-spice-dev/PLIST b/ng-spice-dev/PLIST
new file mode 100644
index 0000000000..871827141f
--- /dev/null
+++ b/ng-spice-dev/PLIST
@@ -0,0 +1,18 @@
+@comment $NetBSD$
+bin/ngspice
+lib/ngspice/analog.cm
+lib/ngspice/digital.cm
+lib/ngspice/spice2poly.cm
+lib/ngspice/table.cm
+lib/ngspice/xtradev.cm
+lib/ngspice/xtraevt.cm
+man/man1/ngspice.1
+share/ngspice/scripts/setplot
+share/ngspice/scripts/spectrum
+share/ngspice/scripts/spinit
+share/ngspice/scripts/src/ngspice/cmtypes.h
+share/ngspice/scripts/src/ngspice/cosim.h
+share/ngspice/scripts/src/ngspice/miftypes.h
+share/ngspice/scripts/src/verilator_main.cpp
+share/ngspice/scripts/src/verilator_shim.cpp
+share/ngspice/scripts/vlnggen
diff --git a/ng-spice-dev/distinfo b/ng-spice-dev/distinfo
new file mode 100644
index 0000000000..85ee4c7eee
--- /dev/null
+++ b/ng-spice-dev/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.21 2023/06/06 09:54:12 bouyer Exp $
+
+BLAKE2s (ngspice-43.tar.gz) = 455a8db3f1691d9e5701e8f423d673e30336492d75ec7a9e867f201ad686af42
+SHA512 (ngspice-43.tar.gz) = ad938e6ea8f9874c04d1033599bf39d3728e763fbd42ba77bd036b6c00271600695b3656f3f34547c39153382f55e7d7d5d6cb732f272d149cdbe21988c0d636
+Size (ngspice-43.tar.gz) = 10279606 bytes


Home | Main Index | Thread Index | Old Index