Ipcalc version 0.38 - How to Download and Install on Mac OS X
Sunday the 21st of March, 2010

    version 0.38

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


      The ipcalc Portfile 43062 2008-12-04 01:51:00Z mcalhoun macports.org $

      PortSystem 1.0

      Name: ipcalc
      Version: 0.38
      Category: net
      Platform: darwin
      Maintainers: nomaintainer
      Description: calculates various network masks etc. from given ip-address
      Long Description: ipcalc takes an IP address and netmask and calculates the resulting broadcast, network, Cisco wildcard mask, and host range. By giving a second netmask, you can design sub- and supernetworks. It is also intended to be a teaching tool and presents the results as easy-to-understand binary values.

      Homepage: http://jodies.de/ipcalc/
      Master Sites: http://jodies.de/ipcalc-archive/
      Checksums: md5 9b95b0b6b9425e78b08f648eefeb84e0

      depends_run path:bin/perl:perl5

      configure {
      reinplace "s|/usr/bin/perl -w|${prefix}/bin/perl -w|g" ${worksrcpath}/ipcalc
      }

      build {}

      destroot {
      xinstall -m 755 ${worksrcpath}/ipcalc ${destroot}${prefix}/bin
      xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
      xinstall -m 644 ${worksrcpath}/changelog ${destroot}${prefix}/share/doc/${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/ipcalc
      % sudo port install ipcalc
      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 ipcalc
      ---> Verifying checksum for ipcalc
      ---> Extracting ipcalc
      ---> Configuring ipcalc
      ---> Building ipcalc with target all
      ---> Staging ipcalc into destroot
      ---> Installing ipcalc
    - 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 ipcalc with these commands:
      %  man ipcalc
      % apropos ipcalc
      % which ipcalc
      % locate ipcalc

     Where to find more information:

    Darwin Ports



    Lightbox this page.