Download and Install duckytool version 0.9.6 on Mac OS X
Thursday the 3rd of July, 2008

    duckytool  most recent diff


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



      # $Id: Portfile 32738 2008-01-12 22:09:50Z ecronin macports.org $

      PortSystem 1.0
      PortGroup python24 1.0

      Name: duckytool
      Version: 0.9.6
      Category: www net python
      Platform: darwin
      Maintainers: ecronin
      Description: ducky is ... well, the web's command line.
      Long Description: ducky marries a bunch of web service APIs into one tool, conventiently callable from the command line. search the web without using a browser.
      Homepage: http://monkey.org/~jose/wiki/doku.php?id=wiki:duckytool

      distname ducky-${version}
      master_sites http://monkey.org/~jose/software/ducky/
      checksums md5 e0d0675ef1bf822e96e38d8fa1eaf98c sha1 269c828ae75b0ea532b2dfbf4fbbcd0198316660

      livecheck.check regex
      livecheck.url ${homepage}
      livecheck.regex ducky-(\[0-9\\\.\]+)\\\.tar\\\.gz

      post-patch {
      reinplace "s|ln -s ducky.py |ln -s ducky.py ${destroot}${prefix}/bin/|" ${worksrcpath}/Makefile
      reinplace "s|/usr/bin/env python|${python.bin}|" ${worksrcpath}/ducky.py
      reinplace "s|packages=\\\[ 'DuckyLib'|packages=\\\[ 'DuckyLib', 'DuckyLib.yahoo', 'DuckyLib.yahoo.search'|" ${worksrcpath}/setup.py
      }

      post-destroot {
      xinstall -d -m 0755 ${destroot}${prefix}/share/doc/${name}
      xinstall -m 0644 ${worksrcpath}/README ${destroot}${prefix}/share/doc/${name}/README
      xinstall -m 0755 ${worksrcpath}/ducky.py ${destroot}${prefix}/bin/
      if [variant_isset links] {
      system "cd '${worksrcpath}' && make links"
      }
      }

      post-activate {
      ui_msg " ====================================================="
      ui_msg " For full functionality, make sure you install web"
      ui_msg " service API keys in your home directory. See"
      ui_msg " ${prefix}/share/doc/${name}/README"
      ui_msg " for instructions."
      ui_msg " ====================================================="
      }

      # this variant creates symlinks like 'g', 'fl'...
      Variant: links description {Create symlinks for each command (e.g. 'g' instead of 'ducky.pl g'} {
      # placeholder, see destroot
      }

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

     Where to find more information:

    Darwin Ports



    image test