Download and Install aquaterm version 1.0.1 on Mac OS X
Thursday the 28th of August, 2008

    aquaterm  most recent diff


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



      # $Id: Portfile 30446 2007-10-28 05:43:42Z takanori macports.org $

      PortSystem 1.0

      Name: aquaterm
      Version: 1.0.1
      Category: aqua math science
      Maintainers: davidm astro.berkeley.edu
      Description: AquaTerm is a viewer that displays vector graphics on Mac OS X
      Long Description: AquaTerm is a viewer app that displays vector graphics. Other apps connect to AquaTerm using a simple remote object messaging protocol. By adding "adapters" to legacy code very little coding is needed to bring it to OS X.
      Platform: darwin
      Homepage: http://aquaterm.sourceforge.net/
      master_sites sourceforge
      distname ${name}_src.${version}
      checksums md5 aquaterm_src.1.0.1.tar.gz e9d3ecdfe770d6f09a748add9886d1a9 sha1 aquaterm_src.1.0.1.tar.gz d5770bb3a95cfae21c5c39c96171a52d9af8ae24 rmd160 aquaterm_src.1.0.1.tar.gz 24410589dd8c3071b6e0d5e652b7d92933d86b5f
      worksrcdir .

      patch {
      # Change default location of AquaTerm.app to avoid requiring the
      # use of AQUATERM_PATH.
      reinplace "s|AquaTerm.app|MacPorts/AquaTerm.app|g" ${workpath}/aquaterm/AQTClientManager.m
      }

      configure {
      reinplace "s|/Users/per/Documents/Source/aquaterm/||" ${workpath}/${name}/AquaTerm.pbproj/project.pbxproj
      reinplace "s|/tmp/AquaTerm.dst||" ${workpath}/${name}/AquaTerm.pbproj/project.pbxproj
      reinplace "s|/usr/local/lib|${prefix}/lib|" ${workpath}/${name}/AquaTerm.pbproj/project.pbxproj
      file mkdir ${workpath}/${name}/build/include
      system "cd ${workpath}/${name} &&
      ln -s ../.. build/include/aquaterm"

      reinplace "s|/usr/local|${prefix}|g" ${workpath}/adapters/pgplot/ChangeLog ${workpath}/adapters/pgplot/g77_gcc_AQT.conf ${workpath}/adapters/pgplot/xlf_gcc_AQT.conf
      reinplace "s|\$(HOME)|${prefix}|g" ${workpath}/adapters/c/Makefile ${workpath}/adapters/fortran/Makefile
      reinplace "s|/*|${prefix}|g" ${workpath}/adapters/pgplot/g77_cc_AQT.conf ${workpath}/adapters/pgplot/g77_gcc_AQT.conf ${workpath}/adapters/pgplot/xlf_gcc_AQT.conf
      reinplace "s|/sw|${prefix}|g" ${workpath}/adapters/pgplot/ReadMe
      }

      set xcodebuilddir build/Deployment
      platform darwin 7 {
      post-extract {
      cd ${workpath}/${name}
      file link -symbolic AquaTermFwk-Info.plist AquaTerm.framework-Info.plist
      }
      set xcodebuilddir build
      }

      platform darwin 8 {
      if {$xcodeversion != "2.1"} {
      set xcodebuilddir build
      }
      }

      build.type pbx
      build.dir ${workpath}/${name}
      build.target -buildstyle Deployment -target AquaTerm
      post-build {
      system "install_name_tool -id ${prefix}/lib/libaquaterm.1.dylib ${workpath}/${name}/${xcodebuilddir}/AquaTerm.framework/Versions/Current/AquaTerm"
      system "install_name_tool -change /Library/Frameworks/AquaTerm.framework/Versions/A/AquaTerm ${prefix}/lib/libaquaterm.1.dylib ${workpath}/${name}/${xcodebuilddir}/AquaTerm.app/Contents/MacOS/AquaTerm"
      }

      destroot {
      xinstall -d -m 0755 ${destroot}/Applications/MacPorts
      xinstall -d -m 0755 ${destroot}/Library/Frameworks
      xinstall -d -m 0755 ${destroot}${prefix}/include/${name}
      xinstall -d -m 0755 ${destroot}${prefix}/share/${name}

      xinstall -m 0644 -W ${workpath}/${name} AQTAdapter.h aquaterm.h ${destroot}${prefix}/include/${name}

      system "cd ${workpath}/${name}/${xcodebuilddir} &&
      ln AquaTerm.framework/Versions/Current/AquaTerm libaquaterm.${version}.dylib &&
      ln -s libaquaterm.${version}.dylib ${destroot}${prefix}/lib/libaquaterm.dylib &&
      ln -s libaquaterm.${version}.dylib ${destroot}${prefix}/lib/libaquaterm.1.dylib"

      xinstall -m 0755 ${workpath}/${name}/${xcodebuilddir}/libaquaterm.${version}.dylib ${destroot}${prefix}/lib
      copy ${workpath}/${name}/${xcodebuilddir}/AquaTerm.app ${destroot}/Applications/MacPorts
      copy ${workpath}/${name}/${xcodebuilddir}/AquaTerm.framework ${destroot}/Library/Frameworks


      foreach f {c fortran gnuplot pgplot plplot} {
      copy ${workpath}/adapters/$f ${destroot}${prefix}/share/${name}
      }
      }


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

     Where to find more information:

    Darwin Ports



    image test