source: trunk/dports/science/magic-devel/Portfile

Last change on this file was 154333, checked in by ryandesign@…, 11 months ago

magic-devel: Update to 8.1.111

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.2 KB
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 154333 2016-10-28 00:09:10Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           active_variants 1.1
6PortGroup           conflicts_build 1.0
7
8# Please keep the magic and magic-devel ports as similar as possible.
9
10name                magic-devel
11conflicts           magic
12version             8.1.111
13set branch          [join [lrange [split ${version} .] 0 1] .]
14categories          science
15# mostly very permissively licensed, but includes a copy of GNU readline
16license             GPL-2+
17maintainers         ryandesign openmaintainer
18description         A VLSI Layout System
19
20long_description    Magic is a venerable VLSI layout tool, written in the \
21                    1980's at Berkeley. Magic is widely cited as being the \
22                    easiest tool to use for circuit layout, even for people \
23                    who ultimately rely on commercial tools for their product \
24                    design flow.
25
26platforms           darwin
27
28homepage            http://opencircuitdesign.com/magic/
29master_sites        ${homepage}archive/
30
31dist_subdir         magic
32distname            magic-${version}
33extract.suffix      .tgz
34
35depends_lib         port:blt \
36                    port:libglu \
37                    port:mesa \
38                    port:tcl \
39                    port:tk
40
41require_active_variants tk x11
42
43checksums           rmd160  c998bc2a633939dd5f39553f01590dcdb061ceb5 \
44                    sha256  3905b6d42d17e97939bce6d7033d7804dee129465e990591448ad2535b1b1df6
45
46universal_variant   no
47
48conflicts_build     gnome-keyring
49
50use_autoreconf      yes
51autoreconf.dir      ${worksrcpath}/scripts
52
53use_parallel_build  no
54
55build.env           X11_LDFLAGS=-L${prefix}/lib
56
57post-build {
58    # The build and install don't notice when essential files don't get built,
59    # so we must exit for it when it fails. #32934
60    foreach f {magic/tclmagic.dylib} {
61        if {![file exists ${worksrcpath}/${f}]} {
62            return -code error "${f} did not get built"
63        }
64    }
65}
66
67livecheck.type      regex
68livecheck.url       [lindex ${master_sites} 0]
69livecheck.regex     magic-(${branch}\\.\[0-9.\]+)${extract.suffix}
Note: See TracBrowser for help on using the repository browser.