Ticket #55721: Portfile.2

File Portfile.2, 2.9 KB (added by mguthaus (Matt Guthaus), 7 years ago)

updated 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
3PortSystem          1.0
4PortGroup           active_variants 1.1
5PortGroup           conflicts_build 1.0
6
7# Please keep the magic and magic-devel ports as similar as possible.
8
9name                netgen-lvs
10version             1.5.93
11set branch          [join [lrange [split ${version} .] 0 1] .]
12categories          science
13# mostly very permissively licensed, but includes a copy of GNU readline
14license             GPL-2+
15maintainers         ucsc.edu:mrg
16description         Netgen netlist comparison (LVS) and netlist manipulation
17
18long_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
31platforms           darwin
32
33homepage            http://opencircuitdesign.com/netgen
34master_sites        ${homepage}archive/
35
36
37dist_subdir         netgen-lvs
38distname            netgen-${version}
39extract.suffix      .tgz
40
41checksums           ${distname}${extract.suffix} \
42                    rmd160  4b28ad50674797b421c781a448f58aba3ab1aaf4 \
43                    sha256  a2265158089b29b75e3a9e805621f856af46af846d01082f952095f6b510145b \
44
45depends_lib         port:tcl \
46                    port:tk
47
48require_active_variants tk x11
49
50
51universal_variant   no
52
53conflicts_build     gnome-keyring
54
55use_autoreconf      yes
56autoreconf.dir      ${worksrcpath}/scripts
57
58use_parallel_build  no
59
60configure.args       --with-tk=${prefix} --with-tcl=${prefix}
61
62build.env           X11_LDFLAGS=-L${prefix}/lib
63
64post-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
74livecheck.type      regex
75livecheck.url       [lindex ${master_sites} 0]
76livecheck.regex     netgen-lvs-(${branch}\\.\[0-9.\]+)${extract.suffix}