[120515] trunk/dports/science/ngspice/Portfile

mf2k at macports.org mf2k at macports.org
Fri May 30 15:31:30 PDT 2014


Revision: 120515
          https://trac.macports.org/changeset/120515
Author:   mf2k at macports.org
Date:     2014-05-30 15:31:30 -0700 (Fri, 30 May 2014)
Log Message:
-----------
ngspice: Update to version 26. Add Cider support. (#37536)

Modified Paths:
--------------
    trunk/dports/science/ngspice/Portfile

Modified: trunk/dports/science/ngspice/Portfile
===================================================================
--- trunk/dports/science/ngspice/Portfile	2014-05-30 22:30:40 UTC (rev 120514)
+++ trunk/dports/science/ngspice/Portfile	2014-05-30 22:31:30 UTC (rev 120515)
@@ -4,36 +4,34 @@
 PortSystem      1.0
 
 name            ngspice
-version         24
+version         26
 license         BSD
 categories      science cad
 maintainers     nomaintainer
 platforms       darwin
-description     Circuit simulator based on Spice 3f5
+description     Circuit simulator based on Spice 3f5, XSpice and others
 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 module.
+                suite of Electronic Design Automation tools.
 
 homepage        http://ngspice.sourceforge.net/
 master_sites    sourceforge:project/ngspice/ng-spice-rework/${version}
 
-checksums       rmd160  69363d58ef69724f5ac909dcda278095b12bb8dd \
-                sha256  86d2748f6a62db2ed1c4601b24984f6698c88b910bf263ce975467bc6039f065
+checksums       rmd160  b708ef7af2f6882e04d7bb4985418b4ac0c37a3b \
+                sha256  51e230c8b720802d93747bc580c0a29d1fb530f3dd06f213b6a700ca9a4d0108
 
 set docdir      ${prefix}/share/doc/${name}
 
 if {${name} == ${subport}} {
-    depends_lib         port:libedit \
-                        port:xorg-libXaw
+    depends_lib         port:libedit
     
-    configure.args      --enable-x \
+    configure.args      --enable-cider \
                         --enable-xspice \
+                        --enable-pss \
                         --with-editline \
-                        --x-includes=${prefix}/include \
-                        --x-libraries=${prefix}/lib
+                        --enable-debug=no
     
     post-destroot {
         xinstall -d ${destroot}${docdir}
@@ -65,20 +63,19 @@
     description         PDF manual for ngspice
     long_description    ${description}
     
-    distname            ${name}${version}-manual.pdf
-    extract.suffix      .gz
-    
-    checksums           rmd160  ec9a55175ca352530565b224032b5bb04f14a51b \
-                        sha256  dfb87979f285297f1e4c7fdbfc6380cc906f408019cdb39653d8e4411bb94ac4
-    
+    distname            ${name}-${version}-manual.pdf
+    extract.suffix
     extract.only
+ 
+    checksums           rmd160  1d708851d5e1a6feb3cf9e4e40396a0215996048 \
+                        sha256  30b4fde001d012b0350aae3ba64892fb2f315d04f6761b95abd79f4b7c4cd85d
     
     use_configure       no
-    
+
     build {}
     
     destroot {
         xinstall -d ${destroot}${docdir}
-        system "gzcat ${distpath}/${distfiles} > ${destroot}${docdir}/${name}-manual.pdf"
+        xinstall -m 644 ${distpath}/${distname} ${destroot}${docdir}
     }
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140530/b55e9474/attachment.html>


More information about the macports-changes mailing list