source: trunk/dports/science/magic/Portfile

Last change on this file was 153763, checked in by ryandesign@…, 13 months ago

magic: Update to 8.0.213

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.1 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 153763 2016-10-10 12:08:43Z 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
11conflicts           magic-devel
12version             8.0.213
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
31extract.suffix      .tgz
32
33depends_lib         port:blt \
34                    port:libglu \
35                    port:mesa \
36                    port:tcl \
37                    port:tk
38
39require_active_variants tk x11
40
41checksums           rmd160  002755e73a7b22ea04c0ff3e27b19615a3dac5e9 \
42                    sha256  4ad7c3c0766126c35ff03609f26de1894703fc103d43a975b949d7e360882cc9
43
44universal_variant   no
45
46conflicts_build     gnome-keyring
47
48use_autoreconf      yes
49autoreconf.dir      ${worksrcpath}/scripts
50
51use_parallel_build  no
52
53build.env           X11_LDFLAGS=-L${prefix}/lib
54
55post-build {
56    # The build and install don't notice when essential files don't get built,
57    # so we must exit for it when it fails. #32934
58    foreach f {magic/tclmagic.dylib} {
59        if {![file exists ${worksrcpath}/${f}]} {
60            return -code error "${f} did not get built"
61        }
62    }
63}
64
65livecheck.type      regex
66livecheck.url       [lindex ${master_sites} 0]
67livecheck.regex     magic-(${branch}\\.\[0-9.\]+)${extract.suffix}
Note: See TracBrowser for help on using the repository browser.