Qucs version 0.0.15 - How to Download and Install on Mac OS X
Friday the 20th of November, 2009

    version 0.0.15

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


      # -*- 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
      The qucs Portfile 52091 2009-06-09 22:04:06Z rowue macports.org $

      PortSystem 1.0

      Name: qucs
      Version: 0.0.15
      Category: science electronics
      Maintainers: rowue
      Platform: darwin
      Description: an integrated circuit simulator
      Long Description: Qucs is an integrated circuit simulator. You can setup an circut with graphical user interface. It's based on QT
      Homepage: http://qucs.sourceforge.net/
      Master Sites: sourceforge
      Checksums: md5 5a35eee790c92eba97de181b12794823 sha1 fa0d19cbb49991d03e25726251bd153f3005732a rmd160 ced0243add1600bf6645963248051c7aef7903de

      depends_lib port:qt3-mac port:freehdl port:libtool port:iverilog port:asco
      use_parallel_build yes
      Patch Files: patch-configure.diff patch-qucs_qucsdigi.diff patch-qucs_qucsveri.diff patch-qucs-main.cpp.diff patch-qucs-main.h.diff patch-qucs-qucs_actions.cpp.diff patch-Makefile.in.diff

      post-patch {
      reinplace "s| APPDIR |${applications_dir}|g" ${worksrcpath}/qucs/main.cpp
      reinplace "s| PREFIX |${prefix}|g" ${worksrcpath}/qucs/qucsdigi
      reinplace "s| PREFIX |${prefix}|g" ${worksrcpath}/qucs/qucsveri
      }

      post-destroot {
      foreach Program {qucs qucsedit qucsfilter qucshelp qucslib qucstrans qucsattenuator} {
      xinstall -m 755 -d ${destroot}${applications_dir}/${Program}.app/Contents/MacOS
      move ${destroot}${prefix}/bin/${Program} ${destroot}${applications_dir}/${Program}.app/Contents/MacOS/
      xinstall -m 755 -d ${destroot}${applications_dir}/${Program}.app/Contents/Resources
      xinstall -m 0644 ${filespath}/${Program}.icns ${destroot}${applications_dir}/${Program}.app/Contents/Resources
      xinstall -m 0644 ${filespath}/Info.plist ${destroot}${applications_dir}/${Program}.app/Contents/
      reinplace "s| VERSION |${version}|" ${destroot}${applications_dir}/${Program}.app/Contents/Info.plist
      reinplace "s| EXECUTABLE |${Program}|" ${destroot}${applications_dir}/${Program}.app/Contents/Info.plist
      system "echo 'APPL????' > ${destroot}${applications_dir}/${Program}.app/Contents/PkgInfo"
      }
      }


    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/qucs
      % sudo port install qucs
      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 qucs
      ---> Verifying checksum for qucs
      ---> Extracting qucs
      ---> Configuring qucs
      ---> Building qucs with target all
      ---> Staging qucs into destroot
      ---> Installing qucs
    - 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 qucs with these commands:
      %  man qucs
      % apropos qucs
      % which qucs
      % locate qucs

     Where to find more information:

    Darwin Ports



    Lightbox this page.