Electric version 7.00 - How to Download and Install on Mac OS X
Saturday the 7th of November, 2009

    electric  most recent diff


    version 7.00

      View the most recent changes for the electric port at: electric.darwinports.com/diff
      Scroll down toward the bottom of the page to get installation instructions for electric.
      The raw portfile for electric 7.00 is located here:
      http://electric.darwinports.com/dports/graphics/electric/Portfile
      Find related portfiles with the unique DarwinPorts.com search feature.
      Check for any related Fink projects here: pdb.finkproject.org/pdb/package.php/electric


      The electric Portfile 38911 2008-08-02 10:43:45Z ryandesign macports.org $

      PortSystem 1.0
      Name: electric
      Version: 7.00
      Category: graphics electronics science
      Maintainers: nomaintainer
      Description: CAD system for VLSI circuit design
      Long Description: Electric designs MOS and bipolar integrated circuits, printed-circuit boards, or any type of circuit you choose. It has many editing styles including layout, schematics, artwork, and architectural specifications.

      Platform: darwin

      Homepage: http://www.staticfreesoft.com/
      Master Sites: gnu

      Checksums: md5 64c89f820467b418d24ddf6c7e206c08

      Patch Files: patch-Makefile.in_paths patch-src_include_config.h_paths patch-src_include_global.h patch-src_db_dbtext.c

      post-patch {
      reinplace "s| PREFIX |${prefix}|g" ${worksrcpath}/src/include/config.h
      }

      destroot.target install install.html

      # Need to select some HI variant, so we'll try and be clever here
      if {[variant_isset darwin]} {
      default_variants +qt3-mac
      } else {
      default_variants +qt3-x11
      }

      Variant: motif {
      depends_lib-append lib:libXm.4:openmotif
      patchfiles-append patch-Makefile.in_motif patch-src_include_config.h_macx11
      }

      Variant: qt3_mac conflicts qt3_x11 {
      depends_lib-append lib:libqt-mt:qt3-mac
      patchfiles-append patch-Makefile.in_qt3_mac patch-src_graph_graphqt.cpp_macqt
      build.args-append QTDIR=${prefix}
      destroot {
      set dpApps ${destroot}/Applications/MacPorts
      xinstall -m 755 -d ${dpApps}
      file copy ${worksrcpath}/electric.app ${dpApps}
      file copy ${worksrcpath}/lib ${dpApps}/electric.app/Contents
      }
      }

      Variant: qt3_x11 conflicts qt3_mac {
      depends_lib-append lib:libqt-mt:qt3
      patchfiles-append patch-Makefile.in_qt3_x11 patch-src_include_config.h_macx11 patch-src_graph_graphqt.cpp_macx11
      build.args-append QTDIR=${prefix}
      destroot.args-append QTDIR=${prefix}
      }

      platform darwin {
      patchfiles-append patch-src_graph_graphunixx11.c
      }


    If you haven't already installed Darwin Ports, you can find easy instructions for doing so at the main Darwin Ports page.

    Once Darwin Ports has been installed, in a terminal window and while online, type the following and hit return:


      %  cd /opt/local/bin/portslocation/dports/electric
      % sudo port install electric
      Password:
    You will then be prompted for your root password, which you should enter. You may have to wait for a few minutes while the software is retrieved from the network and installed for you. Y ou should see something that looks similar to:

      ---> Fetching electric
      ---> Verifying checksum for electric
      ---> Extracting electric
      ---> Configuring electric
      ---> Building electric with target all
      ---> Staging electric into destroot
      ---> Installing electric
    - Make sure that you do not close the terminal window while Darwin Ports is working. Once the software has been installed, you can find further information about using electric with these commands:
      %  man electric
      % apropos electric
      % which electric
      % locate electric

     Where to find more information:

    Darwin Ports



    Lightbox this page.