pkgsrc/cad/ng-spice/Makefile
dmcmahill b08f468e9e 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.
2000-11-14 14:28:14 +00:00

29 lines
833 B
Makefile

# $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"