Ticket #37536: Portfile-rrdtool.diff

File Portfile-rrdtool.diff, 6.7 KB (added by nicolati@…, 11 years ago)

Portfile Diff against NGSPICE 24

  • Portfile

    old new  
    44PortSystem      1.0
    55
    66name            ngspice
    7 version         24
     7version         25
    88license         BSD
    99categories      science cad
    1010maintainers     nomaintainer
    1111platforms       darwin
    12 description     Circuit simulator based on Spice 3f5
     12description     Circuit Simulator based on Spice 3f5
    1313long_description \
    1414                Ngspice is a mixed-level/mixed-signal circuit simulator. Its \
    1515                code is based on three open source software packages: Spice3f5, \
    1616                Cider1b1 and Xspice. Ngspice is part of gEDA project, a full \
    1717                GPL'd suite of Electronic Design Automation tools. \
    18                 Note: this port does not compile the Cider module.
     18                Note: this port compiles Cider, Xspice, Editline and the PSS Algorithm. \
     19                      It also strips the debugging symbols
    1920
    2021homepage        http://ngspice.sourceforge.net/
    2122master_sites    sourceforge:project/ngspice/ng-spice-rework/${version}
    2223
    23 checksums       rmd160  69363d58ef69724f5ac909dcda278095b12bb8dd \
    24                 sha256  86d2748f6a62db2ed1c4601b24984f6698c88b910bf263ce975467bc6039f065
     24checksums       rmd160  4079fd072a6605a8517ef5306e951a2085e9de27 \
     25                sha256  d000bbb978db846ff6df7ce327d8194abe046fdd5c93e7cba23c484137ef140e
    2526
    2627set docdir      ${prefix}/share/doc/${name}
    2728
    2829if {${name} == ${subport}} {
    29     depends_lib         port:libedit \
     30    depends_lib         port:bison \
     31                        port:flex \
     32                        port:libedit \
     33                        port:ncurses \
    3034                        port:xorg-libXaw
    31    
    32     configure.args      --enable-x \
     35
     36    configure.compiler  gcc
     37
     38    configure.args      --enable-cider \
    3339                        --enable-xspice \
     40                        --enable-openmp \
     41                        --enable-pss \
    3442                        --with-editline \
    35                         --x-includes=${prefix}/include \
    36                         --x-libraries=${prefix}/lib
    37    
     43                        --enable-debug=no
     44
    3845    post-destroot {
    3946        xinstall -d ${destroot}${docdir}
    4047        xinstall -m 644 -W ${worksrcpath} \
     
    4956            README \
    5057            Stuarts_Poly_Notes \
    5158            ${destroot}${docdir}
     59
     60        xinstall -d ${destroot}${prefix}/share/${name}/examples
     61        system "cp -r ${worksrcpath}/examples/cider ${destroot}${prefix}/share/${name}/examples"
     62        system "cp -r ${worksrcpath}/examples/control_structs ${destroot}${prefix}/share/${name}/examples"
     63        system "cp -r ${worksrcpath}/examples/measure ${destroot}${prefix}/share/${name}/examples"
     64        system "cp -r ${worksrcpath}/examples/memristor ${destroot}${prefix}/share/${name}/examples"
     65        system "cp -r ${worksrcpath}/examples/Monte_Carlo ${destroot}${prefix}/share/${name}/examples"
     66        system "cp -r ${worksrcpath}/examples/numparam ${destroot}${prefix}/share/${name}/examples"
     67        system "cp -r ${worksrcpath}/examples/pss ${destroot}${prefix}/share/${name}/examples"
     68        system "cp -r ${worksrcpath}/examples/snapshot ${destroot}${prefix}/share/${name}/examples"
     69        system "cp -r ${worksrcpath}/examples/transient-noise ${destroot}${prefix}/share/${name}/examples"
     70        system "cp -r ${worksrcpath}/examples/TransImpedanceAmp ${destroot}${prefix}/share/${name}/examples"
     71        system "cp -r ${worksrcpath}/examples/TransmissionLines ${destroot}${prefix}/share/${name}/examples"
     72        system "cp -r ${worksrcpath}/examples/various ${destroot}${prefix}/share/${name}/examples"
     73        system "cp -r ${worksrcpath}/examples/xspice ${destroot}${prefix}/share/${name}/examples"
     74
     75        xinstall -d ${destroot}${prefix}/share/${name}/tests
     76        system "cp -r ${worksrcpath}/tests/bsim1 ${destroot}${prefix}/share/${name}/tests"
     77        system "cp -r ${worksrcpath}/tests/bsim2 ${destroot}${prefix}/share/${name}/tests"
     78        system "cp -r ${worksrcpath}/tests/bsim3 ${destroot}${prefix}/share/${name}/tests"
     79        system "cp -r ${worksrcpath}/tests/bsim3soidd ${destroot}${prefix}/share/${name}/tests"
     80        system "cp -r ${worksrcpath}/tests/bsim3soifd ${destroot}${prefix}/share/${name}/tests"
     81        system "cp -r ${worksrcpath}/tests/bsim3soipd ${destroot}${prefix}/share/${name}/tests"
     82        system "cp -r ${worksrcpath}/tests/bsim4 ${destroot}${prefix}/share/${name}/tests"
     83        system "cp -r ${worksrcpath}/tests/bsimsoi ${destroot}${prefix}/share/${name}/tests"
     84        system "cp -r ${worksrcpath}/tests/filters ${destroot}${prefix}/share/${name}/tests"
     85        system "cp -r ${worksrcpath}/tests/general ${destroot}${prefix}/share/${name}/tests"
     86        system "cp -r ${worksrcpath}/tests/hfet ${destroot}${prefix}/share/${name}/tests"
     87        system "cp -r ${worksrcpath}/tests/hisim ${destroot}${prefix}/share/${name}/tests"
     88        system "cp -r ${worksrcpath}/tests/jfet ${destroot}${prefix}/share/${name}/tests"
     89        system "cp -r ${worksrcpath}/tests/mes ${destroot}${prefix}/share/${name}/tests"
     90        system "cp -r ${worksrcpath}/tests/mesa ${destroot}${prefix}/share/${name}/tests"
     91        system "cp -r ${worksrcpath}/tests/mos6 ${destroot}${prefix}/share/${name}/tests"
     92        system "cp -r ${worksrcpath}/tests/polezero ${destroot}${prefix}/share/${name}/tests"
     93        system "cp -r ${worksrcpath}/tests/resistance ${destroot}${prefix}/share/${name}/tests"
     94        system "cp -r ${worksrcpath}/tests/sensitivity ${destroot}${prefix}/share/${name}/tests"
     95        system "cp -r ${worksrcpath}/tests/transient ${destroot}${prefix}/share/${name}/tests"
     96        system "cp -r ${worksrcpath}/tests/transmission ${destroot}${prefix}/share/${name}/tests"
     97        system "cp -r ${worksrcpath}/tests/vbic ${destroot}${prefix}/share/${name}/tests"
     98        system "cp -r ${worksrcpath}/tests/xspice ${destroot}${prefix}/share/${name}/tests"
     99        system "cp ${worksrcpath}/tests/README ${destroot}${prefix}/share/${name}/tests"
    52100    }
    53101   
    54102    variant manual description {Legacy compatibility variant} {
     
    65113    description         PDF manual for ngspice
    66114    long_description    ${description}
    67115   
    68     distname            ${name}${version}-manual.pdf
     116    distname            ${name}-${version}-manual.pdf
    69117    extract.suffix      .gz
    70118   
    71     checksums           rmd160  ec9a55175ca352530565b224032b5bb04f14a51b \
    72                         sha256  dfb87979f285297f1e4c7fdbfc6380cc906f408019cdb39653d8e4411bb94ac4
     119    checksums           rmd160  9cbf607ca18626b2b3161a8168d052e7417b28b8 \
     120                        sha256  fd8771ccb8756dda85173a6123de828dd0eb7a79ee0ee6bcbcc1e1f966acde29
    73121   
    74122    extract.only
    75123