source: trunk/dports/science/iverilog/Portfile @ 97555

Last change on this file since 97555 was 97555, checked in by ryandesign@…, 8 years ago

iverilog: update to 0.9.6 (#36056)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.4 KB
Line 
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 97555 2012-09-09 03:43:15Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                iverilog
7version             0.9.6
8set branch          [join [lrange [split ${version} .] 0 1] .]
9categories          science
10license             GPL-2+
11platforms           darwin
12maintainers         nomaintainer
13
14description         Icarus Verilog
15
16long_description    Icarus Verilog is a Verilog simulation and synthesis tool. \
17                    It operates as a compiler, compiling source code writen in \
18                    Verilog (IEEE-1364) into some target format. For batch \
19                    simulation, the compiler can generate C++ code that is \
20                    compiled and linked with a run time library (called \
21                    \"vvm\") then executed as a command to run the simulation. \
22                    For synthesis, the compiler generates netlists in the \
23                    desired format.
24
25homepage            http://iverilog.icarus.com/
26master_sites        ftp://ftp.icarus.com/pub/eda/verilog/v${branch}/
27distname            verilog-${version}
28
29checksums           rmd160  19c422fbb2b0834a7408a5d549015f604dd3cabe \
30                    sha256  25304d5d58d6411fcd1ab94992a505215eea5a6bbd9779c2be2d9d19f38cd54a
31
32depends_lib         port:bzip2 \
33                    port:readline \
34                    port:zlib
35
36test.run            yes
37test.target         check
38
39destroot.destdir    prefix=${destroot}${prefix}
40
41post-destroot {
42    set docdir ${destroot}${prefix}/share/doc/${name}
43    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 \
50        ${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}
56}
57
58platform darwin 8 {
59    depends_build-append    port:bison
60}
61
62# g++-4.2: -E, -S, -save-temps and -M options are not allowed with multiple -arch flags
63universal_variant   no
64
65livecheck.type      regex
66livecheck.url       ${master_sites}
67livecheck.regex     "verilog-(\\d+(?:\\.\\d+)*)${extract.suffix}"
Note: See TracBrowser for help on using the repository browser.