Ticket #52821: Portfile

File Portfile, 2.2 KB (added by padf, 8 years ago)

Portfile

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             10.1.1
8categories          science
9license             GPL-2+
10platforms           darwin
11maintainers         paf@keeh.net
12
13description         Icarus Verilog
14
15long_description    Icarus Verilog is a Verilog simulation and synthesis tool. \
16                    It operates as a compiler, compiling source code writen in \
17                    Verilog (IEEE-1364) into some target format. For batch \
18                    simulation, the compiler can generate C++ code that is \
19                    compiled and linked with a run time library (called \
20                    \"vvm\") then executed as a command to run the simulation. \
21                    For synthesis, the compiler generates netlists in the \
22                    desired format.
23
24homepage            http://iverilog.icarus.com/
25master_sites        ftp://ftp.icarus.com/pub/eda/verilog/v10/
26distname            verilog-${version}
27
28checksums           rmd160  77c933b712ab027b13a81e3eead7ee4f565741b7 \
29                    sha256  fdaa75dfe7c58cbc471fc12710ee49b3f32fd6cc055d9181b5190cbcbbd6cada
30
31depends_lib         port:bzip2 \
32                    port:readline \
33                    port:zlib
34
35test.run            yes
36test.target         check
37
38destroot.destdir    prefix=${destroot}${prefix}
39
40post-destroot {
41    set docdir ${destroot}${prefix}/share/doc/${name}
42    xinstall -d ${docdir}
43    copy ${worksrcpath}/examples ${docdir}
44    xinstall -m 644 {*}[glob ${worksrcpath}/*.txt] ${docdir}
45    xinstall -d ${docdir}/vvp
46    xinstall -m 644 {*}[glob ${worksrcpath}/vvp/*.txt] ${docdir}/vvp
47    xinstall -m 644 -W ${worksrcpath} cadpli/cadpli.txt ivlpp/ivlpp.txt \
48        ${docdir}
49}
50
51platform darwin 8 {
52    depends_build-append    port:bison
53}
54
55# g++-4.2: -E, -S, -save-temps and -M options are not allowed with multiple -arch flags
56universal_variant   no
57
58livecheck.type      regex
59livecheck.url       ${master_sites}
60livecheck.regex     "verilog-(\\d+(?:\\.\\d+)*)${extract.suffix}"