Lastmp version 0.35 - How to Download and Install on Mac OS X
Saturday the 7th of November, 2009

    version 0.35

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


      The lastmp Portfile 51955 2009-06-07 10:04:10Z arthurk macports.org $

      PortSystem 1.0
      PortGroup python25 1.0

      Name: lastmp
      Version: 0.35
      Description: LastFM Music Submitter for MPD
      Category: audio
      Maintainers: sfiera
      Long Description: lastmp is a plugin for lastfmsubmitd. It submits tracks played from MPD to lastfmsubmitd, which will in turn submit them to last.fm

      distname lastfmsubmitd-${version}
      Homepage: http://www.red-bean.com/~decklin/software/lastfmsubmitd/
      Platform: darwin
      Master Sites: ${homepage}
      use_bzip2 yes
      Checksums: md5 0da502e0ecbbaef373c9849e33187367 sha1 98fb020a54f8e49b16090fb1af07912a12351d8f rmd160 c6a06aa3931b823ee8de2e863812b1a8542ffa47

      depends_lib-append port:py25-mpdclient2 port:lastfmsubmitd

      set conf lastmp.conf.sample
      set user lastfm

      post-extract {
      file copy ${filespath}/${conf} ${worksrcpath}
      }

      Patch Files: patch-setup.py.diff patch-lastmp.1.diff
      post-patch {
      reinplace "s| PREFIX |${prefix}|" doc/lastmp.1
      reinplace "s| PREFIX |${prefix}|" ${conf}
      }

      post-destroot {
      xinstall -m 600 -o ${user} -g ${user} ${worksrcpath}/${conf} ${destroot}${prefix}/etc/${conf}
      }

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

     Where to find more information:

    Darwin Ports



    Lightbox this page.