# $Id: Portfile 67126 2010-04-29 21:26:41Z and.damore@macports.org $

PortSystem      1.0
name	    	ng-spice
version	    	20
revision    	0
categories	    science cad
maintainers     nomaintainer
platforms       darwin
description	    Circuit simulator based on Spice 3f5
long_description    Ngspice is a mixed-level/mixed-signal circuit simulator. Its \
                code is based on three open source software packages: Spice3f5, \
                Cider1b1 and Xspice. Ngspice is part of gEDA project, a full \
                GPL'd suite of Electronic Design Automation tools. \
                Note: this port does not compile the Cider and Xspice modules.

homepage    	http://ngspice.sourceforge.net/
master_sites	sourceforge:ngspice

distname	    ${name}-rework-${version}
checksums       md5     81bc667a4190ef31081a6957d3c7f7b5 \
                sha1    870d69b88d6cc0d83a8a0416a6782a4abd296de0 \
                rmd160  73eff9cd601253523816a7c8a93e88a795ce96bb

worksrcdir	    ngspice-${version}

depends_lib     port:xorg-libXaw

configure.args	--mandir=${prefix}/share/man \
      		    --infodir=${prefix}/share/info \
		        --with-editline=yes \
		        --enable-x

