1 | # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 |
---|
2 | # $Id: Portfile 73756 2010-11-24 09:06:38Z and.damore@macports.org $ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | |
---|
6 | name ng-spice |
---|
7 | version 21 |
---|
8 | categories science cad |
---|
9 | maintainers nomaintainer |
---|
10 | platforms darwin |
---|
11 | description Circuit simulator based on Spice 3f5 |
---|
12 | long_description \ |
---|
13 | Ngspice is a mixed-level/mixed-signal circuit simulator. Its \ |
---|
14 | code is based on three open source software packages: Spice3f5, \ |
---|
15 | Cider1b1 and Xspice. Ngspice is part of gEDA project, a full \ |
---|
16 | GPL'd suite of Electronic Design Automation tools. \ |
---|
17 | Note: this port does not compile the Cider and Xspice modules. |
---|
18 | |
---|
19 | homepage http://ngspice.sourceforge.net/ |
---|
20 | master_sites sourceforge:ngspice |
---|
21 | |
---|
22 | distname ${name}-rework-${version} |
---|
23 | |
---|
24 | checksums md5 68ae18d4c1f7312a1b8e7a5c0858b146 \ |
---|
25 | sha1 4a66885b0de2333c0d07cefc6af41b557c46ffde \ |
---|
26 | rmd160 f48bc6549a08cc9c3e0886fd4e09ff46debf86dc |
---|
27 | |
---|
28 | worksrcdir ngspice-${version} |
---|
29 | |
---|
30 | depends_lib port:xorg-libXaw |
---|
31 | |
---|
32 | configure.args --x-includes=${prefix}/include \ |
---|
33 | --x-libraries=${prefix}/lib \ |
---|
34 | --with-editline=yes \ |
---|
35 | --enable-x \ |
---|
36 | |
---|
37 | livecheck.type regex |
---|
38 | livecheck.url http://sourceforge.net/projects/ngspice/files/ |
---|
39 | livecheck.regex "${name}-rework-(\\d+)${extract.suffix}" |
---|
40 | |
---|
41 | variant xspice description {Adds Xspice code model support, including spice2poly} { |
---|
42 | configure.args-append \ |
---|
43 | --enable-xspice |
---|
44 | } |
---|