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

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

iverilog: license

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.4 KB
RevLine 
[53378]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
[20456]2# $Id: Portfile 96242 2012-08-06 02:48:22Z jmr@macports.org $
[5448]3
[88223]4PortSystem          1.0
5
6name                iverilog
[88222]7version             0.9.5
[88223]8set branch          [join [lrange [split ${version} .] 0 1] .]
9categories          science
[96242]10license             GPL-2+
[88223]11platforms           darwin
12maintainers         nomaintainer
[9993]13
[88223]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
[88222]25homepage            http://iverilog.icarus.com/
[88223]26master_sites        ftp://ftp.icarus.com/pub/eda/verilog/v${branch}/
27distname            verilog-${version}
[9993]28
[88222]29checksums           rmd160  5f7e60a92d1e1327e1c8fbd0c9a9045b5397ba39 \
30                    sha256  c522b8b873f0cf77003db15c3df0f4a15b738ce4b060d1ca387c88e1b2be185d
[73506]31
[88223]32depends_lib         port:bzip2 \
33                    port:readline \
34                    port:zlib
[73506]35
[88223]36test.run            yes
37test.target         check
[53378]38
[88223]39destroot.destdir    prefix=${destroot}${prefix}
[79835]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
[88223]58platform darwin 8 {
59    depends_build-append    port:bison
60}
61
[73506]62# g++-4.2: -E, -S, -save-temps and -M options are not allowed with multiple -arch flags
[88223]63universal_variant   no
[53378]64
[88223]65livecheck.type      regex
66livecheck.url       ${master_sites}
67livecheck.regex     "verilog-(\\d+(?:\\.\\d+)*)${extract.suffix}"
Note: See TracBrowser for help on using the repository browser.