source: trunk/dports/science/iverilog/Portfile

Last change on this file was 135995, checked in by ryandesign@…, 2 years ago

iverilog: update to 0.9.7 (#47686)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.2 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 135995 2015-05-09 07:35:22Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                iverilog
7version             0.9.7
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  3bac03ca703465a43c5a0a8175a3d27ee00f49a7 \
30                    sha256  7a5e72e17bfb4c3a59264d8f3cc4e70a7c49c1307173348fdd44e079388e7454
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    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 \
49        ${docdir}
50}
51
52platform darwin 8 {
53    depends_build-append    port:bison
54}
55
56# g++-4.2: -E, -S, -save-temps and -M options are not allowed with multiple -arch flags
57universal_variant   no
58
59livecheck.type      regex
60livecheck.url       ${master_sites}
61livecheck.regex     "verilog-(\\d+(?:\\.\\d+)*)${extract.suffix}"
Note: See TracBrowser for help on using the repository browser.