Wakeonlan version 0.41 - How to Download and Install on Mac OS X
Tuesday the 9th of February, 2010

    wakeonlan  most recent diff


    version 0.41

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


      The wakeonlan Portfile 57375 2009-09-10 08:16:41Z ryandesign macports.org $

      PortSystem 1.0

      Name: wakeonlan
      Version: 0.41
      Category: net
      Maintainers: mww
      Platform: darwin freebsd
      Description: wakeonlan sends magic packets for network-devices to wake up
      Long Description: Wakeonlan is a Perl script that sends 'magic packets' to wake-on-LAN enabled ethernet adapters and motherboards, in order to switch on remote computers.

      Homepage: http://gsd.di.uminho.pt/jpo/software/wakeonlan/
      Master Sites: ${homepage}downloads/
      Checksums: md5 d3143c5fe92d16196ac853b55dd421b5

      depends_lib path:bin/perl:perl5

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

      configure {
      system "cd ${worksrcpath} && perl Makefile.PL"
      }

      destroot {
      xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
      xinstall -m 644 ${worksrcpath}/blib/man1/wakeonlan.1pm ${destroot}${prefix}/share/man/man1/
      xinstall -m 755 ${worksrcpath}/blib/script/wakeonlan ${destroot}${prefix}/bin/
      xinstall -m 644 -W ${worksrcpath} Changes MANIFEST README examples/lab001.wol ${destroot}${prefix}/share/doc/${name}
      }

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


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

     Where to find more information:

    Darwin Ports



    Lightbox this page.