# -*- 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 # $Id$ PortSystem 1.0 PortGroup active_variants 1.1 name xcircuit conflicts xcircuit-devel # 3.8.81 changed the way Tcl/Tk is found; it builds but will not run. # It needs further research before upgrading. version 3.8.80 set branch [join [lrange [split ${version} .] 0 1] .] categories x11 cad platforms darwin maintainers khindenburg openmaintainer # asg subdir licensed for noncommercial use only, linked to GPL code, conflicts. license GPL-2+ Noncommercial Restrictive description circuit-drawing program long_description XCircuit is a program for drawing publishable-quality \ electrical circuit schematic diagrams and related figures, \ and produce circuit netlists through schematic capture. \ XCircuit regards circuits as inherently hierarchical, and \ writes both hierarchical PostScript output and \ hierarchical SPICE netlists. Circuit components are saved \ in and retrieved from libraries which are fully editable. \ XCircuit does not separate artistic expression from \ circuit drawing\; it maintains flexiblity in style without \ compromising the power of schematic capture. homepage http://opencircuitdesign.com/xcircuit/ master_sites ${homepage}archive/ extract.suffix .tgz checksums rmd160 f0f712581946d58430821523ad9ee4579a310b9a \ sha256 0a715242dc7150d3dc7edcdd4decef8273c677fe725e751fdb25d35d4d8bbc86 depends_build-append port:m4 depends_lib-append port:ghostscript \ port:tk \ port:xpm # Currently, xcircuit crashes upon start if tk is build without +x11 require_active_variants tk x11 quartz configure.args --with-tcl=${prefix}/lib \ --with-tk=${prefix}/lib \ --with-gs=${prefix}/bin/gs \ --x-includes=${prefix}/include \ --x-libraries=${prefix}/lib post-destroot { xinstall -m 755 -d ${destroot}${prefix}/share/${name} file copy ${worksrcpath}/examples \ ${destroot}${prefix}/share/${name}/examples } livecheck.type regex livecheck.url [lindex ${master_sites} 0] livecheck.regex xcircuit-(${branch}\\.\[0-9.\]+)${extract.suffix}