# -*- 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 version 3.8.78 revision 1 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 ebbc7ec05bbf7cc21d20905459f6f9de4fb075c9 \ sha256 2946fb10b793b24c9c5aab521a8d3a8ee17fe8284a1603a32fb9905582bb3c66 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}