source: trunk/dports/x11/xcircuit/Portfile

Last change on this file was 152328, checked in by khindenburg@…, 13 months ago

xcircuit: add comment about .81 release

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.5 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 152328 2016-09-03 22:46:51Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           active_variants 1.1
6
7name                xcircuit
8conflicts           xcircuit-devel
9# 3.8.81 changed the way Tcl/Tk is found; it builds but will not run.
10# It needs further research before upgrading.
11version             3.8.80
12set branch          [join [lrange [split ${version} .] 0 1] .]
13categories          x11 cad
14platforms           darwin
15maintainers         khindenburg openmaintainer
16# asg subdir licensed for noncommercial use only, linked to GPL code, conflicts.
17license             GPL-2+ Noncommercial Restrictive
18
19description         circuit-drawing program
20
21long_description    XCircuit is a program for drawing publishable-quality \
22                    electrical circuit schematic diagrams and related figures, \
23                    and produce circuit netlists through schematic capture. \
24                    XCircuit regards circuits as inherently hierarchical, and \
25                    writes both hierarchical PostScript output and \
26                    hierarchical SPICE netlists. Circuit components are saved \
27                    in and retrieved from libraries which are fully editable. \
28                    XCircuit does not separate artistic expression from \
29                    circuit drawing\; it maintains flexiblity in style without \
30                    compromising the power of schematic capture.
31
32homepage            http://opencircuitdesign.com/xcircuit/
33master_sites        ${homepage}archive/
34extract.suffix      .tgz
35
36checksums           rmd160  f0f712581946d58430821523ad9ee4579a310b9a \
37                    sha256  0a715242dc7150d3dc7edcdd4decef8273c677fe725e751fdb25d35d4d8bbc86
38
39depends_build-append    port:m4
40depends_lib-append  port:ghostscript \
41                    port:tk \
42                    port:xpm
43
44# Currently, xcircuit crashes upon start if tk is build without +x11
45require_active_variants tk x11 quartz
46
47configure.args      --with-tcl=${prefix}/lib \
48                    --with-tk=${prefix}/lib \
49                    --with-gs=${prefix}/bin/gs \
50                    --x-includes=${prefix}/include \
51                    --x-libraries=${prefix}/lib
52post-destroot {
53    xinstall -m 755 -d ${destroot}${prefix}/share/${name}
54    file copy ${worksrcpath}/examples \
55        ${destroot}${prefix}/share/${name}/examples
56}
57
58livecheck.type      regex
59livecheck.url       [lindex ${master_sites} 0]
60livecheck.regex     xcircuit-(${branch}\\.\[0-9.\]+)${extract.suffix}
Note: See TracBrowser for help on using the repository browser.