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 | |
---|
3 | PortSystem 1.0 |
---|
4 | PortGroup active_variants 1.1 |
---|
5 | PortGroup conflicts_build 1.0 |
---|
6 | |
---|
7 | # Please keep the magic and magic-devel ports as similar as possible. |
---|
8 | |
---|
9 | name netgen-lvs |
---|
10 | version 1.5.93 |
---|
11 | set branch [join [lrange [split ${version} .] 0 1] .] |
---|
12 | categories science |
---|
13 | # mostly very permissively licensed, but includes a copy of GNU readline |
---|
14 | license GPL-2+ |
---|
15 | maintainers ucsc.edu:mrg |
---|
16 | description Netgen netlist comparison (LVS) and netlist manipulation |
---|
17 | |
---|
18 | long_description Netgen is a tool for comparing netlists, a process known as LVS, \ |
---|
19 | which stands for Layout vs. Schematic. This is an important step \ |
---|
20 | in the integrated circuit design flow, ensuring that the geometry \ |
---|
21 | that has been laid out matches the expected circuit. Very small \ |
---|
22 | circuits can bypass this step by confirming circuit operation \ |
---|
23 | through extraction and simulation. Very large digital circuits are \ |
---|
24 | usually generated by tools from high-level descriptions, using \ |
---|
25 | compilers that ensure the correct layout geometry. The greatest \ |
---|
26 | need for LVS is in large analog or mixed-signal circuits that \ |
---|
27 | cannot be simulated in reasonable time. Even for small circuits, \ |
---|
28 | LVS can be done much faster than simulation, and provides feedback \ |
---|
29 | that makes it easier to find an error than does a simulation. |
---|
30 | |
---|
31 | platforms darwin |
---|
32 | |
---|
33 | homepage http://opencircuitdesign.com/netgen |
---|
34 | master_sites ${homepage}archive/ |
---|
35 | |
---|
36 | |
---|
37 | dist_subdir netgen-lvs |
---|
38 | distname netgen-${version} |
---|
39 | extract.suffix .tgz |
---|
40 | |
---|
41 | checksums ${distname}${extract.suffix} \ |
---|
42 | rmd160 4b28ad50674797b421c781a448f58aba3ab1aaf4 \ |
---|
43 | sha256 a2265158089b29b75e3a9e805621f856af46af846d01082f952095f6b510145b \ |
---|
44 | |
---|
45 | depends_lib port:tcl \ |
---|
46 | port:tk |
---|
47 | |
---|
48 | require_active_variants tk x11 |
---|
49 | |
---|
50 | |
---|
51 | universal_variant no |
---|
52 | |
---|
53 | conflicts_build gnome-keyring |
---|
54 | |
---|
55 | use_autoreconf yes |
---|
56 | autoreconf.dir ${worksrcpath}/scripts |
---|
57 | |
---|
58 | use_parallel_build no |
---|
59 | |
---|
60 | configure.args --with-tk=${prefix} --with-tcl=${prefix} |
---|
61 | |
---|
62 | build.env X11_LDFLAGS=-L${prefix}/lib |
---|
63 | |
---|
64 | post-build { |
---|
65 | # The build and install don't notice when essential files don't get built, |
---|
66 | # so we must exit for it when it fails. #32934 |
---|
67 | foreach f {netgen/tclnetgen.dylib} { |
---|
68 | if {![file exists ${worksrcpath}/${f}]} { |
---|
69 | return -code error "${f} did not get built" |
---|
70 | } |
---|
71 | } |
---|
72 | } |
---|
73 | |
---|
74 | livecheck.type regex |
---|
75 | livecheck.url [lindex ${master_sites} 0] |
---|
76 | livecheck.regex netgen-lvs-(${branch}\\.\[0-9.\]+)${extract.suffix} |
---|