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.91 |
---|
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 1136290bd8e44569c750a04c275533b86f5da709 \ |
---|
43 | sha256 e9b6530b6b8945c210e790656b0cc16907889fa6758d38e200dbbbdfbe330eb1 \ |
---|
44 | patch-netgen-1.5.91.diff \ |
---|
45 | rmd160 c7fac23e33f8cb9b0a3b75558dfa6405cbec3c21 \ |
---|
46 | sha256 918bd4afc5175a34e74dcd371c7ce27138d597834d1b6c6d1f64a136372cc138 |
---|
47 | |
---|
48 | depends_lib port:tcl \ |
---|
49 | port:tk |
---|
50 | |
---|
51 | require_active_variants tk x11 |
---|
52 | |
---|
53 | |
---|
54 | universal_variant no |
---|
55 | |
---|
56 | conflicts_build gnome-keyring |
---|
57 | |
---|
58 | use_autoreconf yes |
---|
59 | autoreconf.dir ${worksrcpath}/scripts |
---|
60 | |
---|
61 | patch_sites http://users.soe.ucsc.edu/~mrg/ |
---|
62 | patchfiles patch-netgen-${version}.diff |
---|
63 | patch.pre_args -p1 |
---|
64 | |
---|
65 | use_parallel_build no |
---|
66 | |
---|
67 | configure.args --with-tk=${prefix} --with-tcl=${prefix} |
---|
68 | |
---|
69 | build.env X11_LDFLAGS=-L${prefix}/lib |
---|
70 | |
---|
71 | post-build { |
---|
72 | # The build and install don't notice when essential files don't get built, |
---|
73 | # so we must exit for it when it fails. #32934 |
---|
74 | foreach f {netgen/tclnetgen.dylib} { |
---|
75 | if {![file exists ${worksrcpath}/${f}]} { |
---|
76 | return -code error "${f} did not get built" |
---|
77 | } |
---|
78 | } |
---|
79 | } |
---|
80 | |
---|
81 | livecheck.type regex |
---|
82 | livecheck.url [lindex ${master_sites} 0] |
---|
83 | livecheck.regex netgen-lvs-(${branch}\\.\[0-9.\]+)${extract.suffix} |
---|