Ticket #47686: Portfile.diff

File Portfile.diff, 1.8 KB (added by jpo@…, 9 years ago)
  • Portfile

    old new  
    44PortSystem          1.0
    55
    66name                iverilog
    7 version             0.9.6
     7version             0.9.7
    88set branch          [join [lrange [split ${version} .] 0 1] .]
    99categories          science
    1010license             GPL-2+
     
    2626master_sites        ftp://ftp.icarus.com/pub/eda/verilog/v${branch}/
    2727distname            verilog-${version}
    2828
    29 checksums           rmd160  19c422fbb2b0834a7408a5d549015f604dd3cabe \
    30                     sha256  25304d5d58d6411fcd1ab94992a505215eea5a6bbd9779c2be2d9d19f38cd54a
     29checksums           rmd160  3bac03ca703465a43c5a0a8175a3d27ee00f49a7 \
     30                    sha256  7a5e72e17bfb4c3a59264d8f3cc4e70a7c49c1307173348fdd44e079388e7454
    3131
    3232depends_lib         port:bzip2 \
    3333                    port:readline \
     
    4141post-destroot {
    4242    set docdir ${destroot}${prefix}/share/doc/${name}
    4343    xinstall -d ${docdir}
    44     xinstall -W ${worksrcpath} \
    45         BUGS.txt developer-quick-start.txt lpm.txt t-dll.txt \
    46         QUICK_START.txt extensions.txt macosx.txt va_math.txt \
    47         README.txt glossary.txt mingw.txt vpi.txt \
    48         attributes.txt ieee1364-notes.txt netlist.txt \
    49         xilinx-hint.txt ivl_target.txt swift.txt \
     44    file copy ${worksrcpath}/examples ${docdir}
     45    xinstall -m 644 {*}[glob ${worksrcpath}/*.txt] ${docdir}
     46    xinstall -d ${docdir}/vvp
     47    xinstall -m 644 {*}[glob ${worksrcpath}/vvp/*.txt] ${docdir}/vvp
     48    xinstall -m 644 -W ${worksrcpath} cadpli/cadpli.txt ivlpp/ivlpp.txt \
    5049        ${docdir}
    51 
    52     set exampledir ${destroot}${prefix}/share/example
    53     xinstall -d ${exampledir}
    54     file copy ${worksrcpath}/examples ${exampledir}
    55     file rename ${exampledir}/examples ${exampledir}/${name}
    5650}
    5751
    5852platform darwin 8 {