summaryrefslogtreecommitdiff
path: root/cad/ng-spice/Makefile
diff options
context:
space:
mode:
authordmcmahill <dmcmahill@pkgsrc.org>2000-11-14 14:28:14 +0000
committerdmcmahill <dmcmahill@pkgsrc.org>2000-11-14 14:28:14 +0000
commitb08f468e9e32ba91cfeecec313f422e6608fa373 (patch)
treea69710cb15bc3dc72908d33829708cc06ac98509 /cad/ng-spice/Makefile
parent206f78f7bf1cbe1ee0df5e1c9ce22abace0327b7 (diff)
downloadpkgsrc-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.
Diffstat (limited to 'cad/ng-spice/Makefile')
-rw-r--r--cad/ng-spice/Makefile29
1 files changed, 29 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"